summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/configure.tgt6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ac1365a16c..30fc1937d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR ld/29411
+ * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all
+ sparc targets. Expand comment.
+
2022-07-26 Nick Clifton <nickc@redhat.com>
PR 29411
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 1a3c7df0ae..2bae9099b6 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -49,13 +49,13 @@ if test "${ac_default_ld_warn_rwx_segments}" = unset; then
case "${targ}" in
# The CRIS default linker script yields just one segment
# as intended, so a rwx segment warning is not helpful.
- # The HPPA's PLT section uses a constructed trampoline
+ # The HPPA's and SPARC's PLT sections use a constructed trampoline
# hence it needs to have a RWX segment.
# Many MIPS targets use executable segments.
cris-*-* | crisv32-*-* | \
hppa*-*-* | \
- sparc*-*-solaris2* | \
- mips*-*-*)
+ mips*-*-* | \
+ sparc*-*-*)
ac_default_ld_warn_rwx_segments=0
;;
*)