This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFA: Another MIPS multigot patch
Richard Sandiford <rsandifo@redhat.com> writes:
> Been looking further into this assertion thing, and I think it's
> already covered by:
>
> static bfd_vma
> mips_elf_global_got_index [...]
> {
> [...]
> BFD_ASSERT (h->dynindx >= global_got_dynindx);
> [...]
> }
>
> If you remove the dynindx check from check_relocs() without applying
> the rest of the patch, this assertion triggers for your test case and
> for the reduced version below.
Correction: if you apply all of the patch except for the
ELF_LINK_HASH_DEF_REGULAR bit.