summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-04 13:01:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-04 13:01:48 +0000
commit2fcd8ced16c4c1e90b0c12b1ff35d7dfe874b5a3 (patch)
tree5751d9d6ac56fce919507ba2fe3de2f492047b96 /sys/arch/arm64
parent37f86b3bebdc97c23179bf24c4436870e5393648 (diff)
experiments for --execute-only on arm64 and riscv64 are going well,
which will prompt making that the default. That means efiboot, which build in a different way, must disable the link option. ok kettenis
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/stand/efiboot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/stand/efiboot/Makefile b/sys/arch/arm64/stand/efiboot/Makefile
index 9c41afa2a51..64a31a99cea 100644
--- a/sys/arch/arm64/stand/efiboot/Makefile
+++ b/sys/arch/arm64/stand/efiboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2022/12/30 06:44:35 jca Exp $
+# $OpenBSD: Makefile,v 1.19 2023/01/04 13:01:46 deraadt Exp $
NOMAN= #
@@ -19,7 +19,7 @@ OBJCOPY?= objcopy
OBJDUMP?= objdump
LDFLAGS+=-nostdlib -T ${.CURDIR}/ldscript.arm64 -Bsymbolic -shared
-LDFLAGS+=--pack-dyn-relocs=none
+LDFLAGS+=--pack-dyn-relocs=none --no-execute-only
.PATH: ${S}/stand/boot
SRCS+= boot.c cmd.c vars.c