[EMAIL PROTECTED] tmp]$ cat x.s
.intel_syntax noprefix
mov eax, [rip] + 2
[EMAIL PROTECTED] tmp]$ gcc -c x.s
[EMAIL PROTECTED] tmp]$ objdump -d x.o
x.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: 8b 05 02 00 00 00 mov 2(%rip),%eax # 0x8
[EMAIL PROTECTED] tmp]$ objdump -d -Mintel x.o
x.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: 8b 05 02 00 00 00 mov eax,DWORD PTR ds:0x2
[EMAIL PROTECTED] tmp]$
--
Summary: Disassembler doesn't support PC relative in Intel mode
Product: binutils
Version: 2.18 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4429
------- 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