aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-06-27 11:39:27 +0100
committerNick Clifton <nickc@redhat.com>2022-06-27 11:39:27 +0100
commited1c7ad8e31a2cfca1d8c8c898ee7cde6ae340ca (patch)
treeb097429deb95693b3daac4347ed4cedb5c4106c8 /ld/configure
parent4f6c04da698648c16c8cdb484874de57bd0413b7 (diff)
downloadgdb-ed1c7ad8e31a2cfca1d8c8c898ee7cde6ae340ca.zip
gdb-ed1c7ad8e31a2cfca1d8c8c898ee7cde6ae340ca.tar.gz
gdb-ed1c7ad8e31a2cfca1d8c8c898ee7cde6ae340ca.tar.bz2
Disable execstack and rwx segments warnings for MIPS targets.
PR 29263 * configure.ac: Move HPPA specific code from here... * configure.tgt: ... to here. Add similar code for MIPS. Move code for CRIS, MIPS and HPPA to block at start of file. * configure: Regenerate.
Diffstat (limited to 'ld/configure')
-rwxr-xr-xld/configure14
1 files changed, 2 insertions, 12 deletions
diff --git a/ld/configure b/ld/configure
index 95c2140..80db525 100755
--- a/ld/configure
+++ b/ld/configure
@@ -15461,12 +15461,7 @@ fi
# By default warn when an executable stack is created due to object files
# requesting such, not when the user specifies -z execstack.
-case "${target}" in
- # The HPPA port needs to support older kernels that use executable stacks
- # for signals and syscalls.
- hppa*-*-*) ac_default_ld_warn_execstack=0 ;;
- *) ac_default_ld_warn_execstack=2 ;;
- esac
+ac_default_ld_warn_execstack=2
# Check whether --enable-warn-execstack was given.
if test "${enable_warn_execstack+set}" = set; then :
enableval=$enable_warn_execstack; case "${enableval}" in
@@ -17277,12 +17272,7 @@ _ACEOF
if test "${ac_default_ld_warn_rwx_segments}" = unset; then
- case "${target}" in
- # The HPPA's PLT section uses a constructed trampoline, hence it needs to
- # have a RWX segment.
- hppa*-*-*) ac_default_ld_warn_rwx_segments=0 ;;
- *) ac_default_ld_warn_rwx_segments=1 ;;
- esac
+ ac_default_ld_warn_rwx_segments=1
fi
cat >>confdefs.h <<_ACEOF