bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's no


From: ngg at tresorit dot com
Subject: [Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section
Date: Sun, 11 Feb 2018 19:51:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22829

--- Comment #5 from NGG <ngg at tresorit dot com> ---
This is not an enhancement request, it is clearly a bug.
The ELF header is perfectly valid the way lld creates it, and strip reduces its
security.

This is why Chromium on Android switched to elfutils strip (see
https://chromium-review.googlesource.com/c/chromium/src/+/644908)
It also affects my project where I want to separate debug symbols after linking
and I also want to use lld's thin-lto optimizations.
Also embedded and source-based Linux distros will not be able to support lld
without either fixing this or switching to an alternative.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]