From 699f7e82907c943d4971edf41775d8a48fece394 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Jan 2023 17:00:20 +0000 Subject: [PATCH] block --execute-only on mips64 & sparc64 during the upcoming transition. a seatbelt, because libc build corruption is too painful. --- lib/libc/arch/mips64/Makefile.inc | 5 ++++- lib/libc/arch/sparc64/Makefile.inc | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/libc/arch/mips64/Makefile.inc b/lib/libc/arch/mips64/Makefile.inc index e41f5ca03d1..25deab18860 100644 --- a/lib/libc/arch/mips64/Makefile.inc +++ b/lib/libc/arch/mips64/Makefile.inc @@ -1,2 +1,5 @@ -# $OpenBSD: Makefile.inc,v 1.3 2016/05/07 19:05:22 guenther Exp $ +# $OpenBSD: Makefile.inc,v 1.4 2023/01/11 17:00:20 deraadt Exp $ + +LDADD+= -Wl,--no-execute-only + CERROR= cerror.S diff --git a/lib/libc/arch/sparc64/Makefile.inc b/lib/libc/arch/sparc64/Makefile.inc index f2d9c07ddf7..0f18b3b82da 100644 --- a/lib/libc/arch/sparc64/Makefile.inc +++ b/lib/libc/arch/sparc64/Makefile.inc @@ -1,4 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.4 2014/06/09 20:47:11 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.5 2023/01/11 17:00:21 deraadt Exp $ + +LDADD+= -Wl,--no-execute-only # `source' files built from m4 source # the name `div.o' is taken for the ANSI C `div' function, hence sdiv here -- 2.20.1