From: Neal Frager Date: Thu, 28 Sep 2023 05:57:37 +0000 (+0100) Subject: ld: microblaze: ignore rwx segments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2aafdd4de60e02dfa7b04fc0c6cc33ee90257700;p=binutils-gdb.git 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 --- 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