[committed, PATCH] Always create dynsym section with dynamic sections
H.J. Lu
hjl.tools@gmail.com
Fri Apr 22 18:11:00 GMT 2016
On Fri, Apr 22, 2016 at 10:04 AM, Faraz Shahbazker
<faraz.shahbazker@imgtec.com> wrote:
> Hi,
>
> This is breaking a gc-sections test-case for MIPS. MIPS at least, uses the
> elf_link_hash_table to track symbols even for static executables.
> The renumbering violates assertions about how MIPS expects the table to look.
>
> We could change the assert conditions, but I think thank since the NULL entry
> originated when the table was initialized, it should exist just
> the same after renumbering. If there is an additional case
> (dynamic_sections_created), it should be OR'd to the pre-existing condition.
Please see:
https://groups.google.com/d/msg/generic-abi/P9oE0srJtJI/ilktL8KJEQAJ
You need to find a different way to track it.
H.J.
More information about the Binutils
mailing list