http://sourceware.org/bugzilla/show_bug.cgi?id=12240
Summary: offset can't be as label in Intel syntax
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: [email protected]
ReportedBy: [email protected]
Target: x86
[...@gnu-1 tmp]$ cat x.s
.intel_syntax noprefix
mov DWORD PTR[rip+offset], 0
mov DWORD PTR offset[rip], 0
[...@gnu-1 tmp]$ gcc -c x.s
x.s: Assembler messages:
x.s:2: Error: bad expression
x.s:2: Error: bad expression
x.s:2: Error: junk `rip+offset]' after expression
x.s:3: Error: invalid use of register
[...@gnu-1 tmp]$
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils