From ec8fd1c0e32b2232afdadf7b6f57f4f65695cbd4 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 4 Jan 2015 10:31:30 +0000 Subject: [PATCH] configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET. * configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET. * configure: Regenerate. From-SVN: r219173 --- ChangeLog | 5 +++++ configure | 2 +- configure.ac | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 966509e30ed..da50e84fa5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-01-04 Andreas Schwab + + * configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET. + * configure: Regenerate. + 2015-01-03 Andrew Pinski * Makefile.def (flags_to_pass): Pass OBJCOPY_FOR_TARGET also. diff --git a/configure b/configure index 49719ae1baa..168e7fed10c 100755 --- a/configure +++ b/configure @@ -14373,7 +14373,7 @@ $as_echo "just compiled" >&6; } $as_echo "pre-installed in $ac_dir" >&6; } elif test "x$target" = "x$host"; then # We can use an host tool - OBJCOPY_FOR_TARGET='$(OBJDUMP)' + OBJCOPY_FOR_TARGET='$(OBJCOPY)' { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 $as_echo "host tool" >&6; } else diff --git a/configure.ac b/configure.ac index 6d208b0663b..720502686c9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014 -# Free Software Foundation, Inc. +# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, +# 2014, 2015 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -3355,7 +3355,7 @@ GCC_TARGET_TOOL(gccgo, GOC_FOR_TARGET, GOC, GCC_TARGET_TOOL(ld, LD_FOR_TARGET, LD, [ld/ld-new]) GCC_TARGET_TOOL(lipo, LIPO_FOR_TARGET, LIPO) GCC_TARGET_TOOL(nm, NM_FOR_TARGET, NM, [binutils/nm-new]) -GCC_TARGET_TOOL(objcopy, OBJCOPY_FOR_TARGET, OBJDUMP, [binutils/objcopy]) +GCC_TARGET_TOOL(objcopy, OBJCOPY_FOR_TARGET, OBJCOPY, [binutils/objcopy]) GCC_TARGET_TOOL(objdump, OBJDUMP_FOR_TARGET, OBJDUMP, [binutils/objdump]) GCC_TARGET_TOOL(ranlib, RANLIB_FOR_TARGET, RANLIB, [binutils/ranlib]) GCC_TARGET_TOOL(readelf, READELF_FOR_TARGET, READELF, [binutils/readelf]) -- 2.30.2