From: deraadt Date: Tue, 10 Jan 2023 12:07:34 +0000 (+0000) Subject: disable jump tables by default on hppa because they are incompatible X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=25bd955406576a7f5bb5ddd77f7b6774f749d1c8;p=openbsd disable jump tables by default on hppa because they are incompatible with --execute-only in the linker ok kettenis --- diff --git a/gnu/gcc/gcc/config/pa/openbsd.h b/gnu/gcc/gcc/config/pa/openbsd.h index 8a2da8ccbff..9169d37e548 100644 --- a/gnu/gcc/gcc/config/pa/openbsd.h +++ b/gnu/gcc/gcc/config/pa/openbsd.h @@ -184,6 +184,9 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 +#undef JUMP_TABLES_DEFAULT +#define JUMP_TABLES_DEFAULT 0 /* incompatible with --executable-text */ + /* As an elf system, we need crtbegin/crtend stuff. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC "\