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
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
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
dynamic_list.t
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
exclude_libs_test_3.c
exclude_libs_test.c
exclude_libs_test.sh
gc_comdat_test_1.cc
gc_comdat_test_2.cc
gc_comdat_test.sh
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
gc_tls_test.sh
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
icf_test.sh
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
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
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
plugin_test_2.sh
plugin_test_3.sh
plugin_test_4.sh
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
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
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_test_2.t
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
script_test_5.sh 2010-02-24 Doug Kwan <dougkwan@google.com> 2010-02-25 05:11:26 +00:00
script_test_5.t
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
thin_archive_test_1.cc
thin_archive_test_2.cc
thin_archive_test_3.cc
thin_archive_test_4.cc
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
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
tls_test.h
two_file_shared.sh
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
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
ver_test_2.cc
ver_test_2.script
ver_test_2.sh
ver_test_3.cc
ver_test_4.cc
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
ver_test_7.cc
ver_test_7.sh
ver_test_8.script
ver_test_9.cc
ver_test_10.script
ver_test_10.sh
ver_test_main_2.cc
ver_test_main.cc
ver_test.h
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
weak_plt_shared.cc
weak_plt.sh
weak_test.cc
weak_undef_file1.cc
weak_undef_file2.cc
weak_undef_test.cc
weak_undef.h