diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-08-03 16:30:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-08-03 16:30:34 +0000 |
commit | b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f (patch) | |
tree | 7b14977d55f2dbb3c28519b5245ee025aa0cb287 /ld/testsuite/ld-x86-64 | |
parent | 761e0242e43f151cf3238a6ad3c13dd58d75bd30 (diff) | |
download | fsf-binutils-gdb-b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f.zip fsf-binutils-gdb-b0360d8cfa52ee52bbc76ca90f4caf1f9cb3f64f.tar.gz fsf-binutils-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 'ld/testsuite/ld-x86-64')
-rw-r--r-- | ld/testsuite/ld-x86-64/pcrel16.d | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/pcrel16.d b/ld/testsuite/ld-x86-64/pcrel16.d index 41da975..f593657 100644 --- a/ld/testsuite/ld-x86-64/pcrel16.d +++ b/ld/testsuite/ld-x86-64/pcrel16.d @@ -1,4 +1,15 @@ #name: PCREL16 overflow #source: ../ld-i386/pcrel16.s -#ld: -#error: .*relocation truncated to fit: R_X86_64_PC16 .* +#ld: -Ttext 0x0 +#objdump: -drj.text -m i8086 + +.*: +file format elf64-x86-64 + +Disassembly of section .text: + +0+ <_start>: + ... + 420: cd 42[ ]+int \$0x42 + 422: ca 02 00[ ]+lret \$0x2 + ... + f065: e9 b8 13[ ]+jmp 420 <_start\+0x420> |