binutils-gdb/gold/testsuite
Sriraman Tallam 6e9ba2ca9c * gold.h (is_wildcard_string): New function.
* layout.cc (Layout::layout): Pass this pointer to add_input_section.
	(Layout::layout_eh_frame): Ditto.
	(Layout::find_section_order_index): New method.
	(Layout::read_layout_from_file): New method.
	* layout.h (Layout::find_section_order_index): New method.
	(Layout::read_layout_from_file): New method.
	(Layout::input_section_position_): New private member.
	(Layout::input_section_glob_): New private member.
	* main.cc (main): Call read_layout_from_file here.
	* options.h (--section-ordering-file): New option.
	* output.cc (Output_section::input_section_order_specified_): New
	member.
	(Output_section::Output_section): Initialize new member.
	(Output_section::add_input_section): Add new parameter.
	Keep input sections when --section-ordering-file is used.
	(Output_section::set_final_data_size): Sort input sections when
	section ordering file is specified.
	(Output_section::Input_section_sort_entry): Add new parameter.
	Check sorting type.
	(Output_section::Input_section_sort_entry::compare_section_ordering):
	New method.
	(Output_section::Input_section_sort_compare::operator()): Change to
	consider section_order_index.
	(Output_section::Input_section_sort_init_fini_compare::operator()):
	Change to consider section_order_index.
	(Output_section::Input_section_sort_section_order_index_compare
	::operator()): New method.
	(Output_section::sort_attached_input_sections): Change to sort
	according to section order when specified.
	(Output_section::add_input_section<32, true>): Add new parameter.
	(Output_section::add_input_section<64, true>): Add new parameter.
	(Output_section::add_input_section<32, false>): Add new parameter.
	(Output_section::add_input_section<64, false>): Add new parameter.
	* output.h (Output_section::add_input_section): Add new parameter.
	(Output_section::input_section_order_specified): New
	method.
	(Output_section::set_input_section_order_specified): New method.
	(Input_section::Input_section): Initialize section_order_index_.
	(Input_section::section_order_index): New method.
	(Input_section::set_section_order_index): New method.
	(Input_section::section_order_index_): New member.
	(Input_section::Input_section_sort_section_order_index_compare): New
	struct.
	(Output_section::input_section_order_specified_): New member.
	* script-sections.cc (is_wildcard_string): Delete and move modified
	method to gold.h.
	(Output_section_element_input::Output_section_element_input): Modify
	call to is_wildcard_string.
	(Output_section_element_input::Input_section_pattern
	::Input_section_pattern): Ditto.
	(Output_section_element_input::Output_section_element_input): Ditto.
	* testsuite/Makefile.am (final_layout): New test case.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/final_layout.cc: New file.
	* testsuite/final_layout.sh: New file.
2010-06-01 23:37:58 +00:00
..
arm_abs_global.s 2010-02-11 Doug Kwan <dougkwan@google.com> 2010-02-12 05:51:32 +00:00
arm_abs_global.sh 2010-02-11 Doug Kwan <dougkwan@google.com> 2010-02-12 05:51:32 +00:00
arm_abs_lib.s 2010-02-11 Doug Kwan <dougkwan@google.com> 2010-02-12 05:51:32 +00:00
arm_attr_merge_6a.s 2010-05-12 Doug Kwan <dougkwan@google.com> 2010-05-13 02:41:15 +00:00
arm_attr_merge_6b.s 2010-05-12 Doug Kwan <dougkwan@google.com> 2010-05-13 02:41:15 +00:00
arm_attr_merge_7a.s 2010-05-12 Doug Kwan <dougkwan@google.com> 2010-05-13 02:41:15 +00:00
arm_attr_merge_7b.s 2010-05-12 Doug Kwan <dougkwan@google.com> 2010-05-13 02:41:15 +00:00
arm_attr_merge.sh 2010-05-12 Doug Kwan <dougkwan@google.com> 2010-05-13 02:41:15 +00:00
arm_bl_in_range.s 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
arm_bl_out_of_range.s 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
arm_branch_in_range.sh 2010-03-22 Doug Kwan <dougkwan@google.com> 2010-03-22 22:48:05 +00:00
arm_branch_range.t 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
arm_fix_v4bx.s 2010-02-26 Doug Kwan <dougkwan@google.com> 2010-02-27 00:36:49 +00:00
arm_fix_v4bx.sh 2010-02-26 Doug Kwan <dougkwan@google.com> 2010-02-27 00:36:49 +00:00
basic_test.cc
binary_test.cc
binary_unittest.cc * archive.cc (include_member): Destroy Read_symbols_data object before 2010-04-07 22:58:23 +00:00
binary.in
common_test_1.c
common_test_2.c PR 10979 2009-12-31 05:07:22 +00:00
common_test_3.c PR 10979 2009-12-31 05:07:22 +00:00
constructor_test.cc
copy_test_1.cc
copy_test_2.cc
copy_test.cc
debug_msg.cc
debug_msg.sh 2010-02-26 Doug Kwan <dougkwan@google.com> 2010-02-27 00:46:00 +00:00
discard_locals_relocatable_test.c * target-reloc.h (relocate_section): Check the symbol table index 2010-03-03 19:31:54 +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 * target-reloc.h (relocate_section): Check the symbol table index 2010-03-03 19:31:54 +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 PR 10916 2009-12-31 01:14:34 +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
final_layout.cc * gold.h (is_wildcard_string): New function. 2010-06-01 23:37:58 +00:00
final_layout.sh * gold.h (is_wildcard_string): New function. 2010-06-01 23:37:58 +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_orphan_section_test.cc * gc.h (Garbage_collection::Cident_section_map): New typedef. 2010-01-07 07:14:30 +00:00
gc_orphan_section_test.sh * gc.h (Garbage_collection::Cident_section_map): New typedef. 2010-01-07 07:14:30 +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_preemptible_functions_test.cc 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
icf_preemptible_functions_test.sh 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
icf_safe_so_test.cc * i386.cc (Target_i386::can_check_for_function_pointers): New function. 2010-03-04 01:33:22 +00:00
icf_safe_so_test.sh 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
icf_safe_test.cc * i386.cc (Target_i386::can_check_for_function_pointers): New function. 2010-03-04 01:33:22 +00:00
icf_safe_test.sh * i386.cc (Target_i386::can_check_for_function_pointers): New function. 2010-03-04 01:33:22 +00:00
icf_string_merge_test.cc 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
icf_string_merge_test.sh 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +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
icf_virtual_function_folding_test.cc 2010-04-23 Sriraman Tallam <tmsriram@google.com> 2010-04-23 18:49:23 +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 * gold.h (is_wildcard_string): New function. 2010-06-01 23:37:58 +00:00
Makefile.in * gold.h (is_wildcard_string): New function. 2010-06-01 23:37:58 +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_common_test_1.c Add prototype to gold tests. 2010-04-09 18:05:43 +00:00
plugin_common_test_2.c Add prototype to gold tests. 2010-04-09 18:05:43 +00:00
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_6.sh gcc PR lto/42757 2010-04-06 21:56:24 +00:00
plugin_test_7_1.c 2010-05-26 Rafael Espindola <espindola@google.com> 2010-05-26 15:47:39 +00:00
plugin_test_7_2.c 2010-05-26 Rafael Espindola <espindola@google.com> 2010-05-26 15:47:39 +00:00
plugin_test_7.sh 2010-05-26 Rafael Espindola <espindola@google.com> 2010-05-26 15:47:39 +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_4.cc * target-reloc.h (visibility_error): New inline function. 2010-01-12 19:12:40 +00:00
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 * expression.cc (Expression::Expression_eval_info): Add 2010-04-23 04:47:33 +00:00
script_test_3.t * expression.cc (Expression::Expression_eval_info): Add 2010-04-23 04:47:33 +00:00
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 2010-02-24 Doug Kwan <dougkwan@google.com> 2010-02-25 05:11:26 +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
script_test_9.cc 2010-05-19 Rafael Espindola <espindola@google.com> 2010-05-19 17:49:19 +00:00
script_test_9.sh 2010-05-19 Rafael Espindola <espindola@google.com> 2010-05-19 17:49:19 +00:00
script_test_9.t 2010-05-19 Rafael Espindola <espindola@google.com> 2010-05-19 17:49:19 +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
thumb2_branch_range.t 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
thumb_bl_in_range.s 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
thumb_bl_out_of_range.s 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +00:00
thumb_blx_in_range.s 2010-03-22 Doug Kwan <dougkwan@google.com> 2010-03-22 22:48:05 +00:00
thumb_blx_out_of_range.s 2010-03-22 Doug Kwan <dougkwan@google.com> 2010-03-22 22:48:05 +00:00
thumb_branch_range.t 2010-02-21 Doug Kwan <dougkwan@google.com> 2010-02-22 06:26:07 +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 * script.cc (class Lazy_demangler): Recreate--revert part of patch 2010-01-12 06:41:36 +00:00
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