From 1e5364517958c0d6000a11df1a6255937f4364eb Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 Jan 2013 17:30:49 +0000 Subject: [PATCH] Define R_X86_64_standard with R_X86_64_RELATIVE64 * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE with R_X86_64_RELATIVE64. --- bfd/ChangeLog | 5 +++++ bfd/elf64-x86-64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9698fca7ec4..ccb03bc4c79 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-01-15 H.J. Lu + + * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE + with R_X86_64_RELATIVE64. + 2013-01-15 Nick Clifton * elf32-msp430.c: Fix spelling typo. diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 0d23cc39663..3f45776d18b 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. */ -- 2.30.2