http://sourceware.org/bugzilla/show_bug.cgi?id=13839
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-03-13 18:32:16
UTC ---
A testcase:
[hjl@gnu-6 pr13839]$ cat defined5.s
.text
.byte 0
[hjl@gnu-6 pr13839]$ cat defined5.t
SECTIONS {
.text : {
*(.text)
_text = .;
}
_end = .;
}
. = ASSERT((_end - _text <= (512 * 1024 * 1024)), "foo");
[hjl@gnu-6 pr13839]$ make
as -o defined5.o defined5.s
./ld -T defined5.t -o defined5 defined5.o
defined5.t:8: undefined symbol `_text' referenced in expression
make: *** [defined5] Error 1
[hjl@gnu-6 pr13839]$
--
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