This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Best way to make partial relro by default?
- From: Pedro Giffuni <pfg at FreeBSD dot org>
- To: binutils at sourceware dot org
- Date: Mon, 28 Sep 2015 11:31:50 -0500
- Subject: Best way to make partial relro by default?
- Authentication-results: sourceware.org; auth=none
Hello;
I noticed many linux distributions are making partial RELRO the default:
https://bugzilla.redhat.com/show_bug.cgi?id=807831
Some set it as the default in ld [1] some others set it in the gcc
specs. What would be the "blessed" way to do this for all the
distribution?
Any chance to see this standardized in the GNU toolchain, perhaps in ld?
Regards,
Pedro.
[1]
https://github.com/grosskur/binutils-rpm/blob/master/binutils-2.22.52.0.1-relro-on-by-default.patch