summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-23 22:52:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-23 22:52:13 +0000
commitf6d679a598657892be0d3e4bd159080765b69bf5 (patch)
tree105b738e46b2ab00c36c29c13043eb85c6c43b52 /sys/dev/softraid_raid0.c
parentcf54d70f68527f2f8cc3e40afdb2e8a4ce696911 (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/softraid_raid0.c')
0 files changed, 0 insertions, 0 deletions