Stop the linker from complaining about RWX segments in sparc-solaris targets.
authorNick Clifton <nickc@redhat.com>
Tue, 26 Jul 2022 13:25:33 +0000 (14:25 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 26 Jul 2022 13:25:33 +0000 (14:25 +0100)
PR 29411
* configure.tgt (ac_default_ld_warn_rwx_segments): Disable for
sparc-solaris configurations.

ld/ChangeLog
ld/configure.tgt

index 8f9f4ad11a5b949e944ea8e3393d2f5a454adb21..ac1365a16c6d61bc426327b2e41ca64876e3bb14 100644 (file)
@@ -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.
index 4f9e1b30bf935cf5fbde330dcae69299a7937da6..1a3c7df0ae8ae2241fc90aea550e5cd056fef4dc 100644 (file)
@@ -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
       ;;