* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
authorAlan Modra <amodra@gmail.com>
Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)
commit1b3a857543e77eedd244b0d7d8cadce4e2e0500e
tree2fea28b0b37a37d070fb02efd4112fbc4417609a
parent7fd26c52dabccc7984990c93b71f36f3c9a83dc9
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elfcode.h