aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNeal Frager <neal.frager@amd.com>2023-09-28 06:57:37 +0100
committerMichael J. Eager <eager@eagercon.com>2023-10-04 08:38:58 -0700
commit2aafdd4de60e02dfa7b04fc0c6cc33ee90257700 (patch)
tree4323cede0995dc4741baac3dd2b91767400b2965 /ld
parent6487710babec2e7dcae997f79e03b9ec7d78e1c3 (diff)
downloadgdb-2aafdd4de60e02dfa7b04fc0c6cc33ee90257700.zip
gdb-2aafdd4de60e02dfa7b04fc0c6cc33ee90257700.tar.gz
gdb-2aafdd4de60e02dfa7b04fc0c6cc33ee90257700.tar.bz2
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 <neal.frager@amd.com> Signed-off-by: Michael J. Eager <eager@eagercon.com>
Diffstat (limited to 'ld')
-rw-r--r--ld/configure.tgt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index ff0aaaa..3aa595e 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