Gcc was broken due to a back checkin:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
Linker did complain, but it kept going and generated a bad output.
I think linker should abort when there is reference in non-debug
section to discarded section.
--
Summary: Linker should abort when there is reference to discarded
section
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
http://sources.redhat.com/bugzilla/show_bug.cgi?id=858
------- 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