diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-10 17:15:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-10 17:15:12 +0000 |
commit | 03f196a2663f1c27c5e047cd9b45b3358dc3157a (patch) | |
tree | 5bfb3c0c9f99e9601eabda228e5d13315eb22c46 /bfd/elf64-x86-64.c | |
parent | 53a32f59b0d50850db4a522364e08d61828ab981 (diff) | |
download | binutils-redhat-03f196a2663f1c27c5e047cd9b45b3358dc3157a.tar.gz |
Count R_X86_64_RELATIVE64 as reloc_class_relative
bfd/
* elf64-x86-64.c (elf_x86_64_reloc_type_class): Handle
R_X86_64_RELATIVE64.
ld/testsuite/
* ld-x86-64/pr13082-1a.d: Check RELACOUNT.
* ld-x86-64/pr13082-1b.d: Likewise.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 8eafbf084c..a9429b8c6c 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4524,6 +4524,7 @@ elf_x86_64_reloc_type_class (const Elf_Internal_Rela *rela) switch ((int) ELF32_R_TYPE (rela->r_info)) { case R_X86_64_RELATIVE: + case R_X86_64_RELATIVE64: return reloc_class_relative; case R_X86_64_JUMP_SLOT: return reloc_class_plt; |