This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Define R_X86_64_standard with R_X86_64_RELATIVE64
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Tue, 15 Jan 2013 09:31:35 -0800
- Subject: PATCH: Define R_X86_64_standard with R_X86_64_RELATIVE64
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to define R_X86_64_standard with
R_X86_64_RELATIVE64 since R_X86_64_RELATIVE64 is the last standard
relocation.
H.J.
---
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9698fca..ccb03bc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
+ with R_X86_64_RELATIVE64.
+
2013-01-15 Nick Clifton <nickc@redhat.com>
* elf32-msp430.c: Fix spelling typo.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 0d23cc3..3f45776 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -173,7 +173,7 @@ static reloc_howto_type x86_64_elf_howto_table[] =
R_X86_64_standard counts the number up to this point, and
R_X86_64_vt_offset is the value to subtract from a reloc type of
R_X86_64_GNU_VT* to form an index into this table. */
-#define R_X86_64_standard (R_X86_64_IRELATIVE + 1)
+#define R_X86_64_standard (R_X86_64_RELATIVE64 + 1)
#define R_X86_64_vt_offset (R_X86_64_GNU_VTINHERIT - R_X86_64_standard)
/* GNU extension to record C++ vtable hierarchy. */