diff --git a/ld/configure.tgt b/ld/configure.tgt --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -49,13 +49,13 @@ if test "${ac_default_ld_warn_rwx_segmen 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 ;; *)