aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-05-30 18:44:46 +0000
committerAndreas Jaeger <aj@suse.de>2001-05-30 18:44:46 +0000
commit6b3db5465408e7f2004d606602d377d6c0bb9ff5 (patch)
treea1928d8d10ed465afac1053bbb99a62eefb3fee5 /bfd
parent5f885618b6ab3b98f888aea51eb3cef7b742c718 (diff)
downloadgdb-6b3db5465408e7f2004d606602d377d6c0bb9ff5.zip
gdb-6b3db5465408e7f2004d606602d377d6c0bb9ff5.tar.gz
gdb-6b3db5465408e7f2004d606602d377d6c0bb9ff5.tar.bz2
* elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
(elf64_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-x86-64.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7079dc4..86624e5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-29 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
+ (elf64_x86_64_relocate_section): Likewise.
+
2001-05-30 Alan Modra <amodra@one.net.au>
* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 95ae7ea..c053ccb 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -501,6 +501,7 @@ elf64_x86_64_check_relocs (abfd, info, sec, relocs)
h->plt.refcount += 1;
break;
+ case R_X86_64_64:
case R_X86_64_32:
case R_X86_64_32S:
case R_X86_64_PC32:
@@ -1435,6 +1436,7 @@ elf64_x86_64_relocate_section (output_bfd, info, input_bfd, input_section,
case R_X86_64_8:
case R_X86_64_16:
case R_X86_64_32:
+ case R_X86_64_64:
case R_X86_64_PC8:
case R_X86_64_PC16:
case R_X86_64_PC32: