bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13709] New: symbol definition loop not detected - stackdump


From: sourceware.org at neonics dot com
Subject: [Bug gas/13709] New: symbol definition loop not detected - stackdump
Date: Sun, 19 Feb 2012 15:39:08 +0000

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

             Bug #: 13709
           Summary: symbol definition loop not detected - stackdump
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


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


The message 'symbol definition loop encountered at SYMBOL' is not
shown, and a stackdump occurs, under the following conditions:

1) .intel_syntax noprefix
2) the symbol is used in an instruction

Example source:
------------------------
.equ BUG, BUG + 1
.intel_syntax noprefix
mov ax, BUG
------------------------

Expected output:
---------------
bug.s: error: symbol definition loop encountered at `Bug' (though a line number
would be useful)

What happens instead:
----------------------
-rw------- 1 Kenney None 0 Feb 19 16:31 a.out
-rwx------ 1 Kenney None 0 Feb 19 16:31 as.exe.stackdump*
----------------------

(stackdump file is empty)


When the symbol is not referenced, the warning occurs. 
Also, not reproducible when using at&t syntax.

-- 
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.



reply via email to

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