is_relocatable_executable --exclude-libs failure
authorAlan Modra <amodra@gmail.com>
Tue, 5 Jan 2021 12:21:42 +0000 (22:51 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 5 Jan 2021 12:39:04 +0000 (23:09 +1030)
commitc8bad65eee4667f731c4abcc4642c4a68c8601ca
tree1f96706c15221c020b666e7882444869cfac5f2d
parentd750c713c9a34c8835e8e60370708cae675edb40
is_relocatable_executable --exclude-libs failure

--exclude-libs makes symbols hidden, but that doesn't prevent them
being made dynamic for is_relocatable_executable targets.  Fix that.

* elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
for relocatable executable.
bfd/ChangeLog
bfd/elflink.c