BFD ELF symtab strtab section header ordering

Nick Clifton nickc@redhat.com
Thu Jun 14 13:11:00 GMT 2018


Hi Carl,

> if (elf_elfsections (abfd)[elf_onesymtab (abfd)]->sh_link == shindex)
> 
> where elf_onesymtab (abfd) returns 0, since it hasn't been initialized yet due to the one-pass handling of sections.
> 
> Is this by design, or a bug/feature?

It is a bug.  Please could you report it here:

  https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils

If you can include a an example file the reproduces the problem
that would be a great help.

Cheers
  Nick



More information about the Binutils mailing list