From f14117cfce369d84b646ba34a6042f48922d4248 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Jan 2023 17:16:33 +0000 Subject: [PATCH] be very paranoid like other architectures and force no-jump-tables came up in two seperate conversations with miod and kettenis --- libexec/ld.so/sparc64/Makefile.inc | 4 ++-- 1 file 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 -- 2.20.1