From 91896b4d6a7d312e850094eaaa5b965a9e3dc39b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Jul 2022 14:25:33 +0100 Subject: [PATCH] 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. --- ld/ChangeLog | 6 ++++++ ld/configure.tgt | 1 + 2 files changed, 7 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8f9f4ad11a5..ac1365a16c6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2022-07-26 Nick Clifton + + PR 29411 + * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for + sparc-solaris configurations. + 2022-07-08 Nick Clifton * 2.39 branch created. diff --git a/ld/configure.tgt b/ld/configure.tgt index 4f9e1b30bf9..1a3c7df0ae8 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 ;; -- 2.30.2