summaryrefslogtreecommitdiff
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
commitd9093aa58c59c6050fc7e428293f351701a3bd9f (patch)
treecb82949455d09910e1256187c8910e7498d2a2bc /include
parent3b0f7442800817f8a19b8eebd3b897a75328af14 (diff)
downloadgdb-d9093aa58c59c6050fc7e428293f351701a3bd9f.tar.gz
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 c86fbf7d9dd..708b860ffd3 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 a12225faa25..c4750925fad 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 9022f8482f2..0ce92cd54f6 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