aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-03-06 15:23:57 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-03-08 05:44:12 -0800
commitcdabd12b186e8e794045372b753416a18c387d7b (patch)
tree6f02999391568b564b793309f9c8c7d129f7ebc7 /bfd
parent433b4f8ab7da82f4e8cecf4774722969ce330572 (diff)
downloadgdb-cdabd12b186e8e794045372b753416a18c387d7b.zip
gdb-cdabd12b186e8e794045372b753416a18c387d7b.tar.gz
gdb-cdabd12b186e8e794045372b753416a18c387d7b.tar.bz2
bfd: Change the --with-mmap default to true
Change the configure default to using mmap. * configure.ac: Change the --with-mmap default to true. * configure: Regenerated.
Diffstat (limited to 'bfd')
-rwxr-xr-xbfd/configure2
-rw-r--r--bfd/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/bfd/configure b/bfd/configure
index 23ffa6d..210550a 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12018,7 +12018,7 @@ if test "${with_mmap+set}" = set; then :
*) as_fn_error $? "bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
esac
else
- want_mmap=false
+ want_mmap=true
fi
# Check whether --enable-secureplt was given.
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 7fcc5d4..02d8ba9 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -113,7 +113,7 @@ AC_ARG_WITH(mmap,
yes) want_mmap=true ;;
no) want_mmap=false ;;
*) AC_MSG_ERROR(bad value ${withval} for BFD with-mmap option) ;;
-esac],[want_mmap=false])dnl
+esac],[want_mmap=true])dnl
AC_ARG_ENABLE(secureplt,
[ --enable-secureplt Default to creating read-only plt entries],