diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/x86-64.h | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 8dc601c..08b6701 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,5 +1,10 @@ 2015-10-22 H.J. Lu <hongjiu.lu@intel.com> + * x86-64.h (R_X86_64_GOTPCRELX): New. + (R_X86_64_REX_GOTPCRELX): Likewise. + +2015-10-22 H.J. Lu <hongjiu.lu@intel.com> + * i386.h (R_386_GOT32X): New relocation. 2015-10-07 Cupertino Miranda <cmiranda@synopsys.com> diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h index f18ec66..7b98f65 100644 --- a/include/elf/x86-64.h +++ b/include/elf/x86-64.h @@ -72,10 +72,16 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type) RELOC_NUMBER (R_X86_64_TLSDESC, 36) /* 2x64-bit TLS descriptor. */ RELOC_NUMBER (R_X86_64_IRELATIVE, 37) /* Adjust indirectly by program base */ RELOC_NUMBER (R_X86_64_RELATIVE64, 38) /* 64bit adjust by program base */ - RELOC_NUMBER (R_X86_64_PC32_BND, 39) /* PC relative 32 bit - signed with BND prefix */ - RELOC_NUMBER (R_X86_64_PLT32_BND, 40) /* 32 bit PLT address with - BND prefix */ + RELOC_NUMBER (R_X86_64_PC32_BND, 39) /* PC relative 32 bit + signed with BND prefix */ + RELOC_NUMBER (R_X86_64_PLT32_BND, 40) /* 32 bit PLT address with + BND prefix */ + /* Load from 32 bit signed pc relative offset to GOT entry without + REX prefix, relaxable. */ + RELOC_NUMBER (R_X86_64_GOTPCRELX, 41) + /* Load from 32 bit signed pc relative offset to GOT entry with + REX prefix, relaxable. */ + RELOC_NUMBER (R_X86_64_REX_GOTPCRELX, 42) RELOC_NUMBER (R_X86_64_GNU_VTINHERIT, 250) /* GNU C++ hack */ RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */ END_RELOC_NUMBERS (R_X86_64_max) |