* ld-srec/srec.exp: New tests.
[deliverable/binutils-gdb.git] / ld / testsuite / lib / ld.exp
index 55994d0d091da10aceb8cc3ad7292b1dd760b830..a6dfdb03d0b644a3ce13fafb8fed29e3ea82522f 100644 (file)
@@ -96,6 +96,11 @@ proc default_ld_simple_link { ld target objects } {
     
     catch "exec $ld -o $target $objects" exec_output
     set exec_output [prune_system_crud $host_triplet $exec_output]
+
+    # We don't care if we get a warning about a non-existent start
+    # symbol, since the default linker script might use ENTRY.
+    regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
+
     if [string match "" $exec_output] then {
        return 1
     } else {
This page took 0.02481 seconds and 4 git commands to generate.