diff options
author | Nick Clifton <nickc@redhat.com> | 2015-08-05 16:16:39 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-08-05 16:16:39 +0100 |
commit | 63b9bbb7d7bcdcb6e0f59dd8da9615d80c537b8d (patch) | |
tree | 63a87d567a4c30e48ed3ae9784fe5b03e3621a31 /binutils/ChangeLog | |
parent | 260439cb8ec21ffd75b240aadc55fd341c8c8dd4 (diff) | |
download | gdb-63b9bbb7d7bcdcb6e0f59dd8da9615d80c537b8d.zip gdb-63b9bbb7d7bcdcb6e0f59dd8da9615d80c537b8d.tar.gz gdb-63b9bbb7d7bcdcb6e0f59dd8da9615d80c537b8d.tar.bz2 |
Change the behaviour of the --only-keep-debug option to objcopy and strip so that the sh_link and sh_info fields in stripped section headers are preserved.
bfd * elf.c (_bfd_elf_copy_private_bfd_data): Copy the sh_link and
sh_info fields of sections whose type has been changed to
SHT_NOBITS.
bin * doc/binutils.texi: Document that the --only-keep-debug option
to strip and objcopy preserves the section headers of stripped
sections.
tests * binutils-all/objcopy.exp (keep_debug_symbols_and_check_links):
New proc. Checks that debug-info-only binaries retain the
sh_link field in stripped sections.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 33c5e7d..0b5ff7f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2015-08-05 Nick Clifton <nickc@redhat.com> + + * doc/binutils.texi: Document that the --only-keep-debug option + to strip and objcopy preserves the section headers of stripped + sections. + 2015-08-04 Yuriy M. Kaminskiy" <yumkam@gmail.com> Tyler Hicks <tyhicks@canonical.com> |