From 0be36304922ded1a6ffdec8ecce204adce597c4b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 13 Nov 2014 11:26:47 -0800 Subject: [PATCH] Mark R_X86_64_GOTPLT64 obsolete * x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete. --- include/elf/ChangeLog | 4 ++++ include/elf/x86-64.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 001a94084ab..aaee35d8382 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2014-11-13 H.J. Lu + + * x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete. + 2014-10-17 Jose E. Marchesi * sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved. diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h index d0dda478462..13f87b27a21 100644 --- a/include/elf/x86-64.h +++ b/include/elf/x86-64.h @@ -58,8 +58,7 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type) offset to GOT entry */ RELOC_NUMBER (R_X86_64_GOTPC64, 29) /* 64 bit signed pc relative offset to GOT */ - RELOC_NUMBER (R_X86_64_GOTPLT64, 30) /* like GOT64, but indicates - that PLT entry is needed */ + RELOC_NUMBER (R_X86_64_GOTPLT64, 30) /* Obsolete. The same as GOT64. */ RELOC_NUMBER (R_X86_64_PLTOFF64, 31) /* 64 bit GOT relative offset to PLT entry */ RELOC_NUMBER (R_X86_64_SIZE32, 32) /* 32-bit symbol size */ -- 2.30.2