old-cross-binutils/ld/testsuite/ld-x86-64/pcrel16.d
H.J. Lu 206717e8e5 ld/testsuite/
2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-i386/pcrel16.d: Updated.
	* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
	prefix.
2007-02-03 00:46:22 +00:00

15 lines
309 B
Makefile

#name: PCREL16 overflow
#source: ../ld-i386/pcrel16.s
#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 10420 <_start\+0x10420>