From: deraadt Date: Fri, 24 Feb 2023 16:27:17 +0000 (+0000) Subject: disable jump tables by default on sparc64, in prep for xonly by default X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5e90ddee5841df9dec448ef72efd792dc9ce537c;p=openbsd disable jump tables by default on sparc64, in prep for xonly by default ok miod --- 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}}}} \