aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-07-26 14:25:33 +0100
committerNick Clifton <nickc@redhat.com>2022-07-26 14:25:33 +0100
commit91896b4d6a7d312e850094eaaa5b965a9e3dc39b (patch)
tree0b877c1c9e76c6ec94774851c4ce8cb2c648be3f
parent206977b2edecbe086beb23a32c9c114e2d5af28d (diff)
downloadbinutils-91896b4d6a7d312e850094eaaa5b965a9e3dc39b.zip
binutils-91896b4d6a7d312e850094eaaa5b965a9e3dc39b.tar.gz
binutils-91896b4d6a7d312e850094eaaa5b965a9e3dc39b.tar.bz2
Stop the linker from complaining about RWX segments in sparc-solaris targets.
PR 29411 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for sparc-solaris configurations.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/configure.tgt1
2 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8f9f4ad..ac1365a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2022-07-26 Nick Clifton <nickc@redhat.com>
+
+ PR 29411
+ * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
+ sparc-solaris configurations.
+
2022-07-08 Nick Clifton <nickc@redhat.com>
* 2.39 branch created.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 4f9e1b3..1a3c7df 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -54,6 +54,7 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
# Many MIPS targets use executable segments.
cris-*-* | crisv32-*-* | \
hppa*-*-* | \
+ sparc*-*-solaris2* | \
mips*-*-*)
ac_default_ld_warn_rwx_segments=0
;;