* elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
authorAlan Modra <amodra@gmail.com>
Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)
commita5d1b3b53e1db512253b2036c841645ff45df311
treeccdfe43af77d187d21947c80e42e9b84b8b37c94
parent816efef9d255393f20ce20806109417ec8ae6f1e
* elf-bfd.h (struct sym_sec_cache): Delete "sec".  Add "shndx".
* elf.c (bfd_section_from_r_symndx): Don't cache bfd section of
symbol.  Instead cache ELF section index.  Remove redundant
checks of st_shndx.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c