bfd/
commita21e91c6604036d32acbec4d34e4e9fe081cc34f
authorAlan Modra <amodra@bigpond.net.au>
Mon, 8 Nov 2010 02:48:53 +0000 (8 02:48 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 8 Nov 2010 02:48:53 +0000 (8 02:48 +0000)
tree403df6c3f6c7dac0d6e6ff36279f7f8d6661cebe
parentfed33f270cf1350ebd6d8606ec64f385ce418aa7
bfd/
* hash.c (bfd_hash_hash): Extract from..
(bfd_hash_lookup): ..here.
(bfd_hash_rename): New function.
* section.c (bfd_rename_section): New function.
* bfd-in.h (bfd_hash_rename): Declare.
* bfd-in2.h: Regenerate.
* elf.c (_bfd_elf_make_section_from_shdr): Rename input sections
when compressing or decompressing.  Don't assert name match.
* elf64-hppa.c (get_reloc_section): Don't assert name match.
* elfxx-ia64.c (get_reloc_section): Likewise.
binutils/
* objcopy.c (copy_main): No need to rename sections when compressing
or decompressing.
binutils/testsuite/
* binutils-all/objdump.W: Adjust expected result for debug section
rename.
12 files changed:
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf.c
bfd/elf64-hppa.c
bfd/elfxx-ia64.c
bfd/hash.c
bfd/section.c
binutils/ChangeLog
binutils/objcopy.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objdump.W