aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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] \