Fix generic linker symbol output when weak is overridden by strong
authorAlan Modra <amodra@gmail.com>
Wed, 24 Dec 2014 01:22:26 +0000 (11:52 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 24 Dec 2014 02:32:42 +0000 (13:02 +1030)
commitd5111a0e037c732029879829ca4d18ae2ae0d3e5
tree430f2333eeb40e4175080e6698264edfabc5b076
parent931804de6cec4ba55de1bf8b2f893879ebbf1537
Fix generic linker symbol output when weak is overridden by strong

Yes, I know this also affects bfd_link_hash_indirect, but output of
indirect and warning symbols looks quite broken anyway.

* linker.c (_bfd_generic_link_output_symbols): Remove BSF_WEAK
flag from bfd_link_hash_defined symbols.
bfd/ChangeLog
bfd/linker.c