[Bug ld/858] Linker should abort when there is reference to discarded section

2005-04-22 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-04-22 15:15 ---
I need to figure out a way to pass tests in ld-discard, which expect normal
return from ld.

-- 


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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/858] Linker should abort when there is reference to discarded section

2005-04-22 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2005-04-22 14:52 
---
Subject: Re:  New: Linker should abort when there is reference
 to discarded section

Hi H.J.

 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.

This sounds reasonable.  Ideally the linker should continue to look for 
other errors so that it can report them (without reporting the same 
error message twice) and then refuse to produce an output file.

Would you like to submit a patch to do this ?

Cheers
   Nick




-- 


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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils