From 8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Jan 2002 12:41:00 +0000 Subject: [PATCH] Add missing 'cp' command --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-sh/sh.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 9646c08a1a6..677ff8c8d2c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-01-15 Nick Clifton + + * ld-sh/sh.exp: Copy start.s file into test directory. + 2002-01-14 Nick Clifton * ld-selective/selective.exp: For ARM targets, link with libgcc.a. diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp index 8a5b8fc7fcd..e2978603d5d 100644 --- a/ld/testsuite/ld-sh/sh.exp +++ b/ld/testsuite/ld-sh/sh.exp @@ -115,7 +115,7 @@ if [istarget sh*-linux-gnu] { exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \ < $srcdir/$subdir/start.s >tmpdir/start.s } else { - exec $srcdir/$subdir/start.s tmpdir/start.s + exec cp $srcdir/$subdir/start.s tmpdir/start.s } if {![ld_assemble $as "-relax tmpdir/start.s" tmpdir/start.o] \ -- 2.30.2