From: Ian Lance Taylor Date: Mon, 31 Oct 1994 00:05:09 +0000 (+0000) Subject: * lib/ld.exp (default_ld_compile): Remove the output file before X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d29b6cc9dcbdeeeebd6facf175020ff238e72d1;p=binutils-gdb.git * lib/ld.exp (default_ld_compile): Remove the output file before compiling. --- diff --git a/ld/testsuite/lib/ld.exp b/ld/testsuite/lib/ld.exp index d01f074d0fd..e205cbaa619 100644 --- a/ld/testsuite/lib/ld.exp +++ b/ld/testsuite/lib/ld.exp @@ -112,6 +112,8 @@ proc default_ld_compile { cc source object } { return 0 } + catch "exec rm -f $object" exec_output + send_log "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object\n" verbose "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object"