disable jump tables by default on sparc64, in prep for xonly by default
authorderaadt <deraadt@openbsd.org>
Fri, 24 Feb 2023 16:27:17 +0000 (16:27 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 24 Feb 2023 16:27:17 +0000 (16:27 +0000)
ok miod

gnu/gcc/gcc/config/sparc/openbsd64.h

index e99ae98..c104ad6 100644 (file)
@@ -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}}}} \