aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-01-13 23:13:16 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-01-13 23:13:16 +0000
commit332dac408a5fe6f3446b1210b4094aa2f1d1523a (patch)
tree6177e222ff645cab14b461ee0997034ad34247d4 /ld/testsuite/ld-sh
parenta349d9ddbc39f798feb5a7e0c98128e983a127c9 (diff)
downloadgdb-332dac408a5fe6f3446b1210b4094aa2f1d1523a.zip
gdb-332dac408a5fe6f3446b1210b4094aa2f1d1523a.tar.gz
gdb-332dac408a5fe6f3446b1210b4094aa2f1d1523a.tar.bz2
* ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
Diffstat (limited to 'ld/testsuite/ld-sh')
-rw-r--r--ld/testsuite/ld-sh/sh.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp
index c646d26..ae4e9eb 100644
--- a/ld/testsuite/ld-sh/sh.exp
+++ b/ld/testsuite/ld-sh/sh.exp
@@ -1,5 +1,5 @@
# Expect script for ld-sh tests
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation
+# Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ if ![ld_assemble $as "-relax $srcdir/$subdir/sh1.s" tmpdir/sh1.o] {
set testsrec "SH relaxing to S-records"
-if ![ld_simple_link $ld tmpdir/sh1.s1 "-relax -oformat srec tmpdir/sh1.o"] {
+if ![ld_simple_link $ld tmpdir/sh1.s1 "-relax --oformat srec tmpdir/sh1.o"] {
fail $testsrec
} else {
# The file name is embedded in the S-records, so create both