[...@gnu-6 jmp-1]$ make AS=as
as -o foo.o foo.s
objdump -dwr foo.o
foo.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: e9 00 00 00 00 jmpq 0x5 1: R_X86_64_PC32 foo-0x4
[...@gnu-6 jmp-1]$
It should be indirect jump.
--
Summary: "jmp [foo]" no longer works
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11535
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils