aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-08-12 20:33:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-08-12 20:33:34 +0000
commit505b88fb5d0725884d473d5a208e604bbda54c4f (patch)
tree28a62f905541317f46eab8a0d23bd1668c153963 /include
parent64d25c44142091760a88c3bc8235c99ddc8cbfa1 (diff)
downloadfsf-binutils-gdb-505b88fb5d0725884d473d5a208e604bbda54c4f.zip
fsf-binutils-gdb-505b88fb5d0725884d473d5a208e604bbda54c4f.tar.gz
fsf-binutils-gdb-505b88fb5d0725884d473d5a208e604bbda54c4f.tar.bz2
Add R_X86_64_RELATIVE64.
2011-08-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/x86-64.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 39152ac..02eb787 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/13082
+ * x86-64.h (R_X86_64_RELATIVE64): New.
+
2011-07-24 Chao-ying Fu <fu@mips.com>
Maciej W. Rozycki <macro@codesourcery.com>
diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h
index 56254d2..9022f84 100644
--- a/include/elf/x86-64.h
+++ b/include/elf/x86-64.h
@@ -72,6 +72,7 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type)
descriptor. */
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_GNU_VTINHERIT, 250) /* GNU C++ hack */
RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */
END_RELOC_NUMBERS (R_X86_64_max)