Lines Matching refs:Sized_relobj

1696 	* object.cc (Sized_relobj::do_output_section_address): New function.
1697 (Sized_relobj): Instantiate explicitly.
1700 (Sized_relobj::do_output_section_address): New function.
2827 (Sized_relobj::do_elfsize, Sized_relobj::do_is_big_endian): New
4278 (Sized_relobj::do_local_has_got_offset): Rename from
4280 (Sized_relobj::do_local_got_offset): Rename from local_got_offset.
4281 (Sized_relobj::do_set_local_got_offset): Rename from
5851 * object.cc (Sized_relobj::include_section_group): Report kept
6007 * object.cc (Sized_relobj::do_for_all_local_got_entries): New
6024 (Sized_relobj): Rename Sized_relobj_base to this; adjust all
6026 (Sized_relobj::Address): New typedef.
6027 (Sized_relobj::invalid_address): Move here from child class.
6028 (Sized_relobj::Sized_relobj): Initialize new data members.
6029 (Sized_relobj::sized_relobj): New function.
6030 (Sized_relobj::is_output_section_offset_invalid): Move here from
6032 (Sized_relobj::get_output_section_offset): Likewise.
6033 (Sized_relobj::local_has_got_offset): Likewise.
6034 (Sized_relobj::local_got_offset): Likewise.
6035 (Sized_relobj::set_local_got_offset): Likewise.
6036 (Sized_relobj::do_for_all_local_got_entries): Likewise.
6037 (Sized_relobj::clear_got_offsets): New function.
6038 (Sized_relobj::section_offsets): Move here from child class.
6039 (Sized_relobj::do_output_section_offset): Likewise.
6040 (Sized_relobj::do_set_section_offset): Likewise.
6041 (Sized_relobj::Local_got_offsets): Likewise.
6042 (Sized_relobj::local_got_offsets_): Likewise.
6043 (Sized_relobj::section_offsets_): Likewise.
6044 (Sized_relobj_file): Rename Sized_relobj to this; adjust all
6188 * object.cc (Sized_relobj::do_count_local_symbols): Check for
6233 (Sized_relobj::do_output_local_symbol_count): New function.
6234 (Sized_relobj::do_local_symbol_offset): New function.
6297 * gold/reloc.cc (Sized_relobj::do_relocate): Call it.
6604 (Sized_relobj::Sized_relobj): Initialize new base class.
6605 (Sized_relobj::do_layout): Don't report special sections.
6606 (Sized_relobj::do_for_all_local_got_entries): New function.
6607 (Sized_relobj::write_local_symbols): Add symtab_off parameter; add
6609 (Sized_relobj::do_get_global_symbol_counts): Add typename keyword.
6631 (class Sized_relobj): Derive from Sized_relobj_base.
6632 (class Sized_relobj::Symbols): Redeclare from base class.
6633 (class Sized_relobj::local_got_offset_list): Remove.
6634 (class Sized_relobj::Output_sections): Redeclare from base class.
6635 (class Sized_relobj::do_for_all_local_got_entries): New function.
6636 (class Sized_relobj::write_local_symbols): Add offset parameter.
6637 (class Sized_relobj::local_symbol_offset_): Update comment.
6638 (class Sized_relobj::local_dynsym_offset_): Update comment.
6715 (Sized_relobj::do_scan_relocs): Tell finalize_incremental_relocs
6717 (Sized_relobj::incremental_relocs_scan): Fix comment.
6718 (Sized_relobj::do_relocate): Pass output file offset to
6720 (Sized_relobj::incremental_relocs_write_reltype): Use reloc_size
6876 * object.cc (Sized_relobj::do_for_all_global_symbols): New
6880 (Sized_relobj::do_for_all_global_symbols): New function.
7012 * object.h (class Sized_relobj): Remove clear_local_symbols.
7013 * reloc.cc (Sized_relobj::do_relocate): Don't call
7175 * object.cc (Sized_relobj::do_layout): Adjust call to layout_gnu_stack.
7445 * reloc.cc (Sized_relobj::do_read_relocs): Likewise.
7446 (Sized_relobj::do_relocate_sections): Likewise.
7637 * object.cc (Sized_relobj::do_finalize_local_symbols): Remove
7662 * object.cc (Sized_relobj::compute_final_local_value): New methods.
7663 (Sized_relobj::compute_final_local_value_internal): New methods.
7664 (Sized_relobj::do_finalize_local_symbols): Move code from loop
7665 body into private version of Sized_relobj::compute_final_local_value.
7670 (Sized_relobj::Compute_final_local_value_status): New enum type.
7671 (Sized_relobj::compute_final_local_value): New methods.
7672 (Sized_relobj::compute_final_local_value_internal): New methods.
7907 * object.cc (Sized_relobj::Sized_relobj): Initialize
7909 (Sized_relobj::local_has_plt_offset): New function.
7910 (Sized_relobj::local_plt_offset): New function.
7911 (Sized_relobj::set_local_plt_offset): New function.
7912 (Sized_relobj::do_count): Handle IFUNC symbol.
7916 (class Sized_relobj): Update declarations. Remove Tls_got_entry
7919 (Sized_relobj::clear_local_symbols): Clear local_plt_offsets_.
8034 (Sized_relobj::local_got_offset_list): New function.
8173 (Sized_relobj::do_layout): Record input sections in incremental info.
8194 (Sized_relobj::do_relocate_sections): Add parameter. Change caller.
8195 (Sized_relobj::relocate_sections): Add parameter. Change all callers.
8196 (Sized_relobj::incremental_relocs_scan): New function.
8197 (Sized_relobj::incremental_relocs_scan_reltype): New function.
8198 (Sized_relobj::incremental_relocs_write): New function.
8199 (Sized_relobj::incremental_relocs_write_reltype): New function.
8207 (Sized_relobj::do_read_relocs): Need relocations for incremental link.
8208 (Sized_relobj::do_scan_relocs): Record relocations for incremental link.
8209 (Sized_relobj::incremental_relocs_scan): New function.
8210 (Sized_relobj::incremental_relocs_scan_reltype): New function.
8211 (Sized_relobj::do_relocate_sections): Write incremental relocations.
8212 (Sized_relobj::incremental_relocs_write): New function.
8213 (Sized_relobj::incremental_relocs_write_reltype): New function.
8354 * object.cc (Sized_relobj::do_should_include_member): Add layout
8359 (class Sized_relobj): Update declaration.
8557 (Sized_relobj::Sized_relobj): Initialize new data members.
8559 (Sized_relobj::do_read_symbols): Handle compressed debug sections.
8562 (Sized_relobj::Compressed_section_map): New type.
8563 (Sized_relobj::do_section_is_compressed): New method.
8564 (Sized_relobj::compressed_sections_): New data member.
8568 (Sized_relobj::write_sections): Handle compressed debug sections.
8671 * object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
8672 (Sized_relobj::do_layout_deferred_sections): Do layout for deferred
8674 * object.h (Sized_relobj::deferred_layout_relocs_): New data member.
8782 * object.cc (Sized_relobj::do_finalize_local_symbols): Use offset
8789 * gold/object.cc(Sized_relobj::do_layout_deferred_sections): Avoid
9360 (Sized_relobj::do_should_include_member): New.
9439 * reloc.cc (Sized_relobj::split_stack_adjust_reltype): Call the
9542 (Sized_relobj::set_must_have_output_symtab_entry): New function.
9543 * object.cc (Sized_relobj::do_count_local_symbols): Only discard a
9545 (Sized_relobj::do_finalize_local_symbols): Call
9547 (Sized_relobj::write_local_symbols): Call has_output_symtab_entry
10149 * object.h (Sized_relobj::set_output_local_symbol_count): New method.
10200 Sized_relobj::invalidate_section_offset().
10218 (Sized_relobj::invalidate_section_offset): Remove method.
10219 (Sized_relobj::do_invalidate_section_offset): Remove method.
10220 (Sized_relobj::do_set_section_offset): Handle offset value -1.
10381 * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack
10612 * object.cc (Sized_relobj::do_layout): Don't get confused if
10777 * object.cc (Sized_relobj::do_layout): Track sections whose names are
11012 * object.cc (Sized_relobj::do_count_local_symbols): Handle
11184 * object.cc (Sized_relobj::do_finalize_local_symbols): Handle
11376 * object.cc (Sized_relobj::do_layout): Skip attribute section.
11656 Sized_relobj::initialize_input_to_output_maps and
11657 Sized_relobj:free_input_to_output_maps.
11849 (class Sized_relobj): Drop options parameters from
11923 * object.h (Sized_relobj::View_size, Sized_relobj::Views): Change
11925 (Sized_relobj::do_relocate_sections): New method declaration.
11926 (Sized_relobj::relocate_sections): Virtualize.
11927 * reloc.cc (Sized_relobj::do_relocate_sections): Rename from
11928 Sized_relobj::relocate_sections. Instantiate template explicitly
11995 * object.cc (Sized_relobj::do_finalize_local_symbols): Handle section
12089 * object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and
12142 (Sized_relobj::do_scan_relocs): Likewise.
12232 * object.cc (Sized_relobj::do_setup): renamed from
12233 Sized_relobj::set_up.
12234 * object.h (Sized_relobj::adjust_shndx,
12235 Sized_relobj::initializ_input_to_output_maps,
12236 Sized_relobj::free_input_to_output_maps): Change visibilities to
12238 (Sized_relobj::setup): Virtualize.
12239 (Sized_relobj::do_setup): New method declaration.
12240 (Sized_relobj::invalidate_section_offset,
12241 Sized_relobj::do_invalidate_section_offset): New method decfinitions.
12242 (Sized_relobj::elf_file, Sized_relobj::local_values): New methods.
12466 (class Sized_relobj): Define Function_offsets. Declare
12470 (Sized_relobj::do_layout): Call handle_split_stack_section.
12473 * reloc.cc (Sized_relobj::relocate_sections): Call
12476 (Sized_relobj::split_stack_adjust): New function.
12477 (Sized_relobj::split_stack_adjust_reltype): New function.
12478 (Sized_relobj::find_functions): New function.
12579 (class Sized_relobj): Update declarations. Remove sized_target.
12580 * object.cc (Sized_relobj::setup): Remove target parameter.
12615 * reloc.cc (Sized_relobj::do_gc_process_relocs): Get target from
12617 (Sized_relobj::do_scan_relocs): Likewise.
12618 (Sized_relobj::relocate_sections): Likewise.
12648 * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
12926 (Sized_relobj::setup): Take a Target object instead of
12932 (Sized_relobj::setup): Take a Target object instead of
13013 * object.cc (Sized_relobj::do_layout): Allow this function to be
13015 (Sized_relobj::do_finalize_local_symbols): Fold symbols corresponding
13017 (Sized_relobj::do_section_flags): Get section_flags from Symbols_data
13019 (Sized_relobj::do_section_entsize): New function.
13068 * object.cc (Sized_relobj::include_section_group): Update use of
13071 (Sized_relobj::include_linkonce_section): Update use of
13074 (Sized_relobj::map_to_kept_section): Update call to
13076 * object.h (class Sized_relobj): Rename fields in
13080 (Sized_relobj::set_kept_comdat_section): Remove kept parameter.
13082 (Sized_relobj::get_kept_comdat_section): Change return type to
13301 * object.cc (Sized_relobj::do_finalize_local_symbols): Check
13335 * object.cc (Sized_relobj::do_count_local_symbols): Discard
13353 * object.cc (Sized_relobj::Sized_relobj): Initialize
13355 (Sized_relobj::do_layout): Record index of a discard .eh_frame
13357 (Sized_relobj::do_count_local_symbols): Skip local symbols in
13359 (Sized_relobj::do_finalize_local_symbols): Ditto.
13360 * object.h (class Sized_relobj): Declare new member
13493 * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
13989 * object.cc (Sized_relobj::Sized_relobj): Don't initialize
13991 (Sized_relobj::include_section_group): Use
13993 (Sized_relobj::include_linkonce_section): Likewise.
13994 * object.cc (class Sized_relobj): Don't define Comdat_group or
14008 * object.cc (Sized_relobj::do_finalize_local_symbols): In a
14049 * object.cc (Sized_relobj::do_finalize_local_symbols): Handle a
14087 * object.cc (Sized_relobj<size, big_endian>::do_add_symbols): Add the
14091 (Sized_relobj::do_add_symbols): Add the Layout argument.
14104 * object.cc (Sized_relobj::do_layout): Make info message start
14182 * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a
14206 (Sized_relobj::do_layout): Allow this function to be called twice
14219 (Sized_relobj::is_output_section_offset_invalid): New function.
14220 (Sized_relobj::do_gc_process_relocs): New function.
14229 (Sized_relobj::do_gc_process_relocs): New function.
14230 (Sized_relobj::do_scan_relocs): Don't try to scan the relocs for
14279 * object.cc (Sized_relobj::write_local_symbols): Don't write out
14371 * object.cc (Sized_relobj::layout_section): New function.
14372 (Sized_relobj::do_layout): Defer layout of input sections until after
14374 (Sized_relobj::do_layout_deferred_sections): New function.
14378 (Sized_relobj::do_layout_deferred_sections): New function.
14379 (Sized_relobj::layout_section): New function.
14380 (Sized_relobj::Deferred_layout): New structure.
14381 (Sized_relobj::deferred_layout_): New field.
14480 * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
14553 * object.cc (Sized_relobj::do_layout): Use constant invalid_address
14555 (Sized_relobj::do_finalize_local_symbols): Likewise.
14556 (Sized_relobj::map_to_kept_section): Likewise.
14557 * object.h (Sized_relobj::invalid_address): New constant.
14558 (Sized_relobj::do_output_section_offset): Check for invalid_address
14565 * reloc.cc (Sized_relobj::write_sections): Use constant
14567 (Sized_relobj::relocate_sections): Likewise.
15001 (Sized_relobj::Sized_relobj): Initialize defined_count_.
15002 (Sized_relobj::do_get_global_symbol_counts): New function.
15010 (class Sized_relobj): Add defined_count_ field. Update
15076 uses. Move comdat group support to Sized_relobj.
15086 (class Sized_relobj): Add section_offsets_ field. Add comdat
15088 (Sized_relobj::get_output_section_offset): New function.
15089 (Sized_relobj::do_output_section_offset): New function.
15090 (Sized_relobj::do_set_section_offset): New function.
15092 (Sized_relobj::Sized_relobj): Initialize new fields.
15093 (Sized_relobj::include_section_group): Cast find_kept_object to
15094 Sized_relobj.
15095 (Sized_relobj::include_linkonce_section): Likewise.
15096 (Sized_relobj::do_layout): Use separate arrays for output section
15098 (Sized_relobj::do_count_local_symbols): Change map_to_output to
15100 (Sized_relobj::do_finalize_local_symbols): Change map_to_output to
15102 (Sized_relobj::write_local_symbols): Likewise.
15104 * reloc.cc (Sized_relobj::do_read_relocs): Change map_to_output to
15106 (Sized_relobj::write_sections): Likewise.
15107 (Sized_relobj::relocate_sections): Likewise.
15110 u2_.relobj to Sized_relobj*.
15112 Sized_relobj*.
15114 Sized_relobj*.
15124 parameter to Sized_relobj*.
15129 Sized_relobj*. Change relobj_ field to Sized_relobj*.
15137 Sized_relobj*.
15170 * object.cc (Sized_relobj::do_read_symbols): Don't try to read
15342 * object.h (Sized_relobj::symbol_count): New function.
15577 * object.cc (Sized_relobj::include_section_group): Adjust section
15609 (Sized_relobj::include_section_group): Add new parameters. Change
15612 (Sized_relobj::include_linkonce_section): Likewise. Add new parameter.
15613 (Sized_relobj::do_layout): Change calls to include_section_group and
15615 (Sized_relobj::do_finalize_local_symbols): Do not set local symbol
15617 (Sized_relobj::map_to_kept_section): New function.
15630 (Sized_relobj::map_to_kept_section) New function.
15631 (Sized_relobj::include_linkonce_section): Add new parameter.
15657 * object.cc (Sized_relobj::include_section_group): Check for
15682 * object.cc (Sized_relobj::do_add_symbols): Always pass
15692 (Sized_relobj::find_symtab): Pick up SHT_SYMTAB_SHNDX section if
15694 (Sized_relobj::do_initialize_xindex): New function.
15695 (Sized_relobj::do_read_symbols): Adjust section links.
15696 (Sized_relobj::symbol_section_and_value): Add is_ordinary
15698 (Sized_relobj::include_section_group): Adjust section links and
15700 (Sized_relobj::do_layout): Adjust section links.
15701 (Sized_relobj::do_count_local_symbols): Adjust section links and
15703 (Sized_relobj::do_finalize_local_symbols): Distinguish between
15705 (Sized_relobj::write_local_symbols): Add symtab_xindex and
15708 (Sized_relobj::get_symbol_location_info): Adjust section links.
15723 (class Sized_relobj): Update declarations.
15724 (Sized_relobj::local_symbol_input_shndx): Add is_ordinary
15726 (Sized_relobj::adjust_shndx): New function.
15826 * reloc.cc (Sized_relobj::do_read_relocs): Adjust section links.
15827 (Sized_relobj::relocate_sections): Likewise.
16249 * object.cc (Sized_relobj::check_eh_frame_flags): Don't require
16586 (Sized_relobj::local_has_got_offset): Added got_type parameter.
16587 (Sized_relobj::local_got_offset): Likewise.
16588 (Sized_relobj::set_local_got_offset): Likewise.
16589 (Sized_relobj::local_has_tls_got_offset): Removed.
16590 (Sized_relobj::local_tls_got_offset): Removed.
16591 (Sized_relobj::set_local_tls_got_offset): Removed.
16592 (Sized_relobj::Local_got_offsets): Changed to store a list of offsets.