diff options
author | Cary Coutant <ccoutant@google.com> | 2008-12-23 23:46:55 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2008-12-23 23:46:55 +0000 |
commit | d66a9eb3f048c2143a5281fb967255b9445fb961 (patch) | |
tree | 1c2dcb19d7be7cf85c2621eb520c864977092c9c /gold/testsuite/Makefile.am | |
parent | 84e94c9023c5d75f0ab10f9aa572003f9612b6ab (diff) | |
download | gdb-d66a9eb3f048c2143a5281fb967255b9445fb961.zip gdb-d66a9eb3f048c2143a5281fb967255b9445fb961.tar.gz gdb-d66a9eb3f048c2143a5281fb967255b9445fb961.tar.bz2 |
* 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.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c5f52ac..40daf1a 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -972,6 +972,15 @@ plugin_test_2: two_file_test_main.o two_file_test_1.syms two_file_test_1b.syms t plugin_test_2.err: plugin_test_2 @touch plugin_test_2.err +check_PROGRAMS += plugin_test_3 +check_SCRIPTS += plugin_test_3.sh +check_DATA += plugin_test_3.err +MOSTLYCLEANFILES += plugin_test_3.err +plugin_test_3: two_file_test_main.o two_file_test_1.syms two_file_test_1b.syms two_file_test_2.syms empty.syms gcctestdir/ld plugin_test.so + $(CXXLINK) -Bgcctestdir/ -Wl,--export-dynamic -Wl,--no-demangle,--plugin,"./plugin_test.so",--plugin-opt,"_Z4f13iv" two_file_test_main.o two_file_test_1.syms two_file_test_1b.syms two_file_test_2.syms empty.syms 2>plugin_test_3.err +plugin_test_3.err: plugin_test_3 + @touch plugin_test_3.err + plugin_test.so: plugin_test.o $(LINK) -Bgcctestdir/ -shared plugin_test.o plugin_test.o: plugin_test.c |