This patch implements the initial lld support for TLSDESC relocation
types. They have lazy relocation nature, so require entries in got.plt.
Each one is double sized. Also special Plt entry with resolver is created in
addition to single got entry. A module that uses lazy TLSDESC relocations
must define next two entries in dynamic section:
- DT_TLSDESC_PLT - Location of PLT entry for TLS descriptor resolver calls.
- DT_TLSDESC_GOT - Location of GOT entry used by TLS descriptor resolver PLT entry.
More information can be found in "Thread-Local Storage Descriptors for IA32 and
AMD64/EM64T" and "Thread-Local Storage Descriptors for the ARM platform"