aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/gdb-checked-static-cast.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-04-22 19:08:51 +0930
committerAlan Modra <amodra@gmail.com>2024-04-23 22:07:04 +0930
commite79ee36b5ae4b60853e91896758bade48e804030 (patch)
tree63bcee0c97129cfe9ac0084d009a06f8504a5406 /gdbsupport/gdb-checked-static-cast.h
parentef1c830f003acaf149bb9ee230be0d0067e1855c (diff)
downloadgdb-e79ee36b5ae4b60853e91896758bade48e804030.zip
gdb-e79ee36b5ae4b60853e91896758bade48e804030.tar.gz
gdb-e79ee36b5ae4b60853e91896758bade48e804030.tar.bz2
PR31667, objcopy/strip corrupts solaris binaries
Using want_p_paddr_set_to_zero in commit 45d92439aebd was wrong. Even solaris targets don't have want_p_paddr_set_to_zero, but we should handle them at least somewhat reasonably. PR 31667 * elf.c (IS_SECTION_IN_INPUT_SEGMENT): Remove bed arg, add paddr_valid. Don't use bed->want_p_paddr_set_to_zero. (INCLUDE_SECTION_IN_SEGMENT): Likewise. (rewrite_elf_program_header): Adjust to suit.
Diffstat (limited to 'gdbsupport/gdb-checked-static-cast.h')
0 files changed, 0 insertions, 0 deletions