Do not place symbols into a discarded .dynsym
authorEgeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Wed, 3 Oct 2018 21:27:32 +0000 (23:27 +0200)
committerAlan Modra <amodra@gmail.com>
Tue, 9 Oct 2018 07:06:59 +0000 (17:36 +1030)
commit1c2649ed7481881cb963bb53251a79bfb8b1047e
tree689ba6603b120b942911b3d467a22d9eeb9c4dcb
parent35dc7e6b77c6d379dda8072e9f0b88a24c008d06
Do not place symbols into a discarded .dynsym

Prevents getting an error about dynamic symbols in sections indexed
64K+ when .dynsym is discarded.

* elflink.c (elf_link_output_extsym): Do not place symbols into a
discarded .dynsym.
bfd/ChangeLog
bfd/elflink.c