binutils-gdb/gold/testsuite
Ian Lance Taylor 364c7fa5c9 * options.h (class General_options): Define
split_stack_adjust_size parameter.
	* object.h (class Object): Add uses_split_stack_ and
	has_no_split_stack_ fields.  Add uses_split_stack and
	has_no_split_stack accessor functions.  Declare
	handle_split_stack_section.
	(class Reloc_symbol_changes): Define.
	(class Sized_relobj): Define Function_offsets.  Declare
	split_stack_adjust, split_stack_adjust_reltype, and
	find_functions.
	* object.cc (Object::handle_split_stack_section): New function.
	(Sized_relobj::do_layout): Call handle_split_stack_section.
	* dynobj.cc (Sized_dynobj::do_layout): Call
	handle_split_stack_section.
	* reloc.cc (Sized_relobj::relocate_sections): Call
	split_stack_adjust for executable sections in split_stack
	objects.  Pass reloc_map to relocate_section.
	(Sized_relobj::split_stack_adjust): New function.
	(Sized_relobj::split_stack_adjust_reltype): New function.
	(Sized_relobj::find_functions): New function.
	* target-reloc.h: Include "object.h".
	(relocate_section): Add reloc_symbol_changes parameter.  Change
	all callers.
	* target.h (class Target): Add calls_non_split method.  Declare
	do_calls_non_split virtual method.  Declare match_view and
	set_view_to_nop.
	* target.cc: Include "elfcpp.h".
	(Target::do_calls_non_split): New function.
	(Target::match_view): New function.
	(Target::set_view_to_nop): New function.
	* gold.cc (queue_middle_tasks): Give an error if mixing
	split-stack and non-split-stack objects with -r.
	* i386.cc (Target_i386::relocate_section): Add
	reloc_symbol_changes parameter.
	(Target_i386::do_calls_non_split): New function.
	* x86_64.cc (Target_x86_64::relocate_section): Add
	reloc_symbol_changes parameter.
	(Target_x86_64::do_calls_non_split): New function.
	* arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
	parameter.
	* powerpc.cc (Target_powerpc::relocate_section): Add
	reloc_symbol_changes parameter.
	* sparc.cc (Target_sparc::relocate_section): Add
	reloc_symbol_changes parameter.
	* configure.ac: Call AM_CONDITIONAL for the default target.
	* configure: Rebuild.
	* testsuite/Makefile.am (TEST_AS): New variable.
	(check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
	(check_DATA): Add split_i386 and split_x86_64 files.
	(SPLIT_DEFSYMS): Define.
	(split_i386_[1234n].o): New targets.
	(split_i386_[124]): New targets.
	(split_i386_[1234r].stdout): New targets.
	(split_x86_64_[1234n].o): New targets.
	(split_x86_64_[124]): New targets.
	(split_x86_64_[1234r].stdout): New targets.
	(MOSTLYCLEANFILES): Add new executables.
	* testsuite/split_i386.sh: New file.
	* testsuite/split_x86_64.sh: New file.
	* testsuite/split_i386_1.s: New file.
	* testsuite/split_i386_2.s: New file.
	* testsuite/split_i386_3.s: New file.
	* testsuite/split_i386_4.s: New file.
	* testsuite/split_i386_n.s: New file.
	* testsuite/split_x86_64_1.s: New file.
	* testsuite/split_x86_64_2.s: New file.
	* testsuite/split_x86_64_3.s: New file.
	* testsuite/split_x86_64_4.s: New file.
	* testsuite/split_x86_64_n.s: New file.
	* testsuite/testfile.cc (Target_test): Update relocation_section
	function.
	* testsuite/Makefile.in: Rebuild.
2009-10-06 22:58:27 +00:00
..
basic_test.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
binary_test.cc Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
binary_unittest.cc * object.h (class Object): Remove target_ field, and target, 2009-09-30 22:21:13 +00:00
binary.in Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
common_test_1.c * common.cc (Sort_commons::operator): Correct sorting algorithm. 2008-03-27 19:57:41 +00:00
constructor_test.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
exception_test_2.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
exception_test_main.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
exception_test.h Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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_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
initpri1.c * testsuite/initpri1.c: Don't try to use constructor priorities if 2009-09-27 05:20:03 +00:00
justsyms_1.cc * testsuite/justsyms.t: Start at 0x100. 2008-04-11 18:49:40 +00:00
justsyms_2.cc Implement --just-symbols, including -R FILE. Fix symbol values when 2008-02-07 01:51:25 +00:00
justsyms.t * testsuite/justsyms.t: Start at 0x100. 2008-04-11 18:49:40 +00:00
large.c * layout.cc (Layout::make_output_section): Call 2009-06-22 06:51:53 +00:00
Makefile.am * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
Makefile.in * options.h (class General_options): Define 2009-10-06 22:58:27 +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 * object.h (class Object): Remove target_ field, and target, 2009-09-30 22:21:13 +00:00
odr_violation1.cc From Craig Silverstein: Rework debug info code a bit, add option for 2007-11-14 01:03:01 +00:00
odr_violation2.cc From Craig Silverstein: Rework debug info code a bit, add option for 2007-11-14 01:03:01 +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.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
retain_symbols_file_test.sh * testsuite/retain_symbols_file_test.sh (check_present): Change 2009-09-22 19:54:46 +00:00
script_test_1.cc Support assignments and expressions in linker scripts. 2008-01-09 19:57:45 +00:00
script_test_1.t Support assignments and expressions in linker scripts. 2008-01-09 19:57:45 +00:00
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 Force different sections to different pages for better results on 2008-02-12 00:15:40 +00:00
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
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
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
test.h Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
testfile.cc * options.h (class General_options): Define 2009-10-06 22:58:27 +00:00
testfile.h Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
testmain.cc PR gold/5986 2008-03-26 23:36:46 +00:00
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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_shared.sh PR 9918 2009-03-04 06:46:27 +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 From Cary Coutant: Fix a case in which code takes the address of a 2008-02-01 00:39:10 +00:00
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
undef_symbol.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
undef_symbol.sh 2009-02-06 Chris Demetriou <cgd@google.com> 2009-02-06 19:20:10 +00:00
ver_matching_def.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
ver_matching_test.sh Originally from Craig Silverstein, with changes: support using a 2008-01-24 00:15:00 +00:00
ver_test_1.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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 Don't get confused about whether a symbol is the default version if we 2008-03-14 05:57:19 +00:00
ver_test_3.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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 * symtab.cc (Symbol_table::do_define_as_constant): Don't force a 2008-03-29 08:39:26 +00:00
ver_test_5.cc * symtab.cc (Symbol_table::add_from_relobj): Don't set the version 2008-03-27 06:11:57 +00:00
ver_test_5.script * symtab.cc (Symbol_table::add_from_relobj): Don't set the version 2008-03-27 06:11:57 +00:00
ver_test_5.sh * symtab.cc (Symbol_table::add_from_relobj): Don't set the version 2008-03-27 06:11:57 +00:00
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 * symtab.cc (Symbol_table::add_from_object): If we don't use the 2008-03-29 07:19:02 +00:00
ver_test_7.sh * symtab.cc (Symbol_table::add_from_object): If we don't use the 2008-03-29 07:19:02 +00:00
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 Don't get confused about whether a symbol is the default version if we 2008-03-14 05:57:19 +00:00
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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
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