Check .gnu.warning section in shared library
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jul 2013 17:24:20 +0000 (17:24 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jul 2013 17:24:20 +0000 (17:24 +0000)
commitdf71cb5cbfa26ad79e5cf674056205f0505e229d
treebfb6855078e7177284e0b13ddaacea26e3589012
parent3360c0bf75c98188a29b2ea29183a0bdc33b5801
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/ChangeLog
ld/testsuite/ld-elf/libbarw.rd [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp
ld/testsuite/lib/ld-lib.exp