artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81623c4
)
hppa can switch over to --execute-only by default.
author
deraadt
<deraadt@openbsd.org>
Wed, 11 Jan 2023 14:30:47 +0000
(14:30 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 11 Jan 2023 14:30:47 +0000
(14:30 +0000)
ok kettenis
gnu/usr.bin/binutils-2.17/ld/ldmain.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils-2.17/ld/ldmain.c
b/gnu/usr.bin/binutils-2.17/ld/ldmain.c
index
023eb50
..
0fbe2d9
100644
(file)
--- a/
gnu/usr.bin/binutils-2.17/ld/ldmain.c
+++ b/
gnu/usr.bin/binutils-2.17/ld/ldmain.c
@@
-318,6
+318,11
@@
main (int argc, char **argv)
link_info.emit_gnu_hash = TRUE;
#else
link_info.emit_gnu_hash = FALSE;
+#endif
+#if defined(__hppa__)
+ link_info.execute_only = TRUE;
+#else
+ link_info.execute_only = FALSE;
#endif
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
and _fini symbols. We are compatible. */