aboutsummaryrefslogtreecommitdiff
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
commitfe906b004d1558c79aee1d74f063b7d2cf8d08f5 (patch)
tree51808186d723e908f9574bb6605becd394c513cc /elfcpp/i386.h
parentf7e2ee482013bd5df3e3726305eab7c5ed5ce020 (diff)
downloadbinutils-fe906b004d1558c79aee1d74f063b7d2cf8d08f5.zip
binutils-fe906b004d1558c79aee1d74f063b7d2cf8d08f5.tar.gz
binutils-fe906b004d1558c79aee1d74f063b7d2cf8d08f5.tar.bz2
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 9550bc8..397e0e6 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.