This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BFD ELF symtab strtab section header ordering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]