commit | 4f2f16da143fede94a1124ee79efccee78442b90 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Oct 19 13:36:49 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Oct 19 13:36:49 2012 -0700 |
tree | 84f9878d97536e7317a413582c9251b8620eb100 | |
parent | 2e0d1af767f64996f47de2a84b685ddcfa02e686 [diff] |
x86: add --warn-shared-textrel Emit a warning when the static linker detects a shared library has text relocations. Text relocations make it harder to share pages across processes, and make it harder to use certain memory protection features in, for example, SELinux. This warning will turn into an error in a future change (via --fatal-warnings) Change-Id: I2d169c7ce3600d02e25591f3ec15aba363730298 References: http://www.akkadia.org/drepper/textrelocs.html