[PATCH v1 1/1] ld: microblaze: ignore rwx segments
Neal Frager
neal.frager@amd.com
Thu Sep 28 05:57:37 GMT 2023
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>
---
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.25.1
More information about the Binutils
mailing list