summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-24 16:27:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-24 16:27:18 +0000
commit531bc27b1bed98041427ce16a9aefbd19f468322 (patch)
treecab69f6d6d399407fe587a886584300a4eaecebc /gnu
parent7fde52266a57f161be7d51557939b0a50037a8fb (diff)
disable jump tables by default on sparc64, in prep for xonly by default
ok miod
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/config/sparc/openbsd64.h3
1 files changed, 3 insertions, 0 deletions
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}}}} \