When using run_dump_test with the map option to compare the linker map
file produced, no additional dump program should be required. A dump
program can still be given if needed, but leaving it off will no longer
produce an error.
ld/testsuite/ChangeLog:
* ld/ld-lib.exp (run_dump_test): When using the map option, no
program is required.
+2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ld/ld-lib.exp (run_dump_test): When using the map option, no
+ program is required.
+
2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
* ld/ld-lib.exp (run_dump_test): Add error_output and
}
}
if { $program == "" \
+ && $opts(map) == "" \
&& $opts(warning) == "" \
&& $opts(warning_output) == "" \
&& $opts(error) == "" \
} else {
pass "$testname (map file check)"
}
+
+ if { $program == "" } then {
+ return
+ }
}
} else {
set objfile "tmpdir/dump0.o"