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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils