Lines Matching refs:Output_section
727 * output.cc (Output_section::Input_section_sort_entry): Remove
730 (Output_section::Input_section_sort_entry::section_has_name): Remove.
731 (Output_section::Input_section_sort_entry::section_has_name_): Remove.
732 (Output_section::Input_section_sort_compare): Remove logic for
734 (Output_section::Input_section_sort_init_fini_compare): Likewise.
735 (Output_section::Input_section_sort_section_prefix_special_ordering_compare):
737 (Output_section::Input_section_sort_section_name_compare): Likewise.
1854 * output.cc (Output_section::Input_section_sort_section_name_compare::
1856 (Output_section::sort_attached_input_sections): Use new sort function
1930 * output.cc (Output_section::add_merge_input_section): Allow
2321 (Output_section::
2324 (Output_section::sort_attached_input_sections): Use new sort function
2414 * output.cc (Output_section::add_input_section): For incremental
2458 * output.cc (Output_section::add_input_section): Revert last
2460 (Output_section::Input_section_sort::match_file_name): Don't crash
2462 (Output_section::Input_section_sort_compare): Sort based on
2464 (Output_section::Input_section_sort_section_order_index_compare):
2466 (Output_section::sort_attached_input_sections): Likewise.
2472 * output.cc (Output_section::add_input_section): Check if section
2475 (Output_section::Input_section_sort_section_order_index_compare
2477 (Output_section::sort_attached_input_sections): Add condition to
2519 * output.h (Output_section::input_sections): Provide non-const variant.
2620 (Output_section::set_addralign): New function.
2621 (Output_section::checkpoint_set_addralign): New function.
2622 (Output_section::clear_section_offsets_need_adjustment): New function.
2623 (Output_section::input_sections): Make public.
3267 * output.cc (Output_section::Output_section): Initialize new
3269 * output.h (Output_section::is_unique_segment): New function.
3270 (Output_section::set_is_unique_segment): New function.
3271 (Output_section::is_unique_segment_): New member.
3272 (Output_section::extra_segment_flags): New function.
3273 (Output_section::set_extra_segment_flags): New function.
3274 (Output_section::extra_segment_flags_): New member.
3275 (Output_section::segment_alignment): New function.
3276 (Output_section::set_segment_alignment): New function.
3277 (Output_section::segment_alignment_): New member.
3345 * script-sections.h (class Output_section): Update
4613 * output.cc (Output_section::add_input_section): Check for patterns
4751 (Output_section::Output_section): Initialize new data member.
4752 (Output_section::set_final_data_size): Ensure patch space is larger
4754 (Output_section::do_write): Fill holes in debug sections.
4758 (Output_section::set_free_space_fill): New function.
4759 (Output_section::free_space_fill_): New data member.
4862 * output.cc (Output_section::add_input_section): Use
4865 * output.cc (Output_section::add_relaxed_input_section): Use
4868 (Output_section::update_section_layout): New function.
4869 (Output_section::sort_attached_input_sections): Check if input section
4871 * output.h (Output_section::update_section_layout): New function.
5156 * output.cc (Output_section::Output_section): Initialize new data
5158 (Output_section::add_input_section): Print section name when out
5160 (Output_section::add_output_section_data): Likewise.
5161 (Output_section::set_final_data_size): Add patch space when
5163 (Output_section::do_reset_address_and_file_offset): Remove patch
5167 * output.h (Output_section::set_is_patch_space_allowed): New function.
5168 (Output_section::is_patch_space_allowed_): New data member.
5169 (Output_section::patch_space_): New data member.
5349 * output.cc (Output_section::write_header): Call it.
5551 (Output_section::Input_section_sort_init_fini_compare::operator()):
5677 (Output_section::add_input_section): Likewise.
5678 (Output_section::add_output_section_data): Likewise.
5709 * output.cc (Output_section::allocate): New function.
5710 * output.h (Output_section::allocate): New function.
6149 (Output_section::add_output_section_data): Edit FIXME.
6653 (Output_section::Input_section::current_data_size): New function.
6654 (Output_section::Output_section): Initialize new data members.
6655 (Output_section::add_input_section): Don't do merge sections for
6658 (Output_section::add_output_section_data): Allocate space from
6660 (Output_section::update_data_size): New function.
6661 (Output_section::set_fixed_layout): New function.
6662 (Output_section::reserve): New function.
6675 (Output_section::current_data_size): Move to Output_data.
6676 (Output_section::set_fixed_layout): New function.
6677 (Output_section::has_fixed_layout): New function.
6678 (Output_section::reserve): New function.
6679 (Output_section::update_data_size): New function.
6680 (Output_section::has_fixed_layout_): New data member.
6681 (Output_section::free_list_): New data member.
7006 * output.cc (Output_section::add_input_section): Delay fill
7251 * output.cc (Output_section::add_input_section): Use uncompressed
7376 Output_section::add_relaxed_input_section.
7377 * output.cc (Output_section::add_relaxed_input_section): Add new
7379 (Output_section::convert_input_sections_in_list_to_relaxed_sections):
7381 * output.h (Output_section::add_relaxed_input_section): Add new
8271 * output.cc (Output_section::Output_section): Initialize order_.
8302 (class Output_section): Add order_ field. Remvoe is_relro_local_,
8500 * output.cc (Output_section::Output_section): Initialize
8502 (Output_section::add_input_section): Check for
8504 * output.h (Output_section::always_keeps_input_sections,
8505 Output_section::set_always_keeps_input_sections): New methods.
8506 (Output_section::always_keeps_input_sections): New data member.
8565 * output.cc (Output_section::add_input_section): Handle compressed
8707 (Output_section::Input_section_sort_entry::compare_section_ordering):
8709 (Output_section::Input_section_sort_section_order_index_compare
8725 * output.cc (Output_section::input_section_order_specified_): New
8727 (Output_section::Output_section): Initialize new member.
8728 (Output_section::add_input_section): Add new parameter.
8730 (Output_section::set_final_data_size): Sort input sections when
8732 (Output_section::Input_section_sort_entry): Add new parameter.
8734 (Output_section::Input_section_sort_entry::compare_section_ordering):
8736 (Output_section::Input_section_sort_compare::operator()): Change to
8738 (Output_section::Input_section_sort_init_fini_compare::operator()):
8740 (Output_section::Input_section_sort_section_order_index_compare
8742 (Output_section::sort_attached_input_sections): Change to sort
8744 (Output_section::add_input_section<32, true>): Add new parameter.
8745 (Output_section::add_input_section<64, true>): Add new parameter.
8746 (Output_section::add_input_section<32, false>): Add new parameter.
8747 (Output_section::add_input_section<64, false>): Add new parameter.
8748 * output.h (Output_section::add_input_section): Add new parameter.
8749 (Output_section::input_section_order_specified): New
8751 (Output_section::set_input_section_order_specified): New method.
8758 (Output_section::input_section_order_specified_): New member.
8846 * output.cc (Output_section::Input_section::relobj): Move method
8848 (Output_section::Input_section::shndx): Ditto.
8849 (Output_section::Output_section): Remove initializations of removed
8851 (Output_section::add_input_section): Set keeps-input-sections flag
8854 (Output_section::add_relaxed_input_section): Adjst code for lookup
8856 (Output_section::add_merge_input_section): Add a new parameter
8860 (Output_section::convert_input_sections_in_list_to_relaxed_input_sections):
8862 (Output_section::find_merge_section): Ditto.
8863 (Output_section::build_lookup_maps): New method defintion.
8864 (Output_section::find_relaxed_input_section): Adjust code to use
8866 (Output_section::get_input_sections): Export merge sections. Adjust
8868 (Output_section:::add_script_input_section): Adjust code to use
8871 (Output_section::discard_states): Use Output_section_lookup_maps.
8872 (Output_section::restore_states): Same.
8874 Output_section.
8876 (Output_section::Input_section::is_merge_section): New method
8878 (Output_section::Input_section::relobj): Move defintion out of class
8880 (Output_section::Input_section::shndx): Ditto.
8881 (Output_section::Input_section::output_merge_base): New method defintion.
8882 (Output_section::Input_section::u2_.pomb): New union field.
8883 (Output_section::Merge_section_by_properties_map,
8884 Output_section::Output_section_data_by_input_section_map,
8885 Output_section::Ouptut_relaxed_input_section_by_input_section_map):
8887 (Output_section::add_merge_input_section): Add new parameter
8889 (Output_section::build_lookup_maps): New method declaration.
8890 (Output_section::merge_section_map_,
8891 Output_section::merge_section_by_properties_map_,
8892 Output_section::relaxed_input_section_map_,
8893 Output_section::is_relaxed_input_section_map_valid_): Remove data
8895 (Output_section::lookup_maps_): New data member.
8925 Output_section::Simple_input_section to that of
8926 Output_section::Input_section.
8929 * output.cc (Output_section::get_input_sections): Change type of
8931 (Output_section::add_script_input_section): Rename from
8932 Output_section::add_simple_input_section. Change type of SIS
8934 * output.h (Output_section::Simple_input_section): Remove class.
8935 (Output_section::Input_section): Change class visibility to public.
8936 (Output_section::Input_section::addralign): Use stored alignments
8938 (Output_section::Input_section::set_addralign): New method.
8939 (Output_section::get_input_sections): Change parameter type from
8941 (Output_section::add_script_input_section): Rename from
8942 Output_section::add_simple_input_section. Change first parameter's
8946 type to list of Output_section::Input_section/
8948 INPUT_SECTION to Output_section::Input_section.
8951 Output_section::Input_section.
8953 to use Output_section::Input_section instead of
8954 Output_section::Simple_input_section. Adjust code for renaming
8955 of Output_section::add_simple_input_section.
9075 (Output_section::fix_exidx_coverage): Add new arg, merge_exidx_entries.
9130 * output.cc (Output_section::Output_section): Initialize data member
9132 (Output_section::do_reset_address_and_file_offset): Do not set address
9134 * output.h (Output_section::is_noload): New method.
9135 (Output_section::set_is_noload): Ditto.
9136 (Output_section::is_noload_): New data member.
9183 * output.cc (Output_section::add_merge_input_section): Simplify
9576 * output.cc (Output_section::Input_section_sort_entry::has_priority):
9578 (Output_section::Input_section_sort_compare::operator()): Remove
9580 (Output_section::Input_section_sort_init_fini_compare::operator()):
9582 (Output_section::sort_attached_input_sections): Handle .init_array
9584 * output.h (Output_section::Inut_section_sort_compare): Update
9586 (Output_section::Input_section_sort_init_fini_compare): New struct.
9984 Output_section::output_address, use faster
10233 * output.cc (Output_section::Output_section): Initialize
10235 (Output_section::add_input_section_for_script): Renamed to
10236 Output_section::add_simple_input_section.
10237 (Output_section::save_states): Add a comment.
10238 (Output_section::discard_states): New method defintion.
10239 (Output_section::adjust_section_offsets): Same.
10240 * output.h (Output_section::add_input_section_for_script): Renamed to
10241 Output_section::add_simple_input_section.
10242 (Output_section::discard_states): New method declaration.
10243 (Output_section::adjust_section_offsets): Same.
10244 (Output_section::section_offsets_need_adjustment,
10245 Output_section::set_section_offsets_need_adjustment): New method
10247 (Output_section::section_offsets_need_adjustment_): New data member.
10250 renaming of Output_section::add_input_section_for_script.
10300 * output.cc (Output_section::add_relaxed_input_section): Change to
10302 (Output_section::add_merge_input_section): Ditto.
10303 (Output_section::build_relaxation_map): Change to use Section_id
10305 (Output_section::convert_input_sections_in_list_to_relaxed_sections):
10307 (Output_section::convert_input_sections_to_relaxed_sections): Change
10309 (Output_section::find_merge_section): Ditto.
10310 (Output_section::find_relaxed_input_section): Ditto.
10312 (Output_section::Output_section_data_by_input_section_map): Change
10314 (Output_section::Output_relaxed_input_section_by_input_section_map):
10316 (Output_section::Relaxation_map): Change key type to Section_id.
10376 * output.cc (Output_section::convert_input_sections_to_relaxed_sections)
10713 (class Output_section): Likewise.
11062 * output.cc (Output_section::Output_section): Initialize
11074 * output.h (class Output_section): Add new methods: is_last_relro,
11091 * output.h (class Output_section): Add is_entsize_zero_ field.
11092 * output.cc (Output_section::Output_section): Initialize
11094 (Output_section::set_entsize): If two different entsizes are
11096 (Output_section::add_input_section): Set flags for .debug_str
11098 (Output_section::update_flags_for_input_section): Set SHF_MERGE
11186 * output.cc (Output_section::find_relaxed_input_section): Change
11189 * output.h (Output_section::find_relaxed_input_section): Change
11191 (Output_section::Output_relaxed_input_section_by_input_section_map):
11193 (Output_section::relaxed_input_section_map_): Change type to
11194 Output_section::Output_relaxed_input_section_by_input_section_map.
11724 * output.h (class Output_section): Add is_interp, set_is_interp,
11728 * output.cc (Output_section::Output_sections): Initialize new
11997 * output.h (Output_section::find_relaxed_input_section): Make
12247 * output.cc (Output_section::Output_section): Initialize memebers
12250 (Output_section::add_input_section): Handled deferred code-fill
12252 (Output_section::add_relaxed_input_section): New method definition.
12253 (Output_section::add_merge_input_section): Use merge section by
12256 (Output_section::build_relaxation_map): New method definition.
12257 (Output_section::convert_input_sections_in_list_to_relaxed_sections):
12259 (Output_section::relax_input_section): Renamed to
12260 Output_section::convert_input_sections_to_relaxed_sections and change
12262 (Output_section::find_merge_section,
12263 Output_section::find_relaxed_input_section): New method definitions.
12264 (Output_section::is_input_address_mapped,
12265 Output_section::output_offset, Output_section::output_address):
12267 (Output_section::find_starting_output_address): Add comments.
12268 (Output_section::do_write,
12269 Output_section::write_to_postprocessing_buffer): Do code-fill
12271 (Output_section::get_input_sections): Invalidate relaxed input section
12273 (Output_section::restore_states): Adjust type of checkpoint .
12281 (Output_section::add_relaxed_input_section): New method declaration.
12282 (Output_section::Input_section): Change visibility to protected.
12283 (Output_section::Input_section::relobj,
12284 Output_section::Input_section::shndx): Handle relaxed input sections.
12285 Output_section::input_sections) Change visibility to protected. Also
12287 (Output_section::Merge_section_properties): New class defintion.
12288 (Output_section::Merge_section_by_properties_map,
12289 Output_section::Output_section_data_by_input_section_map,
12290 Output_section::Relaxation_map): New types.
12291 (Output_section::relax_input_section): Rename method to
12292 Output_section::convert_input_sections_to_relaxed_sections and change
12294 (Output_section::find_merge_section,
12295 Output_section::find_relaxed_input_section,
12296 Output_section::build_relaxation_map,
12297 Output_section::convert_input_sections_in_list_to_relaxed_sections):
12299 (Output_section::merge_section_map_
12300 Output_section::merge_section_by_properties_map_,
12301 Output_section::relaxed_input_section_map_,
12302 Output_section::is_relaxed_input_section_map_valid_,
12303 Output_section::generate_code_fills_at_write_): New data members.
12612 * output.cc (Output_section::add_input_section): Get target from
12614 (Output_section::relax_input_section): Likewise.
12709 (Output_section::Input_section::print_to_mapfile): Handle
12711 (Output_section::Output_section): Initialize data member checkpoint_.
12712 (Output_section::~Output_section): Delete checkpoint object pointed
12714 (Output_section::add_input_section): Always add an Input_section if
12716 (Output_section::add_merge_input_section): Add assert.
12717 (Output_section::relax_input_section): New method definition.
12718 (Output_section::set_final_data_size): Set load address to zero for
12720 (Output_section::do_address_and_file_offset_have_reset_values):
12722 (Output_section::Input_section_sort_enty::Input_section_sort_enty):
12724 (Output_section::sort_attached_input_sections): Checkpoint input
12726 (Output_section::get_input_sections): Change type of input_sections to
12729 (Output_section::add_input_section_for_script): Take a reference to
12732 (Output_section::save_states, Output_section::restore_states): New
12766 (Output_section::Simple_input_section): New class definition.
12767 (Output_section::get_input_sections): Adjust parameter list.
12768 (Output_section::add_input_section_for_script): Same.
12769 (Output_section::save_states, Output_section::restore_states,
12770 Output_section::do_address_and_file_offset_have_reset_values,
12771 (Output_section::Input_section::Input_section): Handle
12774 (Output_section::Input_section::is_input_section,
12775 Output_section::Input_section::set_output_section): Handle relaxed
12777 (Output_section::Input_section::is_relaxed_input_section,
12778 Output_section::Input_section::output_section_data,
12779 Output_section::Input_section::relaxed_input_section): New method
12781 (Output_section::Input_section::RELAXED_INPUT_SECTION_CODE): New enum
12783 (Output_section::Input_section::u1_): Update comments.
12784 (Output_section::Input_section::u2_): Add new union member poris.
12785 (Output_section::Checkpoint_output_section): New classs definition.
12786 (Output_section::relax_input_section): New method declaration.
12787 (Output_section::checkpoint_): New data member.
12792 Change element type to Output_section::Simple_input_section.
12800 pair with Output_section::Simple_input_section and Convert struct to a
12805 parameter. Adjust code to use Output_section::Simple_input_section
12809 and section index pair with Output_section::Simple_input_section
13147 * output.cc (Output_section::update_flags_for_input_section): Move
13151 (class Output_section): Only declare, not define,
13265 * output.h (class Output_section): Add is_small_section_ and
13267 (Output_section::is_small_section): New function.
13268 (Output_section::set_is_small_section): New function.
13269 (Output_section::is_large_section): New function.
13270 (Output_section::set_is_large_section): New function.
13271 (Output_section::is_large_data_section): New function.
13275 * output.cc (Output_section::Output_section): Initialize new
14044 * output.cc (Output_section::find_starting_output_address): Rename
14047 * output.h (class Output_section): Declare
14563 (Output_section::output_address): Change -1U to -1ULL.
14736 * output.h (Output_section::clear_is_relro): New function.
15037 * output.cc (Output_section::add_input_section): Don't try to
15118 (Output_section::is_input_address_mapped): Don't call
15120 (Output_section::output_offset): Likewise.
15121 (Output_section::output_address): Likewise.
15122 (Output_section::starting_output_address): Likewise.
15185 * output.h (Output_section::Input_section): Initialize p2align_ to
15187 (Output_section::Input_section::addralign): If not an input
15313 * output.cc (Output_section::Input_section::print_to_mapfile): New
15315 (Output_section::add_input_section): If producing a map, always
15317 (Output_section::do_print_to_mapfile): New function.
15339 (class Output_section): Declare do_print_to_mapflie. Declare
15383 * output.cc (Output_section::Output_section): Initialize is_relro_
15397 * output.h (class Output_section): Add is_relro_ and
15399 (Output_section::is_relro): New function.
15400 (Output_section::set_is_relro): New function.
15401 (Output_section::is_relro_local): New function.
15402 (Output_section::set_is_relro_local): New function.
15772 (Output_section::has_out_shndx): New function.
16065 * output.h (Output_section::update_flags_for_input_section): New
16067 * output.cc (Output_section::add_input_section): Call
16415 (Output_section::Input_section_sort_entry::has_priority): New
16417 (Output_section::Input_section_sort_entry::match_file_name): New
16419 (Output_section::Input_section_sort_entry::match_section_name):
16421 (Output_section::Input_section_sort_entry::match_section_name_prefix):
16423 (Output_section::Input_section_sort_entry::match_section_file):
16425 (Output_section::Input_section_sort_compare::operator()): Rewrite
16450 * output.h (Output_section::may_sort_attached_input_sections): New
16452 (Output_section::set_may_sort_attached_input_sections): New
16454 (Output_section::must_sort_attached_input_sections): New
16456 (Output_section::set_must_sort_attached_input_sections): New
16458 (class Output_section): Declare Input_section_sort_entry. Define
16464 * output.cc (Output_section::Output_section): Initialize new
16466 (Output_section::add_input_section): Add an entry to
16468 (Output_section::set_final_data_size): Call
16470 (Output_section::Input_section_sort_entry): Define new class.
16471 (Output_section::Input_section_sort_compare::operator()): New
16473 (Output_section::sort_attached_input_sections): New function.