From df71cb5cbfa26ad79e5cf674056205f0505e229d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 24 Jul 2013 17:24:20 +0000 Subject: Check .gnu.warning section in shared library PR ld/15762 * ld-elf/shared.exp (build_tests): Check .gnu.warning section in the libbarw.so library. * ld-elf/libbarw.rd: New. * lib/ld-lib.exp (run_cc_link_tests): Support checking on output with warning message. --- ld/testsuite/lib/ld-lib.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/testsuite/lib') diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index ffbfd8b..256d826 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1424,7 +1424,7 @@ proc run_cc_link_tests { ldtests } { if { $warnings != "" } then { verbose -log "returned with: <$exec_output>, expected: <$warnings>" if { [regexp $warnings $exec_output] } then { - set failed 2 + set failed 0 } else { set failed 1 } -- cgit v1.1