aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-srec/srec.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-srec/srec.exp')
-rw-r--r--ld/testsuite/ld-srec/srec.exp4
1 files changed, 2 insertions, 2 deletions
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