From a28447191d486c80b45e2cbb2795ea4a5e576f96 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 1 Jun 2015 19:03:10 +0000 Subject: [PATCH] Enable secureplt by default on alpha. The old plt flavour can still be obtained by passing --no-secureplt to ld(1), or -Wl,--no-secureplt to cc(1) when linking. --- gnu/usr.bin/binutils-2.17/bfd/configure | 2 +- gnu/usr.bin/binutils-2.17/bfd/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/binutils-2.17/bfd/configure b/gnu/usr.bin/binutils-2.17/bfd/configure index 7b222197c0e..26ae36ad730 100755 --- a/gnu/usr.bin/binutils-2.17/bfd/configure +++ b/gnu/usr.bin/binutils-2.17/bfd/configure @@ -4377,7 +4377,7 @@ echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;} { (exit 1); exit 1; }; } ;; esac else - use_secureplt=false + use_secureplt=true fi; if test $use_secureplt = true; then cat >>confdefs.h <<\_ACEOF diff --git a/gnu/usr.bin/binutils-2.17/bfd/configure.in b/gnu/usr.bin/binutils-2.17/bfd/configure.in index 97059a5d5c6..f24fbfb567f 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/configure.in +++ b/gnu/usr.bin/binutils-2.17/bfd/configure.in @@ -57,7 +57,7 @@ AC_ARG_ENABLE(secureplt, yes) use_secureplt=true ;; no) use_secureplt=false ;; *) AC_MSG_ERROR(bad value ${enableval} for secureplt option) ;; -esac],[use_secureplt=false])dnl +esac],[use_secureplt=true])dnl if test $use_secureplt = true; then AC_DEFINE(USE_SECUREPLT, 1, [Define if we should default to creating read-only plt entries]) -- 2.20.1