aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-16 20:31:57 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-16 20:31:57 +0000
commite1ec603fec5191034dd56f4e417c89054b5f61b9 (patch)
tree5473747ed87ec7df6d85782cdc8096154d0dec5b /include
parentab04a2af2bacfc1062c907630bee6e345dbd2ea9 (diff)
downloadgdb-e1ec603fec5191034dd56f4e417c89054b5f61b9.zip
gdb-e1ec603fec5191034dd56f4e417c89054b5f61b9.tar.gz
gdb-e1ec603fec5191034dd56f4e417c89054b5f61b9.tar.bz2
Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64
* i386.h (R_386_SIZE32): Fill it. * x86-64.h (R_X86_64_SIZE32): Likewise. (R_X86_64_SIZE64): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/i386.h2
-rw-r--r--include/elf/x86-64.h3
3 files changed, 9 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index c86fbf7..708b860 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386.h (R_386_SIZE32): Fill it.
+ * x86-64.h (R_X86_64_SIZE32): Likewise.
+ (R_X86_64_SIZE64): Likewise.
+
2013-01-10 Will Newton <will.newton@imgtec.com>
* common.h: Fix case of "Meta".
diff --git a/include/elf/i386.h b/include/elf/i386.h
index a12225f..c475092 100644
--- a/include/elf/i386.h
+++ b/include/elf/i386.h
@@ -62,7 +62,7 @@ START_RELOC_NUMBERS (elf_i386_reloc_type)
RELOC_NUMBER (R_386_TLS_DTPMOD32, 35)
RELOC_NUMBER (R_386_TLS_DTPOFF32, 36)
RELOC_NUMBER (R_386_TLS_TPOFF32, 37)
-/* 38 */
+ RELOC_NUMBER (R_386_SIZE32, 38) /* 32-bit symbol size */
RELOC_NUMBER (R_386_TLS_GOTDESC, 39)
RELOC_NUMBER (R_386_TLS_DESC_CALL,40)
RELOC_NUMBER (R_386_TLS_DESC, 41)
diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h
index 9022f84..0ce92cd 100644
--- a/include/elf/x86-64.h
+++ b/include/elf/x86-64.h
@@ -63,7 +63,8 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type)
that PLT entry is needed */
RELOC_NUMBER (R_X86_64_PLTOFF64, 31) /* 64 bit GOT relative offset
to PLT entry */
- /* 32 .. 33 */
+ RELOC_NUMBER (R_X86_64_SIZE32, 32) /* 32-bit symbol size */
+ RELOC_NUMBER (R_X86_64_SIZE64, 33) /* 64-bit symbol size */
RELOC_NUMBER (R_X86_64_GOTPC32_TLSDESC, 34)
/* 32 bit signed pc relative
offset to TLS descriptor