summaryrefslogtreecommitdiff
path: root/elfcpp/i386.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-02 03:31:41 +0000
committerIan Lance Taylor <iant@google.com>2007-11-02 03:31:41 +0000
commit38ff8515bf0a2a41e554a1753a6a8386fbc1b43c (patch)
tree5e997da77120970d5aee085412c891a992409046 /elfcpp/i386.h
parent92fc46544d449c1274bcee5090c96c8009dd6844 (diff)
downloadbinutils-redhat-38ff8515bf0a2a41e554a1753a6a8386fbc1b43c.tar.gz
From Craig Silverstein: Add more DWARF info, add some i386 comments.
Diffstat (limited to 'elfcpp/i386.h')
-rw-r--r--elfcpp/i386.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/elfcpp/i386.h b/elfcpp/i386.h
index 9550bc890d..397e0e6748 100644
--- a/elfcpp/i386.h
+++ b/elfcpp/i386.h
@@ -34,6 +34,7 @@
// Documentation for the TLS relocs is taken from
// http://people.redhat.com/drepper/tls.pdf
+// http://www.lsd.ic.unicamp.br/~oliva/writeups/TLS/RFC-TLSDESC-x86.txt
namespace elfcpp
{
@@ -80,9 +81,10 @@ enum
R_386_TLS_DTPMOD32 = 35, // Outstanding General/Local Dynamic reloc, sun+gnu
R_386_TLS_DTPOFF32 = 36, // Outstanding General Dynamic reloc, sun+gnu
R_386_TLS_TPOFF32 = 37, // Outstanding Initial Exec reloc, sun-style
- R_386_TLS_GOTDESC = 39,
- R_386_TLS_DESC_CALL = 40,
- R_386_TLS_DESC = 41,
+ R_386_TLS_GOTDESC = 39, // GOT offset for TLS descriptor
+ R_386_TLS_DESC_CALL = 40, // Marker of call through TLS desc for relaxation
+ R_386_TLS_DESC = 41, // TLS descriptor containing pointer to code and
+ // to argument, returning TLS offset for symbol
// Used by Intel.
R_386_USED_BY_INTEL_200 = 200,
// GNU vtable garbage collection extensions.