PR ld/12761
commitb8a7f8b43be90e429f91ba7870c0752be91e81b0
authorNick Clifton <nickc@redhat.com>
Wed, 18 May 2011 14:04:28 +0000 (18 14:04 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 18 May 2011 14:04:28 +0000 (18 14:04 +0000)
tree5aebe9df6a3a0e5e2772cac090cc33aafe3516b9
parent80fb58a3662da21e266dff7b36a0532b6542e600
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