From e1ec603fec5191034dd56f4e417c89054b5f61b9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 Jan 2013 20:31:57 +0000 Subject: [PATCH] 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. --- include/elf/ChangeLog | 6 ++++++ include/elf/i386.h | 2 +- include/elf/x86-64.h | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index c86fbf7d9d..708b860ffd 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +2013-01-16 H.J. Lu + + * 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 * common.h: Fix case of "Meta". diff --git a/include/elf/i386.h b/include/elf/i386.h index a12225faa2..c4750925fa 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 9022f8482f..0ce92cd54f 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 -- 2.34.1