* plugin.cc (is_visible_from_outside): New function.
authorCary Coutant <ccoutant@google.com>
Tue, 23 Dec 2008 23:46:55 +0000 (23:46 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 23 Dec 2008 23:46:55 +0000 (23:46 +0000)
commitd66a9eb3f048c2143a5281fb967255b9445fb961
tree1c2dcb19d7be7cf85c2621eb520c864977092c9c
parent84e94c9023c5d75f0ab10f9aa572003f9612b6ab
* plugin.cc (is_visible_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
so we don't return "IR only" status for exported symbols or -r links.

* testsuite/Makefile.am (plugin_test_3): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test_3.sh: New file.
gold/ChangeLog
gold/plugin.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/plugin_test_3.sh [new file with mode: 0755]