Report an error for script multiply defined symbols
authorAlan Modra <amodra@gmail.com>
Mon, 22 Dec 2014 00:41:50 +0000 (11:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Dec 2014 13:06:51 +0000 (23:36 +1030)
commit422f1c65c9e9d30a7e82d136b2d4c6cd901f0245
tree6f5004d8051d90e72a640740d76cafa8fe276102
parent12b2843a6bb12292d8e36d8df22c788a3c91cb2f
Report an error for script multiply defined symbols

or maybe not just yet, but this is better than a FIXME.

* ldexp.c (update_definedness): Return false if script symbol is
redefining a strong symbol in an object.
(exp_fold_tree_1 <etree_assign>): Set up for reporting a multiple
definition error, but for now leave disabled.
ld/ChangeLog
ld/ldexp.c