mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
65ca155d27
2076-02-05 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/pcrel16.d: Undo the last change. * ld-x86-64/pcrel16.d: Likewise. opcodes/ 2076-02-05 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (OP_J): Undo the last change. Properly handle 64K wrap around within the same segment in 16bit mode.
16 lines
294 B
Makefile
16 lines
294 B
Makefile
#name: PCREL16 overflow
|
|
#as: --32
|
|
#ld: -melf_i386 -Ttext 0x0
|
|
#objdump: -drj.text -m i8086
|
|
|
|
.*: +file format elf32-i386
|
|
|
|
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>
|