diff options
author | Alan Modra <amodra@gmail.com> | 2007-05-30 14:29:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-05-30 14:29:27 +0000 |
commit | 42bb2e3317a7ff36fff57469b1303775a8ab1242 (patch) | |
tree | 5e5d6156ce01a3e646f6a9371fb40b1e5b75fa98 /bfd/ChangeLog | |
parent | 02bf8d82b539bf6c1cb8d4f7b12449930e94d431 (diff) | |
download | gdb-42bb2e3317a7ff36fff57469b1303775a8ab1242.zip gdb-42bb2e3317a7ff36fff57469b1303775a8ab1242.tar.gz gdb-42bb2e3317a7ff36fff57469b1303775a8ab1242.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 01d0436..a754213 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2007-05-30 Alan Modra <amodra@bigpond.net.au> + * 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. + * elf.c (assign_file_positions_for_load_sections): Correct sh_type to SHT_NOBITS earlier. Base actions in rest of function on sh_type and sh_flags instead of bfd section flags. Delete voff and code |