Lines Matching refs:options
395 of = new Output_file(parameters->options().output_file_name()); in run()
656 if (!parameters->options().relocatable() in include_section()
689 gold_assert(!parameters->options().relocatable()); in include_section()
693 if (parameters->options().strip_debug() in include_section()
699 if (parameters->options().strip_debug_non_line() in include_section()
710 if (parameters->options().strip_debug_gdb() in include_section()
721 if (parameters->options().gdb_index() in include_section()
733 if (parameters->options().strip_lto_sections() in include_section()
734 && !parameters->options().relocatable() in include_section()
922 if (!parameters->options().relocatable()) in get_output_section_flags()
1053 && !parameters->options().relocatable()) in choose_output_section()
1090 if (parameters->options().gdb_index() in init_fixed_output_section()
1166 if (parameters->options().relocatable() in layout()
1217 && !parameters->options().relocatable() in layout()
1222 || (parameters->options().ctors_in_init_array() in layout()
1229 if (parameters->options().text_reorder() in layout()
1232 && !parameters->options().relocatable() in layout()
1242 && !parameters->options().relocatable() in layout()
1293 gold_assert(parameters->options().relocatable() in layout_reloc()
1294 || parameters->options().emit_relocs()); in layout_reloc()
1310 if (!parameters->options().relocatable() in layout_reloc()
1362 gold_assert(parameters->options().relocatable()); in layout_group()
1518 if (parameters->options().eh_frame_hdr() && !parameters->incremental()) in make_eh_frame_section()
1648 && strcmp(parameters->options().compress_debug_sections(), "none") != 0 in make_output_section()
1650 os = new Output_compressed_section(¶meters->options(), name, type, in make_output_section()
1653 && parameters->options().strip_debug_non_line() in make_output_section()
1662 && parameters->options().strip_debug_non_line() in make_output_section()
1693 && parameters->options().relro() in make_output_section()
1735 && !parameters->options().relocatable() in make_output_section()
1738 || (!parameters->options().ctors_in_init_array() in make_output_section()
1747 if (parameters->options().text_reorder() in make_output_section()
1750 && !parameters->options().relocatable() in make_output_section()
1755 if (strcmp(parameters->options().sort_section(), "name") == 0) in make_output_section()
1906 if (parameters->options().relocatable()) in attach_allocated_section_to_segment()
1926 bool is_address_set = parameters->options().section_start(os->name(), &addr); in attach_allocated_section_to_segment()
1946 if (!parameters->options().omagic() in attach_allocated_section_to_segment()
1949 if ((target->isolate_execinstr() || parameters->options().rosegment()) in attach_allocated_section_to_segment()
1954 if (parameters->options().user_set_Tbss()) in attach_allocated_section_to_segment()
2036 if (os->is_relro() && parameters->options().relro()) in attach_allocated_section_to_segment()
2115 if (parameters->options().warn_execstack() in layout_gnu_stack()
2127 if (parameters->options().warn_execstack()) in layout_gnu_stack()
2269 && (parameters->options().omagic() in find_first_load_seg()
2435 const General_options& options = parameters->options(); in load_seg_unusable_for_headers() local
2437 return (options.user_set_Trodata_segment() in load_seg_unusable_for_headers()
2438 && options.Trodata_segment() % target->abi_pagesize() != 0); in load_seg_unusable_for_headers()
2440 return (options.user_set_Ttext() in load_seg_unusable_for_headers()
2441 && options.Ttext() % target->abi_pagesize() != 0); in load_seg_unusable_for_headers()
2487 else if (parameters->options().relocatable()) in relaxation_loop_body()
2492 if (parameters->options().oformat_enum() in relaxation_loop_body()
2513 && !parameters->options().relocatable()) in relaxation_loop_body()
2534 if (!parameters->options().relocatable()) in relaxation_loop_body()
2553 && !parameters->options().relocatable()) in relaxation_loop_body()
2568 if (!parameters->options().relocatable()) in relaxation_loop_body()
2621 const char* filename = parameters->options().section_ordering_file(); in read_layout_from_file()
2696 if (!parameters->options().relocatable() && !parameters->doing_static_link()) in finalize()
2719 if ((!parameters->options().shared() in finalize()
2720 || parameters->options().dynamic_linker() != NULL) in finalize()
2744 (parameters->options().relocatable() in finalize()
2783 if (parameters->options().pie() && target->max_pie_data_segment_size()) in finalize()
2793 if (parameters->options().rosegment() in finalize()
2815 if (parameters->options().rosegment()) in finalize()
3017 if (parameters->options().relocatable() in create_gold_note()
3056 if (parameters->options().is_execstack_set()) in create_executable_stack_info()
3058 is_stack_executable = parameters->options().is_stack_executable(); in create_executable_stack_info()
3061 && parameters->options().warn_execstack()) in create_executable_stack_info()
3078 if (parameters->options().relocatable()) in create_executable_stack_info()
3103 if (!parameters->options().user_set_build_id()) in create_build_id()
3106 const char* style = parameters->options().build_id(); in create_build_id()
3438 || parameters->options().any_section_start() in segment_precedes()
3487 if (parameters->options().user_set_Ttext()) in set_segment_offsets()
3488 start_addr = parameters->options().Ttext(); in set_segment_offsets()
3489 else if (parameters->options().output_is_position_independent()) in set_segment_offsets()
3516 const bool check_sections = parameters->options().check_sections(); in set_segment_offsets()
3560 else if (parameters->options().user_set_Ttext() in set_segment_offsets()
3561 && (parameters->options().omagic() in set_segment_offsets()
3566 else if (parameters->options().user_set_Trodata_segment() in set_segment_offsets()
3569 addr = parameters->options().Trodata_segment(); in set_segment_offsets()
3572 else if (parameters->options().user_set_Tdata() in set_segment_offsets()
3574 && (!parameters->options().user_set_Tbss() in set_segment_offsets()
3577 addr = parameters->options().Tdata(); in set_segment_offsets()
3580 else if (parameters->options().user_set_Tbss() in set_segment_offsets()
3584 addr = parameters->options().Tbss(); in set_segment_offsets()
3595 if (!parameters->options().nmagic() in set_segment_offsets()
3596 && !parameters->options().omagic()) in set_segment_offsets()
3621 start_addr + (parameters->options().user_set_rosegment_gap() in set_segment_offsets()
3622 ? parameters->options().rosegment_gap() in set_segment_offsets()
3642 if (!parameters->options().nmagic() in set_segment_offsets()
3643 && !parameters->options().omagic()) in set_segment_offsets()
4092 if (!parameters->options().strip_all()) in create_symtab_sections()
4191 if (strcmp(parameters->options().compress_debug_sections(), "none") != 0) in create_shstrtab()
4411 if (strcmp(parameters->options().hash_style(), "gnu") == 0 in create_dynamic_symtab()
4412 || strcmp(parameters->options().hash_style(), "both") == 0) in create_dynamic_symtab()
4447 if (strcmp(parameters->options().hash_style(), "sysv") == 0 in create_dynamic_symtab()
4448 || strcmp(parameters->options().hash_style(), "both") == 0) in create_dynamic_symtab()
4662 const char* interp = parameters->options().dynamic_linker(); in create_interp()
4767 if (parameters->options().combreloc() && have_dyn_rel) in add_target_dynamic_tags()
4778 if (add_debug && !parameters->options().shared()) in add_target_dynamic_tags()
4820 if (parameters->options().shared()) in finish_dynamic_section()
4822 const char* soname = parameters->options().soname(); in finish_dynamic_section()
4827 Symbol* sym = symtab->lookup(parameters->options().init()); in finish_dynamic_section()
4831 sym = symtab->lookup(parameters->options().fini()); in finish_dynamic_section()
4859 const General_options::Dir_list& rpath(parameters->options().rpath()); in finish_dynamic_section()
4884 if (!parameters->options().enable_new_dtags()) in finish_dynamic_section()
4927 if (parameters->options().filter() != NULL) in finish_dynamic_section()
4928 odyn->add_string(elfcpp::DT_FILTER, parameters->options().filter()); in finish_dynamic_section()
4929 if (parameters->options().any_auxiliary()) in finish_dynamic_section()
4931 for (options::String_set::const_iterator p = in finish_dynamic_section()
4932 parameters->options().auxiliary_begin(); in finish_dynamic_section()
4933 p != parameters->options().auxiliary_end(); in finish_dynamic_section()
4946 if (parameters->options().text()) in finish_dynamic_section()
4948 else if (parameters->options().warn_shared_textrel() in finish_dynamic_section()
4949 && parameters->options().shared()) in finish_dynamic_section()
4952 if (parameters->options().shared() && this->has_static_tls()) in finish_dynamic_section()
4954 if (parameters->options().origin()) in finish_dynamic_section()
4956 if (parameters->options().Bsymbolic() in finish_dynamic_section()
4957 && !parameters->options().have_dynamic_list()) in finish_dynamic_section()
4963 if (parameters->options().now()) in finish_dynamic_section()
4969 if (parameters->options().global()) in finish_dynamic_section()
4971 if (parameters->options().initfirst()) in finish_dynamic_section()
4973 if (parameters->options().interpose()) in finish_dynamic_section()
4975 if (parameters->options().loadfltr()) in finish_dynamic_section()
4977 if (parameters->options().nodefaultlib()) in finish_dynamic_section()
4979 if (parameters->options().nodelete()) in finish_dynamic_section()
4981 if (parameters->options().nodlopen()) in finish_dynamic_section()
4983 if (parameters->options().nodump()) in finish_dynamic_section()
4985 if (!parameters->options().shared()) in finish_dynamic_section()
4989 if (parameters->options().origin()) in finish_dynamic_section()
4991 if (parameters->options().now()) in finish_dynamic_section()
4993 if (parameters->options().Bgroup()) in finish_dynamic_section()
5151 if (parameters->options().ctors_in_init_array()) in output_section_name()
5162 if (parameters->options().ctors_in_init_array() in output_section_name()
5255 && parameters->options().plugins()->in_replacement_phase()) in find_or_add_kept_section()
5310 gold_assert(!parameters->options().relocatable()); in make_output_segment()
5366 if (!parameters->options().strip_all()) in write_data()
5465 && strcmp(parameters->options().build_id(), "tree") == 0 in queue_build_id_tasks()
5466 && parameters->options().build_id_chunk_size_for_treehash() > 0 in queue_build_id_tasks()
5469 parameters->options().build_id_min_file_size_for_treehash())) in queue_build_id_tasks()
5473 parameters->options().build_id_chunk_size_for_treehash(); in queue_build_id_tasks()
5514 const char* style = parameters->options().build_id(); in write_build_id()
5552 gold_assert(parameters->options().oformat_enum() in write_binary()
5569 Output_file out(parameters->options().output_file_name()); in write_binary()