[binutils-gdb] bfd: Change the --with-mmap default to true
H.J. Lu
hjl@sourceware.org
Fri Mar 8 13:44:52 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cdabd12b186e8e794045372b753416a18c387d7b
commit cdabd12b186e8e794045372b753416a18c387d7b
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Mar 6 15:23:57 2024 -0800
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.
Diff:
---
bfd/configure | 2 +-
bfd/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bfd/configure b/bfd/configure
index 23ffa6da332..210550ae042 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 7fcc5d4a947..02d8ba96318 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],
More information about the Binutils-cvs
mailing list