bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/11544] .intel_syntax misassembles a forward-referenced .equ as


From: hjl dot tools at gmail dot com
Subject: [Bug gas/11544] .intel_syntax misassembles a forward-referenced .equ as a data reference
Date: 27 Apr 2010 16:36:14 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-04-27 
16:36 -------
When assembler sees

mov ax, AN_EQU

AN_EQU is undefined and treats it as a symbol. Later AN_EQU is
resolved to 5. For

    mov $AN_EQU, %ax

assembler knows the operand is an immediate due to `$'. There
is not much assembler can do here.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]