Correct logic for "defined by object"
authorAlan Modra <amodra@gmail.com>
Mon, 22 Dec 2014 04:13:49 +0000 (14:43 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Dec 2014 13:06:50 +0000 (23:36 +1030)
commitcd8e2bcf0d51e91ab8da72ec63048790e3720b03
tree74f3cf1905d6afcc5aba440f51b5ecb4d8e63a3a
parent18d6a79d3527acd718cc8acd9395d1bf4cc4ce0a
Correct logic for "defined by object"

The old code missed testing bfd_link_hash_undefweak, and wrongly
excluded bfd_link_hash_common symbols.  It is also clearer to invert
the set of enum bfd_link_hash_type values tested.
bfd_link_hash_indirect and bfd_link_hash_warning will never appear
here.

* ldexp.c (update_definedness): Correct logic setting by_object.
ld/ChangeLog
ld/ldexp.c