From 0d29b6cc9dcbdeeeebd6facf175020ff238e72d1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 31 Oct 1994 00:05:09 +0000 Subject: [PATCH] * lib/ld.exp (default_ld_compile): Remove the output file before compiling. --- ld/testsuite/lib/ld.exp | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.30.2