OSDN Git Service

* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
authorAlan Modra <amodra@bigpond.net.au>
Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)
commitd3f849cfd278954f5b8e938edf6b00dfaec06b4f
tree2d8434ae8f0d2325901e784d2b799613651f4ef6
parent0868d2aefc7b5ace8f677d7119dafb220e3e3f42
* 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