Add missing 'cp' command
authorNick Clifton <nickc@redhat.com>
Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-sh/sh.exp

index 9646c08..677ff8c 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * ld-sh/sh.exp: Copy start.s file into test directory.
+
 2002-01-14  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * ld-selective/selective.exp: For ARM targets, link with libgcc.a.
index 8a5b8fc..e297860 100644 (file)
@@ -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] \