summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-05 15:37:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-05 15:37:11 +0000
commit831baa6a64849717d6a93e89863fb5d0c672dad7 (patch)
tree2625b72696d94306a7686e530ce4d7752532edf4
parent45828bcf766347dcd46675daf563f189627b23c4 (diff)
default __mips64__ to execute only
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/ldmain.c b/gnu/usr.bin/binutils-2.17/ld/ldmain.c
index 2fa24bd99b0..954f00bd201 100644
--- a/gnu/usr.bin/binutils-2.17/ld/ldmain.c
+++ b/gnu/usr.bin/binutils-2.17/ld/ldmain.c
@@ -319,7 +319,7 @@ main (int argc, char **argv)
#else
link_info.emit_gnu_hash = FALSE;
#endif
-#if defined(__amd64__) || defined(__hppa__)
+#if defined(__amd64__) || defined(__hppa__) || defined(__mips64__)
link_info.execute_only = TRUE;
#else
link_info.execute_only = FALSE;