diff options
author | Libor Bukata <libor.bukata@oracle.com> | 2021-03-01 12:08:31 +0100 |
---|---|---|
committer | Libor Bukata <libor.bukata@oracle.com> | 2021-03-04 08:40:18 +0100 |
commit | 168bb18858e749a211125e8eb3cec27d83fc2ebb (patch) | |
tree | 889d29f31a9b1ac5b99a3abfaead5fd0bc6e0172 /binutils/objcopy.c | |
parent | a2126563ea480602be0940652b870820127606b9 (diff) | |
download | gdb-168bb18858e749a211125e8eb3cec27d83fc2ebb.zip gdb-168bb18858e749a211125e8eb3cec27d83fc2ebb.tar.gz gdb-168bb18858e749a211125e8eb3cec27d83fc2ebb.tar.bz2 |
GNU strip fails to set sh_link and sh_info on Solaris SPARC64
The patch adds a missing elf64_sparc_copy_solaris_special_section_fields
function that enables to fill sh_link and sh_info fields in .SUNW_* sections.
Note that elf64_sparc_copy_solaris_special_section_fields is empty since
the default handling is currently sufficient for GNU strip command.
This is a followup patch of the following upstream commits:
commit 5522f910cb539905d6adfdceab208ddfa5e84557
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Apr 29 09:24:42 2016 +0100
Enhance support for copying and stripping Solaris and ARM binaries.
commit 84865015459b4e9e8ac67f9b91617fbd856d5119
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Apr 14 12:04:09 2016 +0100
Fix copying Solaris binaries with objcopy.
gdb/ChangeLog:
2021-03-01 Libor Bukata <libor.bukata@oracle.com>
* bfd/elf64-sparc.c: Fix GNU strip on Solaris SPARC64.
Diffstat (limited to 'binutils/objcopy.c')
0 files changed, 0 insertions, 0 deletions