OSDN Git Service

* elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
authorAlan Modra <amodra@bigpond.net.au>
Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Wed, 18 Jul 2007 11:23:37 +0000 (11:23 +0000)
commitaad4810483b588871b609461f01e967749ba171e
tree6a51bb7ad26c811a1fe49b6371312a5bcec02a03
parentccc350e09e67638a281141d8eff9887acd3c0288
* 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