Best way to make partial relro by default?

Pedro Giffuni pfg@FreeBSD.org
Mon Sep 28 16:32:00 GMT 2015


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



More information about the Binutils mailing list