[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f2731e0c374e5323ce4cdae2bcc7b7fe22da1a6f commit f2731e0c374e5323ce4cdae2bcc7

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-12 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #9 from NGG --- The second patch works in all the cases I've tried, thanks! -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 Alan Modra changed: What|Removed |Added Attachment #10808|0 |1 is obsolete|

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED CC|amodra at gm

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #7 from NGG --- Thank you for the quick response and patch proposal. Sorry for overreacting. I assigned it to critical due to its possible security implications and because of the wide range of products it might affect. I should h

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #6 from Alan Modra --- Created attachment 10808 --> https://sourceware.org/bugzilla/attachment.cgi?id=10808&action=edit prospective patch The importance fields are for use by binutils maintainers. They are not for users to flag

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #5 from NGG --- 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 htt

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 H.J. Lu changed: What|Removed |Added Summary|objcopy/strip: PT_GNU_RELRO |objcopy/strip: PT_GNU_RELRO