about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-07-10 20:57:45 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-07-11 14:22:12 +0200
commit230668765d5a1c435cfd6d6a101aaee0f67de2dc (patch)
treeed21b7da9185eb53b6f31af0d61f9382b19998c9 /src/rustllvm/PassWrapper.cpp
parent1999bfaa9f961ce2e0c82e97f9bc152d5ce5ed72 (diff)
downloadrust-230668765d5a1c435cfd6d6a101aaee0f67de2dc.tar.gz
rust-230668765d5a1c435cfd6d6a101aaee0f67de2dc.zip
Add support for full RELRO
This commit adds support for full RELRO, and enables it for the
platforms I know have support for it.

Full RELRO makes the PLT+GOT data read-only on startup, preventing it
from being overwritten.

http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html

Fixes rust-lang/rust#29877.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions