summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-30 03:25:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-30 03:25:50 +0000
commit504cca6cdb1359a366237bb2195be0c746cabb21 (patch)
treec9af0b76bebfd27ed2e6c58db5108cda5eb32460 /sys/arch/luna88k
parenteaca4810148e3d8b20ad9aa2d209b3e04c30e0f3 (diff)
Prep for relro: make sure it's off for any non-PIE stand/ program
ok millert@ kettenis@
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/stand/boot/Makefile b/sys/arch/luna88k/stand/boot/Makefile
index 03eca50eb65..19ee4be36f5 100644
--- a/sys/arch/luna88k/stand/boot/Makefile
+++ b/sys/arch/luna88k/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2014/02/23 20:01:04 miod Exp $
+# $OpenBSD: Makefile,v 1.7 2016/07/30 03:25:49 guenther Exp $
# $NetBSD: Makefile,v 1.9 2013/01/22 15:48:40 tsutsui Exp $
# @(#)Makefile 8.2 (Berkeley) 8/15/93
@@ -19,7 +19,7 @@ OBJCOPY?= objcopy
TEXTADDR= 0x700000 # 7MB
LDSCRIPT= ${.CURDIR}/boot.ldscript
LINKFORMAT= -static -N -Ttext ${TEXTADDR} -T ${LDSCRIPT} \
- --warn-common -nopie
+ --warn-common -nopie -znorelro
SRCS= locore.S
SRCS+= init_main.c