diff options
Diffstat (limited to 'ld/testsuite/ld-srec/srec.exp')
-rw-r--r-- | ld/testsuite/ld-srec/srec.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index eb68d83..2720043 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -230,7 +230,7 @@ proc run_srec_test { test objs } { # Tell the ELF linker to not do anything clever with .eh_frame, # not to put anything in small data, and define various symbols. set flags "--traditional-format -G 0 " - append flags [ld_simple_link_defsyms] + append flags [ld_link_defsyms] # If the linker script uses SIZEOF_HEADERS, use a -Ttext argument # to force both the normal link and the S-record link to be put in @@ -305,8 +305,8 @@ proc run_srec_test { test objs } { set flags "$flags -no-relax" } - if { ![ld_simple_link $ld tmpdir/sr1 "$flags $objs"] \ - || ![ld_simple_link $ld tmpdir/sr2.sr "$flags --oformat srec $objs"] } { + if { ![ld_link $ld tmpdir/sr1 "$flags $objs"] \ + || ![ld_link $ld tmpdir/sr2.sr "$flags --oformat srec $objs"] } { fail $test return } |