This is an archive of the discontinued LLVM Phabricator instance.

[Support/ELF] - Added DT_TLSDESC_PLT and DT_TLSDESC_GOT constants.
ClosedPublic

Authored by grimar on Jan 14 2016, 5:34 AM.

Details

Summary

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 ?

Diff Detail

Repository
rL LLVM

Event Timeline

grimar updated this revision to Diff 44865.Jan 14 2016, 5:34 AM
grimar retitled this revision from to [Support/ELF] - Added DT_TLSDESC_PLT and DT_TLSDESC_GOT constants..
grimar updated this object.
grimar added a reviewer: rafael.
grimar added subscribers: llvm-commits, grimar.
davide accepted this revision.Jan 15 2016, 10:02 AM
davide added a reviewer: davide.
davide added a subscriber: davide.

This one is a no-brainer. LGTM.

This revision is now accepted and ready to land.Jan 15 2016, 10:02 AM
This revision was automatically updated to reflect the committed changes.