Time to enable partial relro
Pedro Giffuni
pfg at FreeBSD.org
Thu Aug 25 22:50:31 UTC 2016
Hello;
GNU RELRO support was committed in r230784 (2012-01-30) but we never
enabled it by default.
There was some discussion about it on
https://reviews.freebsd.org/D3001
By now, all Linux distributions, NetBSD and DragonFly support it and
it is the default for most systems in binutils 2.27.
This doesn't affect performance, I ran it through an exp-run last
year, no other OS has had issues etc ... seems safe and can be
disabled if needed when linking.
I think it's time to enable it be default in our base binutils. If
there are no objections, I will just commit the attached patch over
the weekend.
Regards,
Pedro.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partial-relro.diff
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20160825/e7e027ea/attachment.bin>
More information about the freebsd-toolchain
mailing list