[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31667] objcopy/strip corrupts solaris binaries
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/31667] objcopy/strip corrupts solaris binaries |
Date: |
Tue, 23 Apr 2024 12:38:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31667
--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e79ee36b5ae4b60853e91896758bade48e804030
commit e79ee36b5ae4b60853e91896758bade48e804030
Author: Alan Modra <amodra@gmail.com>
Date: Mon Apr 22 19:08:51 2024 +0930
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.
--
You are receiving this mail because:
You are on the CC list for the bug.