sync binutils config/ with gcc
authorAlan Modra <amodra@gmail.com>
Wed, 7 Dec 2016 23:20:17 +0000 (09:50 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Dec 2016 11:05:11 +0000 (21:35 +1030)
config/
* acx.m4: Import from gcc.
* bootstrap-asan.mk: Likewise.
* multi.m4: Likewise.
/
* configure: Regnerate.
gas/
* configure: Regnerate.
ld/
* configure: Regnerate.
libiberty/
* configure: Regnerate.
zlib/
* configure: Regnerate.

13 files changed:
ChangeLog
config/ChangeLog
config/acx.m4
config/bootstrap-asan.mk
config/multi.m4
configure
gas/ChangeLog
gas/configure
ld/ChangeLog
ld/configure
libiberty/ChangeLog
libiberty/configure
zlib/configure

index ee8013a..1852129 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-08  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
 2016-12-02  Josh Conner  <joshconner@google.com>
 
        * configure.ac: Add fuchsia to targets that use ELF.
index bb77be0..629d0cb 100644 (file)
@@ -1,3 +1,9 @@
+2016-12-08  Alan Modra  <amodra@gmail.com>
+
+       * acx.m4: Import from gcc.
+       * bootstrap-asan.mk: Likewise.
+       * multi.m4: Likewise.
+
 2016-01-18  Alan Modra  <amodra@gmail.com>
 
        PR binutils/19481
index 9ff31eb..ab42972 100644 (file)
@@ -404,7 +404,7 @@ AC_DEFUN([ACX_PROG_CMP_IGNORE_INITIAL],
 [AC_CACHE_CHECK([how to compare bootstrapped objects], gcc_cv_prog_cmp_skip,
 [ echo abfoo >t1
   echo cdfoo >t2
-  gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
+  gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   if cmp t1 t2 2 2 > /dev/null 2>&1; then
     if cmp t1 t2 1 1 > /dev/null 2>&1; then
       :
index 70baaf9..e73d4c2 100644 (file)
@@ -1,7 +1,7 @@
 # This option enables -fsanitize=address for stage2 and stage3.
 
 # Suppress LeakSanitizer in bootstrap.
-export LSAN_OPTIONS="detect_leaks=0"
+export ASAN_OPTIONS=detect_leaks=0:use_odr_indicator=1
 
 STAGE2_CFLAGS += -fsanitize=address
 STAGE3_CFLAGS += -fsanitize=address
index 5b62ecc..bba338a 100644 (file)
@@ -64,5 +64,4 @@ multi_basedir="$multi_basedir"
 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 CC="$CC"
 CXX="$CXX"
-GFORTRAN="$GFORTRAN"
-GCJ="$GCJ"])])dnl
+GFORTRAN="$GFORTRAN"])])dnl
index 5b0ceb7..f6d12b8 100755 (executable)
--- a/configure
+++ b/configure
@@ -5377,7 +5377,7 @@ if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
 else
    echo abfoo >t1
   echo cdfoo >t2
-  gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
+  gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   if cmp t1 t2 2 2 > /dev/null 2>&1; then
     if cmp t1 t2 1 1 > /dev/null 2>&1; then
       :
index 7eec969..e2e340c 100644 (file)
@@ -1,3 +1,7 @@
+2016-12-08  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
 2016-12-07  Maciej W. Rozycki  <macro@imgtec.com>
 
        * config/tc-mips.c (is_opcode_valid): Use local `isa'
index 98da0db..e187df7 100755 (executable)
@@ -11661,7 +11661,7 @@ if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
 else
    echo abfoo >t1
   echo cdfoo >t2
-  gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
+  gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   if cmp t1 t2 2 2 > /dev/null 2>&1; then
     if cmp t1 t2 1 1 > /dev/null 2>&1; then
       :
index dd5ffe2..c4dadfc 100644 (file)
@@ -1,3 +1,7 @@
+2016-12-08  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
 2016-12-06  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-powerpc/tocopt7.s,
index e6bed08..5c3b555 100755 (executable)
@@ -16382,7 +16382,7 @@ if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
 else
    echo abfoo >t1
   echo cdfoo >t2
-  gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
+  gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   if cmp t1 t2 2 2 > /dev/null 2>&1; then
     if cmp t1 t2 1 1 > /dev/null 2>&1; then
       :
index f800e0c..f478109 100644 (file)
@@ -1,3 +1,7 @@
+2016-12-08  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
 2016-12-06  DJ Delorie  <dj@redhat.com>
 
        * argv.c (expandargv): Check for directories passed as @-files.
index 5c4dda5..b95e000 100755 (executable)
@@ -5146,7 +5146,8 @@ case "${host}" in
        PICFLAG=-fpic
        ;;
     # FIXME: Simplify to sh*-*-netbsd*?
-    sh-*-netbsdelf* | shl*-*-netbsdelf*)
+    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
+      sh64-*-netbsd* | sh64l*-*-netbsd*)
        PICFLAG=-fpic
        ;;
     # Default to -fPIC unless specified otherwise.
index bba9fd2..bed9e3e 100755 (executable)
@@ -11954,7 +11954,6 @@ CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 CC="$CC"
 CXX="$CXX"
 GFORTRAN="$GFORTRAN"
-GCJ="$GCJ"
 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"