diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-07-24 17:24:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-07-24 17:24:20 +0000 |
commit | df71cb5cbfa26ad79e5cf674056205f0505e229d (patch) | |
tree | bfb6855078e7177284e0b13ddaacea26e3589012 /ld/testsuite/lib | |
parent | 3360c0bf75c98188a29b2ea29183a0bdc33b5801 (diff) | |
download | gdb-df71cb5cbfa26ad79e5cf674056205f0505e229d.zip gdb-df71cb5cbfa26ad79e5cf674056205f0505e229d.tar.gz gdb-df71cb5cbfa26ad79e5cf674056205f0505e229d.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |