OSDN Git Service

* 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)
commit4c9b90a139c9beda02330a84afca435207f43e0c
tree92dc0956890a5f8e59469395a611a50245a7e5dc
parent76f667654ece0d5a90ac68816204263e0b31ad90
* 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]