Don't issue a warning for references in LTO IR to warning symbols
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 7 Aug 2014 00:23:46 +0000 (09:53 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 7 Aug 2014 00:58:48 +0000 (10:28 +0930)
commitdb7129469b10a701659f0e38e3edeb2191236831
tree7434faef30933c44ba6d79bc9f9f4b136f07f928
parent59c2656733ccb54660f48c10608f4c1753dcaf01
Don't issue a warning for references in LTO IR to warning symbols

bfd/
PR ld/16746
* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
warning for references in LTO IR to warning symbols.

ld/testsuite/
PR ld/16746
* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
* ld-plugin/pr16746a.c: New file.
* ld-plugin/pr16746b.c: Likewise.
* ld-plugin/pr16746c.c: Likewise.
* ld-plugin/pr16746d.c: Likewise.
bfd/ChangeLog
bfd/linker.c
ld/testsuite/ChangeLog
ld/testsuite/ld-plugin/lto.exp
ld/testsuite/ld-plugin/pr16746a.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr16746b.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr16746c.c [new file with mode: 0644]
ld/testsuite/ld-plugin/pr16746d.c [new file with mode: 0644]