re PR target/33637 ("checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0")
PR target/33637 * configure.ac: Accept extra arguments for AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET. * configure: Regenerated. * exec-tool.in: Not quoting command, may have extra arguments. From-SVN: r167172
This commit is contained in:
parent
e99f078847
commit
4a150fc83a
@ -1,3 +1,11 @@
|
||||
2010-11-26 Michael Haubenwallner <michael.haubenwallner@salomon.at>
|
||||
|
||||
PR target/33637
|
||||
* configure.ac: Accept extra arguments for AS_FOR_TARGET,
|
||||
LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
|
||||
* configure: Regenerated.
|
||||
* exec-tool.in: Not quoting command, may have extra arguments.
|
||||
|
||||
2010-11-26 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/46528
|
||||
|
8
gcc/configure
vendored
8
gcc/configure
vendored
@ -20673,7 +20673,7 @@ elif test -f $gcc_cv_as_gas_srcdir/configure.in \
|
||||
elif test -x as$build_exeext; then
|
||||
# Build using assembler in the current directory.
|
||||
gcc_cv_as=./as$build_exeext
|
||||
elif test -x $AS_FOR_TARGET; then
|
||||
elif ( set dummy $AS_FOR_TARGET; test -x $2 ); then
|
||||
gcc_cv_as="$AS_FOR_TARGET"
|
||||
else
|
||||
# Extract the first word of "$AS_FOR_TARGET", so it can be a program name with args.
|
||||
@ -20794,7 +20794,7 @@ elif test -f $gcc_cv_ld_gld_srcdir/configure.in \
|
||||
elif test -x collect-ld$build_exeext; then
|
||||
# Build using linker in the current directory.
|
||||
gcc_cv_ld=./collect-ld$build_exeext
|
||||
elif test -x $LD_FOR_TARGET; then
|
||||
elif ( set dummy $LD_FOR_TARGET; test -x $2 ); then
|
||||
gcc_cv_ld="$LD_FOR_TARGET"
|
||||
else
|
||||
# Extract the first word of "$LD_FOR_TARGET", so it can be a program name with args.
|
||||
@ -20921,7 +20921,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \
|
||||
gcc_cv_nm=../binutils/nm-new$build_exeext
|
||||
elif test -x nm$build_exeext; then
|
||||
gcc_cv_nm=./nm$build_exeext
|
||||
elif test -x $NM_FOR_TARGET; then
|
||||
elif ( set dummy $NM_FOR_TARGET; test -x $2 ); then
|
||||
gcc_cv_nm="$NM_FOR_TARGET"
|
||||
else
|
||||
# Extract the first word of "$NM_FOR_TARGET", so it can be a program name with args.
|
||||
@ -21001,7 +21001,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \
|
||||
gcc_cv_objdump=../binutils/objdump$build_exeext
|
||||
elif test -x objdump$build_exeext; then
|
||||
gcc_cv_objdump=./objdump$build_exeext
|
||||
elif test -x $OBJDUMP_FOR_TARGET; then
|
||||
elif ( set dummy $OBJDUMP_FOR_TARGET; test -x $2 ); then
|
||||
gcc_cv_objdump="$OBJDUMP_FOR_TARGET"
|
||||
else
|
||||
# Extract the first word of "$OBJDUMP_FOR_TARGET", so it can be a program name with args.
|
||||
|
@ -1854,7 +1854,7 @@ elif test -f $gcc_cv_as_gas_srcdir/configure.in \
|
||||
elif test -x as$build_exeext; then
|
||||
# Build using assembler in the current directory.
|
||||
gcc_cv_as=./as$build_exeext
|
||||
elif test -x $AS_FOR_TARGET; then
|
||||
elif ( set dummy $AS_FOR_TARGET; test -x $[2] ); then
|
||||
gcc_cv_as="$AS_FOR_TARGET"
|
||||
else
|
||||
AC_PATH_PROG(gcc_cv_as, $AS_FOR_TARGET)
|
||||
@ -1909,7 +1909,7 @@ elif test -f $gcc_cv_ld_gld_srcdir/configure.in \
|
||||
elif test -x collect-ld$build_exeext; then
|
||||
# Build using linker in the current directory.
|
||||
gcc_cv_ld=./collect-ld$build_exeext
|
||||
elif test -x $LD_FOR_TARGET; then
|
||||
elif ( set dummy $LD_FOR_TARGET; test -x $[2] ); then
|
||||
gcc_cv_ld="$LD_FOR_TARGET"
|
||||
else
|
||||
AC_PATH_PROG(gcc_cv_ld, $LD_FOR_TARGET)
|
||||
@ -1982,7 +1982,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \
|
||||
gcc_cv_nm=../binutils/nm-new$build_exeext
|
||||
elif test -x nm$build_exeext; then
|
||||
gcc_cv_nm=./nm$build_exeext
|
||||
elif test -x $NM_FOR_TARGET; then
|
||||
elif ( set dummy $NM_FOR_TARGET; test -x $[2] ); then
|
||||
gcc_cv_nm="$NM_FOR_TARGET"
|
||||
else
|
||||
AC_PATH_PROG(gcc_cv_nm, $NM_FOR_TARGET)
|
||||
@ -2015,7 +2015,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \
|
||||
gcc_cv_objdump=../binutils/objdump$build_exeext
|
||||
elif test -x objdump$build_exeext; then
|
||||
gcc_cv_objdump=./objdump$build_exeext
|
||||
elif test -x $OBJDUMP_FOR_TARGET; then
|
||||
elif ( set dummy $OBJDUMP_FOR_TARGET; test -x $[2] ); then
|
||||
gcc_cv_objdump="$OBJDUMP_FOR_TARGET"
|
||||
else
|
||||
AC_PATH_PROG(gcc_cv_objdump, $OBJDUMP_FOR_TARGET)
|
||||
|
@ -80,7 +80,7 @@ case "$original" in
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
exec "$original" ${1+"$@"}
|
||||
exec $original ${1+"$@"}
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user