[PATCH] D16185: [Support/ELF] - Added DT_TLSDESC_PLT and DT_TLSDESC_GOT constants.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 05:34:04 PST 2016


grimar created this revision.
grimar added a reviewer: rafael.
grimar added subscribers: llvm-commits, grimar.
Herald added a subscriber: aemerson.

Added 2 constants:

DT_TLSDESC_PLT  = 0x6FFFFEF6, // Location of PLT entry for TLS descriptor resolver calls.
DT_TLSDESC_GOT  = 0x6FFFFEF7, // Location of GOT entry used by TLS descriptor resolver PLT entry.

Constants were taken from "Thread-Local Storage Descriptors for IA32 and AMD64/EM64T Version 0.9.5" http://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-x86.txt
I need it for aarch64.

Not sure who is appropriate reviewer for it ?

http://reviews.llvm.org/D16185

Files:
  ELF.h

Index: ELF.h
===================================================================
--- ELF.h
+++ ELF.h
@@ -1116,6 +1116,8 @@
   DT_HIPROC       = 0x7FFFFFFF, // End of processor specific tags.
 
   DT_GNU_HASH     = 0x6FFFFEF5, // Reference to the GNU hash table.
+  DT_TLSDESC_PLT  = 0x6FFFFEF6, // Location of PLT entry for TLS descriptor resolver calls.
+  DT_TLSDESC_GOT  = 0x6FFFFEF7, // Location of GOT entry used by TLS descriptor resolver PLT entry.
   DT_RELACOUNT    = 0x6FFFFFF9, // ELF32_Rela count.
   DT_RELCOUNT     = 0x6FFFFFFA, // ELF32_Rel count.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16185.44865.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160114/2b3c5c36/attachment.bin>


More information about the llvm-commits mailing list