binutils-gdb/gold/testsuite
Ian Lance Taylor 6affe781e4 PR 10861
* script.h (class Version_script_info): Define Language enum.
	Update declarations.  Define Glob, Exact, and Lookup types.  Add
	new fields globals_, locals_, and is_finalized_.
	* script.cc: Various formatting fixes.
	(class Parser_closure): Change language_stack_ from a vector of
	std::string to one of Version_script_info::Language.  Adjust all
	uses accordingly.
	(class Lazy_demangler): Remove.
	(struct Version_expression): Change language from std::string to
	Version_script_info::Language.
	(Version_script_info::Version_script_info): New function.
	(Version_script_info::~Version_script_info): Don't call clear.
	(Version_script_info::finalize): New function.
	(Version_script_info::build_lookup_tables): New function.
	(Version_script_info::build_expression_list_lookup): New
	function.
	(Version_script_info::get_symbol_version_helper): Rewrite to use
	lookup tables.
	(Version_script_info::print_expression_list): Adjust to use
	Version_script_info::Language.
	(script_push_lex_into_version_mode): Check that the version script
	has not been finalized.
	(version_script_push_lang): Change language string to
	Version_script_info::Language.
	* options.cc (Command_line::version_script): New function.
	* options.h (class General_options): Add finalize_dynamic_list
	function.  Change version_script from declaration to definition.
	* testsuite/ver_test_4.script: Remove duplicate def of t2_2.
	* testsuite/version_script.map: Remove duplicate def of foo.
	* testsuite/Makefile.am (ver_matching_def.so): Depend upon
	version_script.map.
	* testsuite/Makefile.in: Rebuild.
2009-12-30 22:35:49 +00:00
..
basic_test.cc
binary_test.cc
binary_unittest.cc * object.h (class Object): Remove target_ field, and target, 2009-09-30 22:21:13 +00:00
binary.in
common_test_1.c
constructor_test.cc
copy_test_1.cc
copy_test_2.cc
copy_test.cc
debug_msg.cc
debug_msg.sh 2009-08-19 Chris Demetriou <cgd@google.com> 2009-08-19 17:41:44 +00:00
discard_locals_test.c 2009-06-05 Doug Kwan <dougkwan@google.com> 2009-06-05 21:32:57 +00:00
discard_locals_test.sh 2009-06-05 Doug Kwan <dougkwan@google.com> 2009-06-05 21:32:57 +00:00
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
exclude_libs_test_1.c 2009-05-19 Doug Kwan <dougkwan@google.com> 2009-05-19 22:14:17 +00:00
exclude_libs_test_2.c 2009-05-19 Doug Kwan <dougkwan@google.com> 2009-05-19 22:14:17 +00:00
exclude_libs_test_3.c 2009-05-26 Doug Kwan <dougkwan@google.com> 2009-05-26 22:52:56 +00:00
exclude_libs_test.c 2009-05-26 Doug Kwan <dougkwan@google.com> 2009-05-26 22:52:56 +00:00
exclude_libs_test.sh 2009-05-26 Doug Kwan <dougkwan@google.com> 2009-05-26 22:52:56 +00:00
gc_comdat_test_1.cc * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the 2009-05-22 18:31:22 +00:00
gc_comdat_test_2.cc * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the 2009-05-22 18:31:22 +00:00
gc_comdat_test.sh * testsuite/Makefile.am: Add -ffunction-sections to compile 2009-05-22 20:27:52 +00:00
gc_tls_test.cc *** empty log message *** 2009-08-07 18:29:54 +00:00
gc_tls_test.sh *** empty log message *** 2009-08-07 18:29:54 +00:00
hidden_test_1.c PR 10471 2009-08-12 18:30:39 +00:00
hidden_test_main.c PR 10471 2009-08-12 18:30:39 +00:00
hidden_test.sh PR 10471 2009-08-12 18:30:39 +00:00
icf_keep_unique_test.cc Sriraman Tallam <tmsriram@google.com> 2009-08-12 19:03:16 +00:00
icf_keep_unique_test.sh Sriraman Tallam <tmsriram@google.com> 2009-08-12 19:03:16 +00:00
icf_safe_test.cc * gc.h (gc_process_relocs): Check if icf is enabled using new 2009-10-13 21:17:43 +00:00
icf_safe_test.sh * gc.h (gc_process_relocs): Check if icf is enabled using new 2009-10-13 21:17:43 +00:00
icf_test.cc *** empty log message *** 2009-08-05 20:51:56 +00:00
icf_test.sh *** empty log message *** 2009-08-05 20:51:56 +00:00
incremental_test_1.c 2009-12-02 Rafael Avila de Espindola <espindola@google.com> 2009-12-02 14:51:22 +00:00
incremental_test_2.c 2009-12-02 Rafael Avila de Espindola <espindola@google.com> 2009-12-02 14:51:22 +00:00
incremental_test.sh 2009-12-02 Rafael Avila de Espindola <espindola@google.com> 2009-12-02 14:51:22 +00:00
initpri1.c * testsuite/initpri1.c: Don't try to use constructor priorities if 2009-09-27 05:20:03 +00:00
justsyms_1.cc
justsyms_2.cc
justsyms.t
large.c * layout.cc (Layout::make_output_section): Call 2009-06-22 06:51:53 +00:00
Makefile.am PR 10861 2009-12-30 22:35:49 +00:00
Makefile.in PR 10861 2009-12-30 22:35:49 +00:00
many_sections_test.cc
no_version_test.c 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 19:11:32 +00:00
no_version_test.sh 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 19:11:32 +00:00
object_unittest.cc * object.h (class Object): Remove target_ field, and target, 2009-09-30 22:21:13 +00:00
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 Include "config.h". 2009-11-09 16:11:34 +00:00
protected_1.cc
protected_2.cc
protected_3.cc
protected_main_1.cc
protected_main_2.cc
protected_main_3.cc
relro_script_test.t * layout.cc (Layout::Layout): Initialize increase_relro_. 2009-12-30 06:57:17 +00:00
relro_test_main.cc
relro_test.cc * layout.cc (Layout::attach_allocated_section_to_segment): Don't 2008-08-13 07:37:46 +00:00
retain_symbols_file_test.sh * testsuite/retain_symbols_file_test.sh: Don't test for __tcf_0. 2009-10-10 01:24:57 +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
script_test_2b.cc
script_test_3.sh
script_test_3.t
script_test_4.sh
script_test_4.t
script_test_5.cc * layout.cc (Layout::choose_output_section): Don't rename sections 2009-02-25 19:05:21 +00:00
script_test_5.sh * layout.cc (Layout::choose_output_section): Don't rename sections 2009-02-25 19:05:21 +00:00
script_test_5.t * layout.cc (Layout::choose_output_section): Don't rename sections 2009-02-25 19:05:21 +00:00
script_test_6.sh 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 18:56:07 +00:00
script_test_6.t 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 18:56:07 +00:00
script_test_7.sh 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 18:56:07 +00:00
script_test_7.t 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 18:56:07 +00:00
script_test_8.sh 2009-10-16 Doug Kwan <dougkwan@google.com> 2009-10-16 18:56:07 +00:00
searched_file_test_lib.cc 2009-10-10 Chris Demetriou <cgd@google.com> 2009-10-10 07:39:04 +00:00
searched_file_test.cc 2009-10-10 Chris Demetriou <cgd@google.com> 2009-10-10 07:39:04 +00:00
split_i386_1.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_i386_2.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_i386_3.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_i386_4.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_i386_n.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_i386.sh * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64_1.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64_2.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64_3.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64_4.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64_n.s * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
split_x86_64.sh * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
test.cc
test.h
testfile.cc 2009-12-05 Doug Kwan <dougkwan@google.com> 2009-12-06 02:49:46 +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 Revert -Wshadow changes, all changes from: 2009-12-14 19:53:05 +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_shared.sh PR 9918 2009-03-04 06:46:27 +00:00
two_file_test_1.cc
two_file_test_1b.cc
two_file_test_2.cc
two_file_test_main.cc
two_file_test.h
undef_symbol_main.cc
undef_symbol.cc
undef_symbol.sh 2009-02-06 Chris Demetriou <cgd@google.com> 2009-02-06 19:20:10 +00:00
ver_matching_def.cc
ver_matching_test.sh
ver_test_1.cc
ver_test_1.sh PR 9836 2009-02-27 19:57:46 +00:00
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 PR 10861 2009-12-30 22:35:49 +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
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 PR 10861 2009-12-30 22:35:49 +00:00
weak_alias_test_1.cc
weak_alias_test_2.cc
weak_alias_test_3.cc
weak_alias_test_4.cc
weak_alias_test_main.cc
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
weak_undef_file2.cc
weak_undef_test.cc
weak_undef.h