aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-15 12:41:00 +0000
committerNick Clifton <nickc@redhat.com>2002-01-15 12:41:00 +0000
commit8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1 (patch)
tree17f3a21c3f0e1e442e81ad1c19838da9c8bbe7f6
parentd6e5ae258d9f767ed125c20761fab77375ef0180 (diff)
downloadgdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.zip
gdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.tar.gz
gdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.tar.bz2
Add missing 'cp' command
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-sh/sh.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9646c08..677ff8c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp
index 8a5b8fc..e297860 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] \