aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-08-03 16:30:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-08-03 16:30:34 +0000
commitb0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f (patch)
tree7b14977d55f2dbb3c28519b5245ee025aa0cb287 /bfd/elf64-x86-64.c
parent761e0242e43f151cf3238a6ad3c13dd58d75bd30 (diff)
downloadgdb-b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f.zip
gdb-b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f.tar.gz
gdb-b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f.tar.bz2
bfd/
2005-08-03 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_howto_table): Undo the overflow change for R_386_PC16 made on 2005-07-18. * elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow change for R_X86_64_PC16 made on 2005-07-18. ld/testsuite/ 2005-08-03 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/pcrel16.d: Updated. * ld-i386/pcrel16.s: Likewise. * ld-x86-64/pcrel16.d: Likewise.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index c100f3e..196b237 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -73,7 +73,7 @@ static reloc_howto_type x86_64_elf_howto_table[] =
FALSE),
HOWTO(R_X86_64_16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield,
bfd_elf_generic_reloc, "R_X86_64_16", FALSE, 0xffff, 0xffff, FALSE),
- HOWTO(R_X86_64_PC16,0, 1, 16, TRUE, 0, complain_overflow_signed,
+ HOWTO(R_X86_64_PC16,0, 1, 16, TRUE, 0, complain_overflow_bitfield,
bfd_elf_generic_reloc, "R_X86_64_PC16", FALSE, 0xffff, 0xffff, TRUE),
HOWTO(R_X86_64_8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield,
bfd_elf_generic_reloc, "R_X86_64_8", FALSE, 0xff, 0xff, FALSE),