PR ld/12761
authorNick Clifton <nickc@redhat.com>
Wed, 18 May 2011 14:04:32 +0000 (14:04 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 18 May 2011 14:04:32 +0000 (14:04 +0000)
commitdd98f8d276fb5538228255c4da43dd755738d151
treecc041c39a61d0cbd8b5c9d31b7ac6098383bf235
parentd0da06e2dfbebf62eef7a2ec510240844972dbdb
PR ld/12761
* elflink.c (elf_link_add_object_symbols): Process .gnu.warning
sections when building shared libraries.

* lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th
parameter - an expected warning message from the linker.
* ld-elf/shared.exp (build_tests): Expect a warning message when
building the libbarw.so library.

* ld-elf/shared.exp: Run library building tests even when not
building a native toolchain.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/shared.exp
ld/testsuite/lib/ld-lib.exp