artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e83d15
)
disable jump tables by default on hppa because they are incompatible
author
deraadt
<deraadt@openbsd.org>
Tue, 10 Jan 2023 12:07:34 +0000
(12:07 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 10 Jan 2023 12:07:34 +0000
(12:07 +0000)
with --execute-only in the linker
ok kettenis
gnu/gcc/gcc/config/pa/openbsd.h
patch
|
blob
|
history
diff --git
a/gnu/gcc/gcc/config/pa/openbsd.h
b/gnu/gcc/gcc/config/pa/openbsd.h
index
8a2da8c
..
9169d37
100644
(file)
--- 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 "\