http://sourceware.org/bugzilla/show_bug.cgi?id=12356

--- Comment #5 from Alan Modra <amodra at gmail dot com> 2011-01-11 05:56:00 
UTC ---
The testcase does in fact have multiple definitions of "defined", one in an
object file, and one in the linker script.  While it is true that we did not
previously give an error for this situation, there was a FIXME in the ld code
about exactly this..

So I think the testcase (and the x86_64 kernel script) is invalid.  If we
revert http://sourceware.org/ml/binutils/2010-12/msg00557.html then that will
change one of the DEFINED() tests, ld-scripts/default-script2.d, which was
added exactly to test the interaction between --defsym and -T scripts.

That said, I'm not completely happy with my patch so will probably revert it; 
I don't like needing expld.uses_defined.

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

Reply via email to