From 2aafdd4de60e02dfa7b04fc0c6cc33ee90257700 Mon Sep 17 00:00:00 2001 From: Neal Frager Date: Thu, 28 Sep 2023 06:57:37 +0100 Subject: [PATCH] ld: microblaze: ignore rwx segments The linker will generate warnings if it is creating an executable stack or a segment with all three read, write and execute permissions. These settings are not appropriate for all targets including MicroBlaze. Signed-off-by: Neal Frager Signed-off-by: Michael J. Eager --- ld/configure.tgt | 1 + 1 file changed, 1 insertion(+) diff --git a/ld/configure.tgt b/ld/configure.tgt index ff0aaaae257..3aa595ef130 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -55,6 +55,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then cris-*-* | crisv32-*-* | \ hppa*-*-* | \ mips*-*-* | \ + microblaze*-*-* | \ sparc*-*-* | \ v850*-*-*) ac_default_ld_warn_rwx_segments=0 -- 2.30.2