Lines Matching refs:os
377 Output_section* os, in output_section_init() argument
408 && os != NULL in output_section_init()
409 && (os->type() == elfcpp::SHT_REL || os->type() == elfcpp::SHT_RELA) in output_section_init()
410 && (os->flags() & elfcpp::SHF_ALLOC) != 0) in output_section_init()
448 Orphan_section_placement::find_place(Output_section* os, in find_place() argument
454 elfcpp::Elf_Word type = os->type(); in find_place()
455 elfcpp::Elf_Xword flags = os->flags(); in find_place()
458 && !Layout::is_debug_info_section(os->name())) in find_place()
1135 Output_section* os, in set_section_addresses() argument
1143 gold_assert(os != NULL); in set_section_addresses()
1147 os->add_output_section_data(expression); in set_section_addresses()
2817 Orphan_output_section(Output_section* os) in Orphan_output_section() argument
2818 : os_(os) in Orphan_output_section()
3436 Script_sections::place_orphan(Output_section* os) in place_orphan() argument
3454 Orphan_output_section* orphan = new Orphan_output_section(os); in place_orphan()
3458 if (osp->find_place(os, &where)) in place_orphan()
3461 os->set_is_relro(); in place_orphan()
3463 os->clear_is_relro(); in place_orphan()
3474 os->clear_is_relro(); in place_orphan()
3531 Output_section* os = (*p)->get_output_section(); in set_section_addresses() local
3532 if (os != NULL && (os->flags() & elfcpp::SHF_TLS) != 0) in set_section_addresses()
3535 first_tls = os; in set_section_addresses()
3536 if (os->addralign() > tls_align) in set_section_addresses()
3537 tls_align = os->addralign(); in set_section_addresses()
3561 Output_section* os = (*p)->get_output_section(); in set_section_addresses() local
3566 && os != NULL in set_section_addresses()
3567 && (os->flags() & elfcpp::SHF_ALLOC) != 0) in set_section_addresses()
3572 && strcmp(os->name(), ".text") == 0) in set_section_addresses()
3575 && strcmp(os->name(), ".data") == 0) in set_section_addresses()
3578 && strcmp(os->name(), ".bss") == 0) in set_section_addresses()
3716 Script_sections::is_bss_section(const Output_section* os) in is_bss_section() argument
3718 return (os->type() == elfcpp::SHT_NOBITS in is_bss_section()
3719 && (os->flags() & elfcpp::SHF_TLS) == 0); in is_bss_section()
4099 Output_section* os = (*p)->allocate_to_segment(&phdr_names, &is_orphan); in attach_sections_using_phdrs_clause() local
4100 if (os == NULL) in attach_sections_using_phdrs_clause()
4104 Layout::section_flags_to_segment(os->flags()); in attach_sections_using_phdrs_clause()
4109 if (is_orphan && os->current_data_size() > 0) in attach_sections_using_phdrs_clause()
4111 os->name()); in attach_sections_using_phdrs_clause()
4123 oseg->add_output_section_to_load(layout, os, seg_flags); in attach_sections_using_phdrs_clause()
4164 r->second->add_output_section_to_nonload(os, seg_flags); in attach_sections_using_phdrs_clause()
4167 r->second->add_output_section_to_load(layout, os, seg_flags); in attach_sections_using_phdrs_clause()