It is not clear why the warning was forced on all architectures. We have the following code in ld/configure.tgt:
# By default the linker will generate warnings if it is creating an # executable stack or a segment with all three of read, write and # execute permissions. These settings are not appropriate for all # targets however, so we can change them here: if test "${ac_default_ld_warn_rwx_segments}" = unset; then case "${targ}" in # The CRIS and V850 default linker scripts yields just one segment # as intended, so a rwx segment warning is not helpful. # 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*-*-* | \ mips*-*-* | \ microblaze*-*-* | \ sparc*-*-* | \ v850*-*-*) ac_default_ld_warn_rwx_segments=0 ;; *) ;; esac fi Dave -- John David Anglin jda.par...@gmail.com