From 5e90ddee5841df9dec448ef72efd792dc9ce537c Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 24 Feb 2023 16:27:17 +0000 Subject: [PATCH] disable jump tables by default on sparc64, in prep for xonly by default ok miod --- gnu/gcc/gcc/config/sparc/openbsd64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/gcc/gcc/config/sparc/openbsd64.h b/gnu/gcc/gcc/config/sparc/openbsd64.h index e99ae98f31a..c104ad66775 100644 --- a/gnu/gcc/gcc/config/sparc/openbsd64.h +++ b/gnu/gcc/gcc/config/sparc/openbsd64.h @@ -82,6 +82,9 @@ Boston, MA 02110-1301, USA. */ #undef LONG_DOUBLE_TYPE_SIZE #define LONG_DOUBLE_TYPE_SIZE 128 +#undef JUMP_TABLES_DEFAULT +#define JUMP_TABLES_DEFAULT 0 /* incompatible with --executable-text */ + #undef LINK_SPEC #define LINK_SPEC \ "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \ -- 2.20.1