]> git.lizzy.rs Git - rust.git/commit
Make relro-level=off explicitly disable RELRO
authorJohannes Löthberg <johannes@kyriasis.com>
Thu, 22 Feb 2018 20:28:20 +0000 (21:28 +0100)
committerJohannes Löthberg <johannes@kyriasis.com>
Tue, 6 Mar 2018 22:39:00 +0000 (23:39 +0100)
commitf0c459ebd2edbf6ad18eac91fb1ad80b98d3359e
tree98cba0916ee9524724a1464b1ebf94f1f3181c63
parent2789b067da2ac921b86199bde21dd231ace1da39
Make relro-level=off explicitly disable RELRO

Previously relro-level=off would just not tell the linker to use RELRO,
but when you want to disable RELRO you most likely want to entirely
prevent.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
src/librustc_trans/back/link.rs
src/librustc_trans/back/linker.rs