[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug ld/858] New: Linker should abort when there is reference to dis
Re: [Bug ld/858] New: Linker should abort when there is reference to discarded section
Fri, 22 Apr 2005 15:51:03 +0100
Mozilla Thunderbird 1.0 (X11/20041206)
Gcc was broken due to a back checkin:
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 ?