diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-23 22:52:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-23 22:52:13 +0000 |
commit | f6d679a598657892be0d3e4bd159080765b69bf5 (patch) | |
tree | 105b738e46b2ab00c36c29c13043eb85c6c43b52 /sys/dev/diskmap.c | |
parent | cf54d70f68527f2f8cc3e40afdb2e8a4ce696911 (diff) |
Don't be too agressive write-protecting the GOT and PLT. If we have no clue
where they end, there is a good chance they are sharing a page with .data,
which obviously needs to remain writable. So only attempt to make them
read-only if we know they have a non-zero size. Original diff from guenther@
based on an earlier diff from me. Fixes ld -Z on alpha.
ok miod@, guenther@
Diffstat (limited to 'sys/dev/diskmap.c')
0 files changed, 0 insertions, 0 deletions