configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET.

* configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET.
* configure: Regenerate.

From-SVN: r219173
This commit is contained in:
Andreas Schwab 2015-01-04 10:31:30 +00:00 committed by Andreas Schwab
parent 70281a8e00
commit ec8fd1c0e3
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2015-01-04 Andreas Schwab <schwab@linux-m68k.org>
* configure.ac: Use OBJCOPY for OBJCOPY_FOR_TARGET.
* configure: Regenerate.
2015-01-03 Andrew Pinski <apinski@cavium.com>
* Makefile.def (flags_to_pass): Pass OBJCOPY_FOR_TARGET also.

2
configure vendored
View File

@ -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

View File

@ -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])