Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-17 00:31:57 +0400
committerH.J. Lu <hjl.tools@gmail.com>2013-01-17 00:31:57 +0400
commitf432e328af134680f900083323144692cca0069c (patch)
treea5a9efebc323879f0e90dd0ffeb415621a1e3e40 /include/elf
parentb01065f1744a4e04efe62e67b5888284a432a9a6 (diff)
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/elf')
-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 c86fbf7d9..708b860ff 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 a12225faa..c4750925f 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 9022f8482..0ce92cd54 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