binutils-gdb/gold/testsuite
Sriraman Tallam ce97fa81e0 2010-04-18 Sriraman Tallam <tmsriram@google.com>
* icf.cc (get_section_contents): Check for preemptible functions.
	Ignore addend when appropriate.
	* symtab.cc (should_add_dynsym_entry): Add new parameter.  Check for
	section folded.
	(add_from_relobj): Check for section folded.
	(set_dynsym_indexes): Fix call to should_add_dynsym_entry.
	* symtab.h (should_add_dynsym_entry): Add new parameter.
	* target-reloc.h (scan_relocs): Check for section folded.
	* x86_64.cc (Target_x86_64::Scan::possible_function_pointer_reloc):
	Check reloc types for function pointers in shared objects.
	* testsuite/Makefile.am (icf_virtual_function_folding_test): New test
	case.
	(icf_preemptible_functions_test): New test case.
	(icf_string_merge_test): New test case.
	* testsuite.Makefile.in: Regenerate.
	* testsuite/icf_safe_so_test.sh: Change to not fold foo_glob and
	bar_glob.  Refactor code.
	* testsuite/icf_preemptible_functions_test.cc: New file.
	* testsuite/icf_preemptible_functions_test.sh: New file.
	* testsuite/icf_string_merge_test.cc: New file.
	* testsuite/icf_string_merge_test.sh: New file.
	* testsuite/icf_virtual_function_folding_test.cc: New file.
	* testsuite/icf_virtual_function_folding_test.sh: New file.
2010-04-20 21:13:30 +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_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 * 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 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
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-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
icf_virtual_function_folding_test.sh 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +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 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
Makefile.in 2010-04-18 Sriraman Tallam <tmsriram@google.com> 2010-04-20 21:13:30 +00:00
many_sections_test.cc * object.cc (Sized_relobj::include_section_group): Adjust section 2008-05-05 19:16:43 +00:00
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.c Include "config.h". 2009-11-09 16:11:34 +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_4.cc * target-reloc.h (visibility_error): New inline function. 2010-01-12 19:12:40 +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::Layout): Initialize increase_relro_. 2009-12-30 06:57:17 +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
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 * testsuite/script_test_3.t: Add a TLS segment. 2010-03-24 18:12:48 +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
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 * 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 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