azp:44% cat h.s
.data
msg: .asciz "hello world.\n"
msglen = .-msg-1
msglen=msglen & 0xff
azp:45% as -a h.s -o h.o
h.s: Assembler messages:
h.s:5: Error: symbol definition loop encountered at `msglen'
h.s:5: Error: undefined symbol `msglen' in operation setting `msglen'
h.s:5: Internal error, aborting at
/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../contrib/binutils/gas/symbols.c
line 1166 in resolve_symbol_value
Please report this bug.
azp:46% as h.s -o h.o
Interesting that it doesn't crash with -a flag.
--
Summary: invalid error messages, and internal error abort
Product: binutils
Version: 2.12.1
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: larson at w6yx dot stanford dot edu
CC: bug-binutils at gnu dot org
GCC host triplet: Freebsd i386
GCC target triplet: i386
http://sources.redhat.com/bugzilla/show_bug.cgi?id=997
------- 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