bfd:
[deliverable/binutils-gdb.git] / ld / testsuite / ld-checks / checks.exp
index d0ace092a34af9d0e2fb9bd0f68414019dff822c..39e9ac7936fdc1f5657910ed9b0d6b892e1c7c58 100644 (file)
@@ -57,8 +57,7 @@ proc section_check {} {
     # Perform the equivalent of invoking ld_simple_link
     # except that we need to massage the output futher.
     
-    verbose -log "$ld -o tmpdir/asm.x $ldflags tmpdir/asm.o"
-    catch "exec $ld -o tmpdir/asm.x $ldflags tmpdir/asm.o" exec_output
+    set exec_output [run_host_cmd "$ld" "-o tmpdir/asm.x $ldflags tmpdir/asm.o"]
     set exec_output [prune_warnings $exec_output]
 
     # Make sure that we got some output from the linker
This page took 0.024423 seconds and 4 git commands to generate.