From 04e9c2fa1f17f5aaace5cde0120badec851f9980 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 5 Feb 2023 15:37:10 +0000 Subject: [PATCH] default __mips64__ to execute only --- gnu/usr.bin/binutils-2.17/ld/ldmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1