darling-gdb/gold/testsuite
Cary Coutant c2b45e22d5 2008-04-11 Cary Coutant <ccoutant@google.com>
Add support for TLS descriptors for i386 and x86_64.
	* i386.cc (Target_i386::Relocate::tls_desc_gd_to_ie): New function.
	(Target_i386::Relocate::tls_desc_gd_to_le): New function.
	(Target_i386::Got_type): Add GOT_TYPE_TLS_NOFFSET and
	GOT_TYPE_TLS_DESC.
	(Target_i386::got_mod_index_entry): Remove unnecessary code.
	(Target_i386::Scan::local): Implement R_386_TLS_GOTDESC and
	R_386_TLS_DESC_CALL relocations.  Fix problem with initial-exec
	relocations.
	(Target_i386::Scan::global): Fix problem with GD-to-IE relaxation.
	Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations;
	Fix problem with initial-exec relocations.
	(Target_i386::Relocate::relocate_tls): Likewise.
	(Target_i386::Relocate::tls_gd_to_ie): Fix problem with GD-to-IE
	relaxation.
	* output.cc (Output_data_dynamic::Dynamic_entry::write): Add
	support for section-plus-offset dynamic table entries.
	* output.h (Output_data_dynamic::add_section_plus_offset): New function.
	(Output_data_dynamic::Dynamic_entry): Add support for
	section-plus-offset dynamic table entries.
	(Output_data_dynamic::Classification): Likewise.
	(Output_data_dynamic::classification_): Renamed offset_.
	* x86_64.cc (Target_x86_64::Relocate::tls_desc_gd_to_ie): New function.
	(Target_x86_64::Relocate::tls_desc_gd_to_le): New function.
	(Target_x86_64::make_plt_section): New function.
	(Target_x86_64::reserve_tlsdesc_entries): New function.
	(Output_data_plt_x86_64::Output_data_plt_x86_64): Add new parameter.
	(Output_data_plt_x86_64::reserve_tlsdesc_entry): New function.
	(Output_data_plt_x86_64::has_tlsdesc_entry): New function.
	(Output_data_plt_x86_64::get_tlsdesc_got_offset): New function.
	(Output_data_plt_x86_64::get_tlsdesc_plt_offset): New function.
	(Output_data_plt_x86_64::tlsdesc_plt_entry): New field.
	(Output_data_plt_x86_64::set_final_data_size): Move out of line;
	add extra PLT entry for TLS descriptors.
	(Output_data_plt_x86_64::got_): New field.
	(Output_data_plt_x86_64::tlsdesc_got_offset_): New field.
	(Output_data_plt_x86_64::Output_data_plt_x86_64): Initialize new
	fields.
	(Output_data_plt_x86_64::do_write): Write extra PLT entry for TLS
	descriptors.
	(Target_x86_64::make_plt_entry): Factor out make_plt_section.
	(Target_x86_64::got_mod_index_entry): Remove unnecessary code.
	(Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
	R_386_TLS_DESC_CALL relocations.
	(Target_x86_64::Scan::global): Likewise.
	(Target_x86_64::do_finalize_sections): Add dynamic table entries
	for TLS descriptors.
	(Relocate::relocate_tls): Fix problem with GD-to-IE relaxation.
	Implement R_386_TLS_GOTDESC and R_386_TLS_DESC_CALL relocations.
	(Target_x86_64::Relocate::tls_gd_to_ie): Fix problem with
	GD-to-IE relaxation.
	* configure.ac: Export new conditional variables TLS_GNU2_DIALECT
	and TLS_DESCRIPTORS.
	* Makefile.in: Rebuild.
	* configure: Rebuild.
	* testsuite/Makefile.am (tls_shared_gd_to_ie_test): New target.
	(tls_test_shared2.so): New target.
	(tls_shared_gd_to_ie_test_SOURCES): New variable.
	(tls_shared_gd_to_ie_test_DEPENDENCIES): New variable.
	(tls_shared_gd_to_ie_test_LDFLAGS): New variable.
	(tls_shared_gd_to_ie_test_LDADD): New variable.
	(tls_shared_gnu2_gd_to_ie_test): New target.
	(tls_test_gnu2.o, tls_test_file2_gnu2.o, tls_test_gnu2_shared2.so):
	New targets.
	(tls_shared_gnu2_gd_to_ie_test_SOURCES): New variable.
	(ls_shared_gnu2_gd_to_ie_test_DEPENDENCIES): New variable.
	(tls_shared_gnu2_gd_to_ie_test_LDFLAGS): New variable.
	(tls_shared_gnu2_gd_to_ie_test_LDADD): New variable.
	(tls_shared_gnu2_test): New target.
	(tls_test_gnu2_shared.so): New target.
	(tls_shared_gnu2_test_SOURCES): New variable.
	(tls_shared_gnu2_test_DEPENDENCIES): New variable.
	(tls_shared_gnu2_test_LDFLAGS): New variable.
	(tls_shared_gnu2_test_LDADD): New variable.
	* testsuite/Makefile.in: Rebuild.
	* testsuite/Makefile.
2008-04-11 21:24:30 +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 From Craig Silverstein: Have Parameters point to General_options. 2008-02-28 00:18:24 +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
debug_msg.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
debug_msg.sh Update copyright years. Update language files. 2008-03-13 21:04:21 +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
initpri1.c * output.cc 2008-03-29 08:09:55 +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
Makefile.am 2008-04-11 Cary Coutant <ccoutant@google.com> 2008-04-11 21:24:30 +00:00
Makefile.in 2008-04-11 Cary Coutant <ccoutant@google.com> 2008-04-11 21:24:30 +00:00
object_unittest.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +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
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 * testsuite/Makefile.am (justsyms_2r.o): Add dependency on 2008-04-11 20:44:52 +00:00
script_test_2.t Force different sections to different pages for better results on 2008-02-12 00:15:40 +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
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 --wrap as a special 2008-04-09 00:48:13 +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
tls_test_file2.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
tls_test_main.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
tls_test.cc Make sure the start and size of the TLS segment are aligned. 2008-03-19 21:41:38 +00:00
tls_test.h Update copyright years. Update language files. 2008-03-13 21:04:21 +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 Update copyright years. Update language files. 2008-03-13 21:04:21 +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_2.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
ver_test_2.script Update copyright years. Update language files. 2008-03-13 21:04:21 +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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
ver_test_4.script Update copyright years. Update language files. 2008-03-13 21:04:21 +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 * symtab.cc (Symbol_table::add_from_object): Handle saw_undefined_ 2008-03-27 18:19:09 +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_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 Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
ver_test.h Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
version_script.map Originally from Craig Silverstein, with changes: support using a 2008-01-24 00:15:00 +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_test.cc Update copyright years. Update language files. 2008-03-13 21:04:21 +00:00
weak_undef_file1.cc 2008-04-04 Cary Coutant <ccoutant@google.com> 2008-04-04 17:24:47 +00:00
weak_undef_file2.cc 2008-04-04 Cary Coutant <ccoutant@google.com> 2008-04-04 17:24:47 +00:00
weak_undef_test.cc 2008-04-04 Cary Coutant <ccoutant@google.com> 2008-04-04 17:24:47 +00:00