binutils-gdb/gold/testsuite
Cary Coutant 0f7c0701ba * archive.cc (Archive::get_elf_object_for_member): Remove call
to File_read::claim_for_plugin.
	* descriptors.cc (Descriptors::open): Remove reference to
	is_claimed.
	(Descriptors::claim_for_plugin): Remove.
	* descriptors.h (Descriptors::claim_for_plugin): Remove.
	(Descriptors::is_claimed): Remove.
	(claim_descriptor_for_plugin): Remove.
	* fileread.cc (File_read::claim_for_plugin): Remove.
	* fileread.h (File_read::claim_for_plugin): Remove.
	(File_read::descriptor): Reopen descriptor if necessary.
	* plugin.cc  (Plugin::load): Add two new APIs to transfer vector.
	(Plugin_manager::all_symbols_read): Add task parameter. Change
	all callers.
	(Plugin_manager::get_input_file): New function.
	(Plugin_manager::release_input_file): New function.
	(Pluginobj::Pluginobj): Add filesize parameter and initialize
	corresponding data member.
	(Sized_pluginobj::Sized_pluginobj): Add filesize parameter
	and pass to base constructor. Change all callers.
	(get_input_file, release_input_file): New functions.
	(make_sized_plugin_object): Add filesize parameter. Change all callers.
	* plugin.h (Plugin_manager::Plugin_manager): Initialize task_ member.
	(Plugin_manager::all_symbols_read): Add task parameter.
	(Plugin_manager::get_input_file): New function.
	(Plugin_manager::release_input_file): New function.
	(Plugin_manager::task_): New data member.
	(Pluginobj::Pluginobj): Add filesize parameter.
	(Pluginobj::filename): New function.
	(Pluginobj::descriptor): New function.
	(Pluginobj::filesize): New function.
	(Pluginobj::filesize_): New data member.
	(Sized_pluginobj::Sized_pluginobj): Add filesize parameter.
	* readsyms.cc (Read_symbols::do_read_symbols): Remove call to
	File_read::claim_for_plugin; use Object::unlock to unlock the file.

	* testsuite/Makefile.am (plugin_test_4): New test case for plugins
	with archive libraries.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/plugin_test.c (struct sym_info): New type.
	(get_input_file, release_input_file): New static variables.
	(onload): Capture new transfer vector entries.
	(claim_file_hook): Stop reading at end of file according to filesize.
	Factor out parsing of readelf output into separate function.
	(all_symbols_read_hook): Exercise get_input_file and release_input_file
	APIs and get the source file name from the symbol table.  Convert
	source file name to corresponding object file name.  Print info
	message when adding new input files.
	(parse_readelf_line): New function.
	* testsuite/plugin_test_1.sh: Add checks for new info messages.
	* testsuite/plugin_test_2.sh: Likewise.
	* testsuite/plugin_test_3.sh: Likewise.
	* testsuite/plugin_test_4.sh: New test case.
2009-01-15 01:29:25 +00:00
..
basic_test.cc
binary_test.cc
binary_unittest.cc * object.cc (Xindex::initialize_symtab_xindex): New function. 2008-04-19 18:30:58 +00:00
binary.in
common_test_1.c
constructor_test.cc
copy_test_1.cc * output.h (Output_section::Input_section): Initialize p2align_ to 2008-06-18 04:39:41 +00:00
copy_test_2.cc * output.h (Output_section::Input_section): Initialize p2align_ to 2008-06-18 04:39:41 +00:00
copy_test.cc * output.h (Output_section::Input_section): Initialize p2align_ to 2008-06-18 04:39:41 +00:00
debug_msg.cc
debug_msg.sh
dynamic_list.sh * options.cc (General_options::parse_dynamic_list): New function. 2008-11-06 07:23:31 +00:00
dynamic_list.t * options.cc (General_options::parse_dynamic_list): New function. 2008-11-06 07:23:31 +00:00
exception_test_1.cc
exception_test_2.cc
exception_test_main.cc
exception_test.h
initpri1.c * testsuite/initpri1.c: Change all declarations to be full 2008-12-09 16:03:47 +00:00
justsyms_1.cc * testsuite/justsyms.t: Start at 0x100. 2008-04-11 18:49:40 +00:00
justsyms_2.cc
justsyms.t * testsuite/justsyms.t: Start at 0x100. 2008-04-11 18:49:40 +00:00
Makefile.am * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
Makefile.in * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
many_sections_test.cc * object.cc (Sized_relobj::include_section_group): Adjust section 2008-05-05 19:16:43 +00:00
object_unittest.cc
odr_violation1.cc
odr_violation2.cc
plugin_test_1.sh * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
plugin_test_2.sh * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
plugin_test_3.sh * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
plugin_test_4.sh * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
plugin_test.c * archive.cc (Archive::get_elf_object_for_member): Remove call 2009-01-15 01:29:25 +00:00
protected_1.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
protected_2.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
protected_3.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
protected_main_1.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
protected_main_2.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
protected_main_3.cc * symtab.cc (Symbol_table::add_from_dynobj): If we see a protected 2008-05-06 22:24:26 +00:00
relro_script_test.t * layout.cc (Layout::attach_allocated_section_to_segment): Don't 2008-08-13 07:37:46 +00:00
relro_test_main.cc * options.h (class General_options): Add -z relro. 2008-05-20 04:00:47 +00:00
relro_test.cc * layout.cc (Layout::attach_allocated_section_to_segment): Don't 2008-08-13 07:37:46 +00:00
script_test_1.cc
script_test_1.t
script_test_2.cc * script.cc (Script_options::finalize_symbols): Finalize SECTIONS 2008-07-29 22:58:03 +00:00
script_test_2.t * script.cc (Script_options::finalize_symbols): Finalize SECTIONS 2008-07-29 22:58:03 +00:00
script_test_2a.cc * testsuite/Makefile.am (justsyms_2r.o): Add dependency on 2008-04-11 20:44:52 +00:00
script_test_2b.cc * testsuite/justsyms.t: Start at 0x100. 2008-04-11 18:49:40 +00:00
script_test_3.sh PR gold/5996 2008-04-10 01:02:46 +00:00
script_test_3.t
script_test_4.sh * testsuite/script_test_4.sh: Permit leading zeroes. 2008-04-16 17:43:38 +00:00
script_test_4.t * script-sections.cc (Script_sections::create_segments): Use 2008-04-15 22:50:37 +00:00
test.cc
test.h
testfile.cc * options.h (class General_options): Define --wrap as a special 2008-04-09 00:48:13 +00:00
testfile.h
testmain.cc
thin_archive_main.cc * archive.cc (Archive::get_file_and_offset): Use filename instead 2008-09-29 21:23:02 +00:00
thin_archive_test_1.cc * archive.cc (Archive::get_file_and_offset): Use filename instead 2008-09-29 21:23:02 +00:00
thin_archive_test_2.cc * archive.cc (Archive::get_file_and_offset): Use filename instead 2008-09-29 21:23:02 +00:00
thin_archive_test_3.cc * archive.cc (Archive::get_file_and_offset): Use filename instead 2008-09-29 21:23:02 +00:00
thin_archive_test_4.cc * archive.cc (Archive::get_file_and_offset): Use filename instead 2008-09-29 21:23:02 +00:00
tls_test_c.c * testsuite/tls_test_c.c: Add prototype for t11 and t11_last. 2008-11-06 00:44:32 +00:00
tls_test_file2.cc
tls_test_main.cc 2008-08-14 Cary Coutant <ccoutant@google.com> 2008-08-15 04:57:46 +00:00
tls_test.cc 2008-08-14 Cary Coutant <ccoutant@google.com> 2008-08-15 04:57:46 +00:00
tls_test.h 2008-08-14 Cary Coutant <ccoutant@google.com> 2008-08-15 04:57:46 +00:00
two_file_test_1.cc * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add 2008-04-07 22:46:17 +00:00
two_file_test_1b.cc
two_file_test_2.cc * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add 2008-04-07 22:46:17 +00:00
two_file_test_main.cc * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add 2008-04-07 22:46:17 +00:00
two_file_test.h * output.cc (Output_reloc<SHT_REL>::local_section_offset): Add 2008-04-07 22:46:17 +00:00
undef_symbol_main.cc
undef_symbol.cc
undef_symbol.sh
ver_matching_def.cc
ver_matching_test.sh
ver_test_1.cc
ver_test_2.cc * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
ver_test_2.script * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
ver_test_2.sh
ver_test_3.cc
ver_test_4.cc * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
ver_test_4.script * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
ver_test_4.sh
ver_test_5.cc
ver_test_5.script
ver_test_5.sh
ver_test_6.c * testsuite/tls_test_c.c: Add prototype for t11 and t11_last. 2008-11-06 00:44:32 +00:00
ver_test_7.cc
ver_test_7.sh
ver_test_8.script * symtab.c (Symbol::init_base_output_data): Add version 2008-05-08 18:44:33 +00:00
ver_test_9.cc * symtab.cc (Symbol_table::resolve): Remove version parameter. 2008-07-23 14:36:09 +00:00
ver_test_10.script PR 6647 2008-07-23 23:44:02 +00:00
ver_test_10.sh PR 6647 2008-07-23 23:44:02 +00:00
ver_test_main_2.cc
ver_test_main.cc * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
ver_test.h * symtab.cc (Symbol_table::add_from_object): Rewrite the case 2008-07-18 07:03:27 +00:00
version_script.map 2008-06-30 Craig Silverstein <csilvers@cs.stanford.edu> 2008-06-30 20:59:54 +00:00
weak_alias_test_1.cc * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak 2008-04-09 22:45:08 +00:00
weak_alias_test_2.cc * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak 2008-04-09 22:45:08 +00:00
weak_alias_test_3.cc * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak 2008-04-09 22:45:08 +00:00
weak_alias_test_4.cc * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak 2008-04-09 22:45:08 +00:00
weak_alias_test_main.cc * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak 2008-04-09 22:45:08 +00:00
weak_plt_main.cc * symtab.h (Symbol::use_plt_offset): New function. 2008-08-04 22:22:13 +00:00
weak_plt_shared.cc * symtab.h (Symbol::use_plt_offset): New function. 2008-08-04 22:22:13 +00:00
weak_plt.sh * symtab.h (Symbol::use_plt_offset): New function. 2008-08-04 22:22:13 +00:00
weak_test.cc
weak_undef_file1.cc * symtab.h (Symbol::is_strong_undefined): Removed unused function. 2008-04-17 00:14:36 +00:00
weak_undef_file2.cc * symtab.h (Symbol::is_strong_undefined): Removed unused function. 2008-04-17 00:14:36 +00:00
weak_undef_test.cc * symtab.h (Symbol::is_strong_undefined): Removed unused function. 2008-04-17 00:14:36 +00:00
weak_undef.h * symtab.h (Symbol::is_strong_undefined): Removed unused function. 2008-04-17 00:14:36 +00:00