]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd: Change the --with-mmap default to true
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Mar 2024 23:23:57 +0000 (15:23 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Mar 2024 13:44:12 +0000 (05:44 -0800)
Change the configure default to using mmap.

* configure.ac: Change the --with-mmap default to true.
* configure: Regenerated.

bfd/configure
bfd/configure.ac

index 23ffa6da332ed8c17dd4075dd3f0742c6d2e8f86..210550ae042edbe384334fee6fedbf612535c672 100755 (executable)
@@ -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.
index 7fcc5d4a947849197c3317bae245e4863c1a99d8..02d8ba963184652b5222f4cfc241264689b375d3 100644 (file)
@@ -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],