From: deraadt Date: Tue, 10 Jan 2023 18:05:59 +0000 (+0000) Subject: like hppa, sparc64 will need gcc's jump tables option disabled to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9572f8766b571c6e0612a68c275616209cf6ec9f;p=openbsd like hppa, sparc64 will need gcc's jump tables option disabled to allow execute-only binaries ok miod --- diff --git a/gnu/gcc/gcc/config/sparc/openbsd.h b/gnu/gcc/gcc/config/sparc/openbsd.h index 0cca7852d34..8665f2cb8e5 100644 --- a/gnu/gcc/gcc/config/sparc/openbsd.h +++ b/gnu/gcc/gcc/config/sparc/openbsd.h @@ -75,6 +75,9 @@ Boston, MA 02110-1301, USA. */ #undef LONG_DOUBLE_TYPE_SIZE #define LONG_DOUBLE_TYPE_SIZE 64 +#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}}}} \