aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-31 19:56:04 +0000
committerNick Clifton <nickc@redhat.com>2000-12-31 19:56:04 +0000
commit0fc3347a5cbe0d5c58a4ac3c75d05a93773002fb (patch)
tree60bc4750fba42e739ec4cbd8e2454f1938fab8f4 /ld/testsuite
parent67db5ab439b50465821b98f47679ea9cc184e774 (diff)
downloadfsf-binutils-gdb-0fc3347a5cbe0d5c58a4ac3c75d05a93773002fb.zip
fsf-binutils-gdb-0fc3347a5cbe0d5c58a4ac3c75d05a93773002fb.tar.gz
fsf-binutils-gdb-0fc3347a5cbe0d5c58a4ac3c75d05a93773002fb.tar.bz2
Fix problems with new EXACTLY_TWO_DASHES command line switch option.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-srec/srec.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index feca9e1..192e265 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-31 Nick Clifton <nickc@redhat.com>
+
+ * ld-srec/srec.exp: Use --oformat instead of -oformat.
+
2000-12-09 Nick Clifton <nickc@redhat.com>
* ld-selective/selective.exp: Link in libgcc when target is v850.
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 818f847..f493f98 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -237,7 +237,7 @@ proc run_srec_test { test objs } {
set flags "$flags --defsym __gccmain=0"
# ARM targets cannot convert format in the linker
- # using the -oformat command line switch
+ # using the --oformat command line switch
setup_xfail "*arm*-*-*"
setup_xfail "xscale-*-*"
setup_xfail "thumb-*-*"
@@ -259,7 +259,7 @@ proc run_srec_test { test objs } {
}
if { ![ld_simple_link $ld tmpdir/sr1 "$flags $objs"] \
- || ![ld_simple_link $ld tmpdir/sr2.sr "$flags -oformat srec $objs"] } {
+ || ![ld_simple_link $ld tmpdir/sr2.sr "$flags --oformat srec $objs"] } {
setup_xfail "hppa*-*-*elf*"
fail $test
return