GAS 2.19.51.20090519 incorrectly assembles
|.intel_syntax noprefix
| jmp $+2
| nop
as
|00000000 <.text>:
| 0: e9 02 00 00 00 jmp 7 <.text+0x7>
| 1: DISP32 $
| 5: 90 nop
| 6: 90 nop
| 7: 90 nop
GAS 2.19.51.20090414 is correct:
|00000000 <.text>:
| 0: eb 00 jmp 2 <.text+0x2>
| 2: 90 nop
| 3: 90 nop
--
Summary: GAS wrongly treats `$' as a symbol name
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: d dot g dot gorbachev at gmail dot com
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-mingw32
http://sourceware.org/bugzilla/show_bug.cgi?id=10198
------- 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