aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh
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 /ld/testsuite/ld-sh
parentd6e5ae258d9f767ed125c20761fab77375ef0180 (diff)
downloadgdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.zip
gdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.tar.gz
gdb-8b8c5dbda54c48219d5e6dbba8ff9ab3594689c1.tar.bz2
Add missing 'cp' command
Diffstat (limited to 'ld/testsuite/ld-sh')
-rw-r--r--ld/testsuite/ld-sh/sh.exp2
1 files changed, 1 insertions, 1 deletions
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] \