aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-11-13 11:26:47 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-11-13 11:26:47 -0800
commit0be36304922ded1a6ffdec8ecce204adce597c4b (patch)
tree572104a5d9c0beebc64c1e13ab8d8ee60eef04fa /include/elf
parent553d1284b7820ebc88a2e9500d813441c642bdc9 (diff)
downloadgdb-0be36304922ded1a6ffdec8ecce204adce597c4b.zip
gdb-0be36304922ded1a6ffdec8ecce204adce597c4b.tar.gz
gdb-0be36304922ded1a6ffdec8ecce204adce597c4b.tar.bz2
Mark R_X86_64_GOTPLT64 obsolete
* x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/x86-64.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 001a940..aaee35d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * x86-64.h (R_X86_64_GOTPLT64): Mark it obsolete.
+
2014-10-17 Jose E. Marchesi <jose.marchesi@oracle.com>
* sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved.
diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h
index d0dda47..13f87b2 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 */