Lines Matching refs:Target_x86_64
85 * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for
90 * x86_64.cc (Target_x86_64::Scan::global): Allow IE-to-LE optimization
92 (Target_x86_64::Relocate::relocate_tls): Likewise.
93 (Target_x86_64::Relocate::tls_ie_to_le): Likewise.
128 (Target_x86_64<size>::do_calls_non_split): Handle x32.
146 * x86_64.cc (Target_x86_64<size>::Relocate::tls_ie_to_le): Handle
441 * x86_64.cc (Target_x86_64<size>::Scan::global): Don't make PLT
443 (Target_x86_64<size>::Relocate::relocate): Update comments for
941 * x86_64.cc (Target_x86_64::Relocate::relocate): Use signed int
953 * x86_64.cc (Target_x86_64<size>::Scan::global): Add check for no
988 (Target_x86_64::got_plt_): Change type. Change all references.
989 (Target_x86_64::got_section): Create instance of new class.
992 (Target_x86_64<size>::init_got_plt_for_update): Create instance of new
1031 * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
1256 * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
1259 (Target_x86_64<size>::Scan::local): Likewise.
1260 (Target_x86_64<size>::Scan::global): Likewise.
1261 (Target_x86_64<size>::Relocate::relocate): Likewise.
1262 (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
1264 (Target_x86_64<size>::Scan::check_non_pic(): Handle
1546 * x86_64.cc (Target_x86_64): Likewise.
1582 * x86_64.cc (Target_x86_64<size>::Scan::global): Use relative
1716 * x86_64.cc: (Target_x86_64::x86_64_info) Likewise.
1960 * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
2713 * x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
2852 * x86_64.cc (Target_x86_64::relocate_section): Likewise.
3059 * x86_64.cc (Target_x86_64::Scan::local): Likewise.
3169 * x86_64.cc (Target_x86_64): Likewise.
3335 * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
3571 * x86_64.cc (Target_x86_64::Scan::local): For x32, generate
3624 * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
3710 (Target_x86_64::Target_x86_64): Take optional argument for the
3712 (Target_x86_64::do_make_data_plt): New virtual method.
3713 (Target_x86_64::make_data_plt): New method to call it.
3714 (Target_x86_64::init_got_plt_for_update): Use that.
3717 (Target_x86_64::first_plt_entry_offset): Call method on this->plt_
3719 (Target_x86_64::plt_entry_size): Likewise.
3924 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
4234 * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
4264 * gold/x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.
4331 * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
4479 * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.
4597 * x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when
4908 * x86_64.cc (Target_x86_64::got_section): Likewise.
4923 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
4971 * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
4983 * x86_64.cc (Target_x86_64::relocate_tls): Likewise.
5048 (class Target_x86_64): Add got_irelative_ and rel_irelative_
5050 (Target_x86_64::Target_x86_64): Initialize new fields.
5051 (Target_x86_64::do_plt_address_for_global): New function replacing
5053 (Target_x86_64::do_plt_address_for_local): New function replacing
5055 (Target_x86_64::got_section): Create got_irelative_.
5056 (Target_x86_64::rela_irelative_section): New function.
5074 (Target_x86_64::init_got_plt_for_update): Create got_irelative_.
5075 (Target_x86_64::register_global_plt_entry): Add symtab and layout
5077 (Target_x86_64::Scan::global): Use IRELATIVE GOT for IRELATIVE
5079 (Target_x86_64::do_finalize_sections): Create the __rela_iplt
5081 (Target_x86_64::Relocate::relocate): Use plt_address_for_global and
5083 (Target_x86_64::do_dynsym_value): Use plt_address_for_global.
5199 * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
5275 * x86_64.cc (Target_x86_64::do_ehframe_datarel_base): New
5425 * x86_64.cc (class Target_x86_64): Likewise.
5450 * x86_64.cc (Target_x86_64::do_can_check_for_function_pointers):
5452 (Target_x86_64::can_icf_inline_merge_sections): Remove.
5453 (Target_x86_64::x86_64_info): Initialize
5623 * x86_64.cc (Target_x86_64::Scan::check_non_pic): Add gsym
5770 * x86_64.cc (Target_x86_64::emit_copy_reloc): New function.
6094 * x86_64.cc (Target_x86_64::reserve_local_got_entry): New function.
6095 (Target_x86_64::reserve_global_got_entry): New function.
6096 (Target_x86_64::init_got_plt_for_update): Create rela_dyn section.
6171 (Target_x86_64::init_got_plt_for_update): New function.
6172 (Target_x86_64::register_global_plt_entry): New function.
6267 * x86_64.cc (Target_x86_64::apply_relocation): New function.
7117 * x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error
7287 * x86_64.cc (Target_x86_64::Scan::get_reference_flags): New function.
7288 (Target_x86_64::Scan::reloc_needs_plt_for_ifunc): Use it.
7289 (Target_x86_64::Scan::global): Likewise.
7290 (Target_x86_64::Relocate::relocate): Likewise.
7614 * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.
7615 (Target_x86_64::Relocate::relocate_tls): Replace check for
7882 (Target_x86_64::do_plt_section_for_global): New function.
7883 (Target_x86_64::do_plt_section_for_local): New function.
7889 (Target_x86_64::make_plt_section): Set sh_info field of .rel.plt
7891 (Target_x86_64::make_local_ifunc_plt_entry): New function.
7892 (Target_x86_64::Scan::check_non_pic): Add R_X86_64_IRELATIVE to
7894 (Target_x86_64::Scan::reloc_needs_iplt_for_ifunc): New function.
7895 (Target_x86_64::Scan::local): Handle IFUNC symbols. Add
7897 (Target_x86_64::Scan::global): Likewise.
7898 (Target_x86_64::Relocate::relocate): Likewise.
7899 (Target_x86_64::Relocatable_size_for_reloc): Add R_X86_64_IRELATIVE to
8056 * x86_64.cc (Target_x86_64::got_size): Add const.
8057 (Target_x86_64::got_entry_count): New function.
8058 (Target_x86_64::plt_entry_count): New function.
8059 (Target_x86_64::first_plt_entry_offset): New function.
8060 (Target_x86_64::plt_entry_size): New function.
8228 * x86_64.cc (Target_x86_64::Scan::local): Use
8231 (Target_x86_64::Scan::global): Likewise.
8232 (Target_x86_64::Relocate::relocate): Likewise.
8233 (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc):
8393 * x86_64.cc (class Target_x86_64): Add got_tlsdesc_ field.
8394 (Target_x86_64::Target_x86_64):: Initialize got_tlsdesc_.
8395 (Target_x86_64::got_tlsdesc_section): New function.
8396 (Target_x86_64::got_section): Create space for GOT entries for
8398 (Target_x86_64::Scan::local): Use TLSDESC GOT for unoptimized
8400 (Target_x86_64::Scan::global): Likewise.
8401 (Target_x86_64::Relocate::relocate_tls): Adjust GOT offset when
8415 * x86_64.cc (Target_x86_64<big_endian>::gc_process_relocs): Add template
8523 * x86_64.cc (Target_x86_64::got_section): Likewise.
9094 * x86_64.cc (Target_x86_64::Scan::possible_function_pointer_reloc):
9770 (Target_x86_64::can_check_for_function_pointers): New function.
9967 * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
10647 * x86_64.cc (class Target_x86_64): Add tlsdesc_reloc_info_ field.
10649 (Target_x86_64::Target_x86_64): Initialize tlsdesc_reloc_info_.
10650 (Target_x86_64::do_reloc_symbol_index): New function.
10651 (Target_x86_64::add_tlsdesc_info): New function.
10658 (Target_x86_64::rela_tlsdesc_section): New function.
10659 (Target_x86_64::Scan::local): Rewrite R_X86_64_GOTPC32_TLSDESC
10661 (Target_x86_64::Scan::global): For R_X86_64_GOTPC32_TLSDESC put
10662 (Target_x86_64::do_reloc_addend): New function.
10721 * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
11046 * x86_64.cc (class Target_x86_64): Initialize global_offset_table_
11048 (Target_x86_64::got_section): Set global_offset_table_.
11049 (Target_x86_64::do_finalize_sections): Set global_offset_table_
11079 * x86_64.cc (Target_x86_64::got_section): Likewise.
11156 * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
11364 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
11387 * x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
11450 * x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional
11620 * x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid
11713 * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
11837 * x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
12494 * x86_64.cc (Target_x86_64::relocate_section): Add
12496 (Target_x86_64::do_calls_non_split): New function.
12571 (Target_x86_64::Scan::global): Use Symbol::may_need_copy_reloc
12572 instead of the removed Target_x86_64::may_need_copy_reloc.
12991 * x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for a
13052 * x86_64.cc (Target_x86_64::do_code_fill): Correct nop sequences.
13318 * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
13319 (Target_x86_64::do_new_output_section): New function.
13674 * x86_64.cc (Target_x86_64::check_non_pic): Likewise.
13745 (Target_x86_64): Derive from Target_freebsd rather than
13966 * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
14174 * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
14256 * x86_64.cc (Target_x86_64::gc_process_relocs): New function.
14667 * x86_64.cc (Target_x86_64::do_is_defined_by_abi): Likewise.
14676 * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
14684 * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
14720 * x86_64.cc (Target_x86_64::Relocate::relocat_tls):
15140 * x86_64.cc (Target_x86_64::copy_reloc): Likewise.
15406 * x86_64.cc (Target_x86_64::got_section): Likewise.
15429 * x86_64.cc (Target_x86_64::Relocate): Add saw_tls_block_reloc_
15431 (Target_x86_64::Relocate::relocate_tls): Record that we saw a TLS
15934 * x86_64.cc (Target_x86_64::define_tls_base_symbol): New function.
15935 (Target_x86_64::tls_base_symbol_defined_): New field.
15936 (Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
15937 (Target_x86_64::Scan::global): Likewise.
15998 (class Target_x86_64): Change type of copy_relocs_ to variable,
16000 (Target_x86_64::copy_reloc): Rewrite to pass to Copy_relocs
16002 (Target_x86_64::do_finalize_sections): Change handling of
16075 * x86_64.cc (Target_x86_64::got_mod_index_entry): Likewise.
16107 * x86_64.cc (Target_x86_64::Relocate::tls_desc_gd_to_ie): New function.
16108 (Target_x86_64::Relocate::tls_desc_gd_to_le): New function.
16109 (Target_x86_64::make_plt_section): New function.
16110 (Target_x86_64::reserve_tlsdesc_entries): New function.
16125 (Target_x86_64::make_plt_entry): Factor out make_plt_section.
16126 (Target_x86_64::got_mod_index_entry): Remove unnecessary code.
16127 (Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
16129 (Target_x86_64::Scan::global): Likewise.
16130 (Target_x86_64::do_finalize_sections): Add dynamic table entries
16134 (Target_x86_64::Relocate::tls_gd_to_ie): Fix problem with
16238 * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
16267 * x86_64.cc (Target_x86_64::Scan): Change from struct to class.
16269 (Target_x86_64::Scan::check_non_pic): New function.
16270 (Target_x86_64::Scan::local): Call check_non_pic as appropriate.
16271 (Target_x86_64::Scan::global): Likewise.
16520 * x86_64.cc (Target_x86_64::do_code_fill): Swap out a 32-bit value
16643 * x86_64.cc (Target_x86_64::Got_type): New enum declaration.
16644 (Target_x86_64::Scan::local): Updated callers of Output_data_got
16646 (Target_x86_64::Scan::global): Likewise.
16647 (Target_x86_64::Relocate::relocate): Likewise.
16648 (Target_x86_64::Relocate::relocate_tls): Likewise.