[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12240] New: offset can't be as label in Intel syntax
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/12240] New: offset can't be as label in Intel syntax |
Date: |
Fri, 19 Nov 2010 13:34:02 +0000 |
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: address@hidden
ReportedBy: address@hidden
Target: x86
address@hidden tmp]$ cat x.s
.intel_syntax noprefix
mov DWORD PTR[rip+offset], 0
mov DWORD PTR offset[rip], 0
address@hidden 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
address@hidden 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 gas/12240] New: offset can't be as label in Intel syntax,
hjl.tools at gmail dot com <=