summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-11 17:16:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-11 17:16:34 +0000
commit3d0a83e04a16c1d22389bbb99184ec8d73e3a8c4 (patch)
tree8b0bb9ec8ca4c0f318dadac22530a94487ed0269 /libexec
parentc403fa9d6171b3465b8e396d014226856f4a8604 (diff)
be very paranoid like other architectures and force no-jump-tables
came up in two seperate conversations with miod and kettenis
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/sparc64/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/sparc64/Makefile.inc b/libexec/ld.so/sparc64/Makefile.inc
index a06039d6c72..e86b418954f 100644
--- a/libexec/ld.so/sparc64/Makefile.inc
+++ b/libexec/ld.so/sparc64/Makefile.inc
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.4 2020/08/11 23:32:06 jca Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2023/01/11 17:16:33 deraadt Exp $
-CFLAGS += -fpic -msoft-float
+CFLAGS += -fpic -msoft-float -fno-jump-tables
AFLAGS += -fpic
LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script