Lines Matching refs:os

657 Output_section_data::set_output_section(Output_section* os)  in set_output_section()  argument
660 this->output_section_ = os; in set_output_section()
661 this->do_adjust_output_section(os); in set_output_section()
811 Output_section* os, in Output_reloc() argument
822 this->u1_.os = os; in Output_reloc()
827 os->set_needs_symtab_index(); in Output_reloc()
832 Output_section* os, in Output_reloc() argument
845 this->u1_.os = os; in Output_reloc()
850 os->set_needs_symtab_index(); in Output_reloc()
944 this->u1_.os->set_needs_dynsym_index(); in set_needs_dynsym_index()
995 index = this->u1_.os->dynsym_index(); in get_symbol_index()
997 index = this->u1_.os->symtab_index(); in get_symbol_index()
1025 Output_section* os = relobj->output_section(lsi); in get_symbol_index() local
1026 gold_assert(os != NULL); in get_symbol_index()
1028 index = os->dynsym_index(); in get_symbol_index()
1030 index = os->symtab_index(); in get_symbol_index()
1054 Output_section* os = this->u1_.relobj->output_section(lsi); in local_section_offset() local
1055 gold_assert(os != NULL); in local_section_offset()
1063 offset = os->output_address(relobj, lsi, addend); in local_section_offset()
1077 Output_section* os = this->u2_.relobj->output_section(this->shndx_); in get_address() local
1078 gold_assert(os != NULL); in get_address()
1081 address += os->address() + off; in get_address()
1087 address = os->output_address(relobj, this->shndx_, address); in get_address()
1140 return this->u1_.os->address() + addend; in symbol_value()
1234 ::do_adjust_output_section(Output_section* os) in do_adjust_output_section() argument
1237 os->set_entsize(elfcpp::Elf_sizes<size>::rel_size); in do_adjust_output_section()
1239 os->set_entsize(elfcpp::Elf_sizes<size>::rela_size); in do_adjust_output_section()
1248 os->set_should_link_to_symtab(); in do_adjust_output_section()
1252 os->set_should_link_to_dynsym(); in do_adjust_output_section()
1336 Output_section* os = this->relobj_->output_section(*p); in do_write() local
1339 if (os != NULL) in do_write()
1340 output_shndx = os->out_shndx(); in do_write()
1611 Output_section* os = object->output_section(shndx); in add_local_pair_with_rel() local
1612 rel_dyn->add_output_section_generic(os, r_type, this, got_offset, 0); in add_local_pair_with_rel()
1818 Output_data_dynamic::do_adjust_output_section(Output_section* os) in do_adjust_output_section() argument
1821 os->set_entsize(elfcpp::Elf_sizes<32>::dyn_size); in do_adjust_output_section()
1823 os->set_entsize(elfcpp::Elf_sizes<64>::dyn_size); in do_adjust_output_section()
4077 Output_section* os, in add_output_section_to_load() argument
4081 gold_assert((os->flags() & elfcpp::SHF_ALLOC) != 0); in add_output_section_to_load()
4083 gold_assert(os->is_large_data_section() == this->is_large_data_segment()); in add_output_section_to_load()
4089 Output_section_order order = os->order(); in add_output_section_to_load()
4095 this->output_lists_[order].push_back(os); in add_output_section_to_load()
4101 Output_segment::add_output_section_to_nonload(Output_section* os, in add_output_section_to_nonload() argument
4105 gold_assert((os->flags() & elfcpp::SHF_ALLOC) != 0); in add_output_section_to_nonload()
4110 this->output_lists_[0].push_back(os); in add_output_section_to_nonload()
4117 Output_segment::remove_output_section(Output_section* os) in remove_output_section() argument
4124 if (*p == os) in remove_output_section()
4548 Output_section* os = (*p)->output_section(); in set_section_list_addresses() local
4556 if (os == NULL) in set_section_list_addresses()
4562 os->name(), previous_dot, dot); in set_section_list_addresses()
4788 Output_section* os = static_cast<Output_section*>(*p); in lowest_load_address_in_list() local
4789 uint64_t lma = (os->has_load_address() in lowest_load_address_in_list()
4790 ? os->load_address() in lowest_load_address_in_list()
4791 : os->address()); in lowest_load_address_in_list()
4794 *found = os; in lowest_load_address_in_list()