Define R_X86_64_standard with R_X86_64_RELATIVE64
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Jan 2013 17:30:49 +0000 (17:30 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Jan 2013 17:30:49 +0000 (17:30 +0000)
* elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
with R_X86_64_RELATIVE64.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 9698fca..ccb03bc 100644 (file)
@@ -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.
index 0d23cc3..3f45776 100644 (file)
@@ -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.  */