[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25080] [2.33 Regression] strip removes relro program heade
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/25080] [2.33 Regression] strip removes relro program header |
Date: |
Wed, 09 Oct 2019 02:57:34 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25080
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
On looking a little more, I think this is due to .comment being allocatable.
Stripping .comment means a change to section-to-segment mapping which results
in elf.c:copy_private_bfd_data calling rewrite_elf_program_header. Since
commit b10a8ae01 2007-09-17, rewrite_elf_program_header has dropped
PT_GNU_RELRO.
--
You are receiving this mail because:
You are on the CC list for the bug.