default __mips64__ to execute only
authorderaadt <deraadt@openbsd.org>
Sun, 5 Feb 2023 15:37:10 +0000 (15:37 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 5 Feb 2023 15:37:10 +0000 (15:37 +0000)
gnu/usr.bin/binutils-2.17/ld/ldmain.c

index 2fa24bd..954f00b 100644 (file)
@@ -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;