ld: microblaze: ignore rwx segments
authorNeal Frager <neal.frager@amd.com>
Thu, 28 Sep 2023 05:57:37 +0000 (06:57 +0100)
committerMichael J. Eager <eager@eagercon.com>
Wed, 4 Oct 2023 15:38:58 +0000 (08:38 -0700)
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 <neal.frager@amd.com>
Signed-off-by: Michael J. Eager <eager@eagercon.com>
ld/configure.tgt

index ff0aaaae257615be999e1c5a60821377b6763717..3aa595ef1305ae86f7740e6aa567c42f9e2270eb 100644 (file)
@@ -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