* ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
authorHans-Peter Nilsson <hp@axis.com>
Sat, 13 Jan 2001 23:13:16 +0000 (23:13 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 13 Jan 2001 23:13:16 +0000 (23:13 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-sh/sh.exp

index 645c103..ee54023 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
+
 2001-01-03  Philip Blundell  <pb@futuretv.com>
 
        * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
index c646d26..ae4e9eb 100644 (file)
@@ -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