diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-06 23:21:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-06 23:21:44 +0000 |
commit | 1b3a857543e77eedd244b0d7d8cadce4e2e0500e (patch) | |
tree | 2fea28b0b37a37d070fb02efd4112fbc4417609a /bfd/ChangeLog | |
parent | 7fd26c52dabccc7984990c93b71f36f3c9a83dc9 (diff) | |
download | gdb-1b3a857543e77eedd244b0d7d8cadce4e2e0500e.zip gdb-1b3a857543e77eedd244b0d7d8cadce4e2e0500e.tar.gz gdb-1b3a857543e77eedd244b0d7d8cadce4e2e0500e.tar.bz2 |
* 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
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 461b27c..b13e41c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +2005-02-07 Alan Modra <amodra@bigpond.net.au> + + * 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 + specially. + 2005-02-06 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF |