diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-01-10 12:07:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-01-10 12:07:35 +0000 |
commit | e8a0e2749d632913c90df985211e0e67ea0c9d41 (patch) | |
tree | 582ec2279fe8450e4d347496c2dec049fcbda593 /gnu | |
parent | 6be64ed65fa9ca1b2d2efced01e396440cdeb0c3 (diff) |
disable jump tables by default on hppa because they are incompatible
with --execute-only in the linker
ok kettenis
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/gcc/gcc/config/pa/openbsd.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 "\ |