bfd/
authorAlan Modra <amodra@gmail.com>
Wed, 30 May 2007 14:29:27 +0000 (14:29 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 30 May 2007 14:29:27 +0000 (14:29 +0000)
commit42bb2e3317a7ff36fff57469b1303775a8ab1242
tree5e5d6156ce01a3e646f6a9371fb40b1e5b75fa98
parent02bf8d82b539bf6c1cb8d4f7b12449930e94d431
bfd/
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
created by objcopy --only-keep-debug.
(_bfd_elf_init_private_section_data): Only change elf_section_type
if it is SHT_NULL.
binutils/
* objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
(setup_section): Don't modify flags, and don't avoid calling
bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
* readelf.c (process_program_headers): Ignore .dynamic of type
SHT_NOBITS.
bfd/ChangeLog
bfd/elf.c
binutils/ChangeLog
binutils/objcopy.c
binutils/readelf.c