objdump disassembles this
test.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: ff e0 jmpq *%eax
instead of "jmpq *%rax". The same happens for callq.
The as side is fine (trying to assemble "jmp *%eax" fails when in 64-bit text
mode).
--
Summary: objdump prints wrong register size for "jmpq/callq
*%XXX"
Product: binutils
Version: 2.17 (HEAD)
Status: NEW
Severity: minor
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: christophe at saout dot de
CC: bug-binutils at gnu dot org
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=843
------- 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