[Bug gas/291] GAS assemble direct constant as memory reference

2022-07-22 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=291

Alan Modra  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |WONTFIX

--- Comment #3 from Alan Modra  ---
The comment #2 testcase isn't fixable without a two-pass assembler or a change
in assembly syntax.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/291] GAS assemble direct constant as memory reference

2012-02-18 Thread sourceware.org at neonics dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=291

Kenney sourceware.org at neonics dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||sourceware.org at neonics
   ||dot com
Version|2.15|2.22
 Resolution|FIXED   |

--- Comment #2 from Kenney sourceware.org at neonics dot com 2012-02-19 
02:02:18 UTC ---
This bug has reappeared, or is still present (using .intel_syntax noprefix)

GNU assembler version 2.22.51 (i686-cygwin) using BFD version (GNU Binutils)
2.2
2.51.20111013

Example: (test.s)
--
.intel_syntax noprefix
.text
.equA,  0x
B = 0x

mov ax, A
mov ax, B
mov ax, C
mov ax, D

.equC,  0x
D = 0x
-
$ as test.s
$ objdump -Mintel-mnemonic -d a.out
-
a.out: file format pe-i386

Disassembly of section .text:

 .text:
   0:   66 b8 aa aa movax,0x
   4:   66 b8 bb bb movax,0x
   8:   66 a1 cc cc 00 00   movax,ds:0x
   e:   66 a1 dd dd 00 00   movax,ds:0x
--

EXPECTED output:
-
 .text:
   0:   66 b8 aa aa movax,0x
   4:   66 b8 bb bb movax,0x
   8:   66 b8 cc cc movax,0x
   e:   66 b8 dd dd movax,0x
-

-- 
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
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/291] GAS assemble direct constant as memory reference

2012-02-18 Thread xunxun1982 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=291

xunxun xunxun1982 at gmail dot com changed:

   What|Removed |Added

 CC||xunxun1982 at gmail dot com

-- 
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
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/291] GAS assemble direct constant as memory reference

2005-09-16 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2005-09-16 
07:38 ---
Fixed on mainline

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=291

--- 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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils