Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 124) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/
Dconfig.sub123 os=-$maybe_os
127 os=-linux-android
133 then os=`echo $1 | sed 's/.*-/-/'`
134 else os=; fi
142 case $os in
143 -sun*os*)
153 os=
157 os=-cnk
160 os=
166 os=-vxworks
[all …]
/toolchain/binutils/binutils-2.25/ld/
Dldlang.c201 const lang_output_section_statement_type *os) in unique_section_p() argument
209 return !(os != NULL in unique_section_p()
210 && strcmp (os->name, DISCARD_SECTION_NAME) == 0); in unique_section_p()
510 lang_output_section_statement_type *os; in output_section_callback_fast() local
512 os = (lang_output_section_statement_type *) output; in output_section_callback_fast()
514 if (unique_section_p (section, os)) in output_section_callback_fast()
1479 next_matching_output_section_statement (lang_output_section_statement_type *os, in next_matching_output_section_statement() argument
1485 ((char *) os in next_matching_output_section_statement()
1487 const char *name = os->name; in next_matching_output_section_statement()
1714 output_prev_sec_find (lang_output_section_statement_type *os) in output_prev_sec_find() argument
[all …]
Dldexp.c670 lang_output_section_statement_type *os; in fold_name() local
672 os = lang_output_section_find (tree->name.name); in fold_name()
673 if (os == NULL) in fold_name()
680 else if (os->processed_vma) in fold_name()
681 new_rel (0, os->bfd_section); in fold_name()
688 lang_output_section_statement_type *os; in fold_name() local
690 os = lang_output_section_find (tree->name.name); in fold_name()
691 if (os == NULL) in fold_name()
698 else if (os->processed_lma) in fold_name()
700 if (os->load_base == NULL) in fold_name()
[all …]
/toolchain/binutils/binutils-2.25/gold/
Dlayout.cc324 Output_section* os = *p; in read_sections() local
326 info.output_section = os; in read_sections()
327 info.address = os->is_address_valid() ? os->address() : 0; in read_sections()
328 info.data_size = os->is_data_size_valid() ? os->data_size() : -1; in read_sections()
329 info.offset = os->is_offset_valid()? os->offset() : -1 ; in read_sections()
345 Output_section* os = *p; in verify_sections() local
346 uint64_t address = os->is_address_valid() ? os->address() : 0; in verify_sections()
347 off_t data_size = os->is_data_size_valid() ? os->data_size() : -1; in verify_sections()
348 off_t offset = os->is_offset_valid()? os->offset() : -1 ; in verify_sections()
352 gold_fatal("Section_info of %s missing.\n", os->name()); in verify_sections()
[all …]
Dmapfile.cc245 Output_section* os; in print_input_section() local
249 os = NULL; in print_input_section()
254 os = relobj->output_section(shndx); in print_input_section()
257 addr += os->address(); in print_input_section()
272 if (os != NULL) in print_input_section()
385 Mapfile::print_output_section(const Output_section* os) in print_output_section() argument
389 fprintf(this->map_file_, "\n%s", os->name()); in print_output_section()
391 this->advance_to_column(strlen(os->name()), Mapfile::section_name_map_length); in print_output_section()
395 static_cast<unsigned long long>(os->current_data_size())); in print_output_section()
399 static_cast<unsigned long long>(os->address()), sizebuf); in print_output_section()
[all …]
Dcommon.cc287 Output_section* os; in do_allocate_commons_list() local
292 os = layout->add_output_section_data(name, elfcpp::SHT_NOBITS, flags, in do_allocate_commons_list()
300 os = layout->find_output_section(name); in do_allocate_commons_list()
303 if (os != NULL) in do_allocate_commons_list()
306 os->set_is_small_section(); in do_allocate_commons_list()
308 os->set_is_large_section(); in do_allocate_commons_list()
349 off = os->allocate(ssym->symsize(), ssym->value()); in do_allocate_commons_list()
353 os->name()); in do_allocate_commons_list()
354 ssym->allocate_common(os, off); in do_allocate_commons_list()
Dsymtab.cc154 Output_segment* os, elfcpp::STT type, in init_base_output_segment() argument
161 this->u_.in_output_segment.output_segment = os; in init_base_output_segment()
252 Output_segment* os, Value_type value, in init_output_segment() argument
260 this->init_base_output_segment(name, version, os, type, binding, visibility, in init_output_segment()
517 Symbol::set_output_section(Output_section* os) in set_output_section() argument
523 gold_assert(this->output_section() == os); in set_output_section()
527 this->u_.in_output_data.output_data = os; in set_output_section()
542 Symbol::set_output_segment(Output_segment* os, Segment_offset_base base) in set_output_segment() argument
546 this->u_.in_output_segment.output_segment = os; in set_output_segment()
1966 Output_segment* os, in define_in_output_segment() argument
[all …]
Dincremental.cc595 Output_section* os = this->section_map_[shndx]; in do_reserve_layout() local
596 off_t offset = gsym.get_st_value() - os->address(); in do_reserve_layout()
597 os->reserve(offset, gsym.get_st_size()); in do_reserve_layout()
600 os->name(), in do_reserve_layout()
615 Output_section* os = this->section_map_[sect.output_shndx]; in do_reserve_layout() local
616 gold_assert(os != NULL); in do_reserve_layout()
617 os->reserve(sect.sh_offset, sect.sh_size); in do_reserve_layout()
797 Output_section* os = this->output_section(r_shndx); in do_apply_incremental_relocs() local
798 Address address = os->address(); in do_apply_incremental_relocs()
799 off_t section_offset = os->offset(); in do_apply_incremental_relocs()
[all …]
Doutput.h658 set_output_section(Output_section* os);
1056 Output_reloc(Output_section* os, unsigned int type, Output_data* od,
1059 Output_reloc(Output_section* os, unsigned int type,
1205 Output_section* os; member
1307 Output_reloc(Output_section* os, unsigned int type, Output_data* od, in Output_reloc() argument
1309 : rel_(os, type, od, address, is_relative), addend_(addend) in Output_reloc()
1312 Output_reloc(Output_section* os, unsigned int type, in Output_reloc() argument
1316 : rel_(os, type, relobj, shndx, address, is_relative), addend_(addend) in Output_reloc()
1447 add_output_section_generic(Output_section *os, unsigned int type,
1456 add_output_section_generic(Output_section* os, unsigned int type,
[all …]
Dscript-sections.cc377 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()
[all …]
Doutput.cc657 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()
[all …]
Dexpression.cc792 Output_section* os = eei->layout->find_output_section(section_name); in value() local
793 if (os != NULL) in value()
794 return this->value_from_output_section(eei, os); in value()
944 Output_section* os) in value_from_output_section() argument
947 *eei->result_section_pointer = os; in value_from_output_section()
948 return os->address(); in value_from_output_section()
979 Output_section* os) in value_from_output_section() argument
980 { return os->addralign(); } in value_from_output_section()
1146 Output_section* os) in value_from_output_section() argument
1148 if (os->has_load_address()) in value_from_output_section()
[all …]
Dreloc.cc295 Output_section* os = out_sections[shndx]; in do_read_relocs() local
296 if (os == NULL) in do_read_relocs()
357 sr.output_section = os; in do_read_relocs()
736 const Output_section* os = out_sections[i]; in write_sections() local
737 if (os == NULL) in write_sections()
794 if (!os->requires_postprocessing()) in write_sections()
796 output_section_offset = os->offset(); in write_sections()
797 output_section_size = convert_types<Address, off_t>(os->data_size()); in write_sections()
803 convert_types<Address, off_t>(os->postprocessing_buffer_size()); in write_sections()
833 if (os->requires_postprocessing()) in write_sections()
[all …]
Dobject.cc405 const Output_section* os = this->do_output_section(shndx); in do_output_section_address() local
406 gold_assert(os != NULL); in do_output_section_address()
407 return os->address(); in do_output_section_address()
1196 Output_section* os = layout->layout(this, shndx, name, shdr, in layout_section() local
1199 this->output_sections()[shndx] = os; in layout_section()
1230 Output_section* os = layout->layout_eh_frame(this, in layout_eh_frame_section() local
1240 this->output_sections()[shndx] = os; in layout_eh_frame_section()
1241 if (os == NULL || offset == -1) in layout_eh_frame_section()
1255 if (os != NULL && offset == -1 && reloc_shndx != 0) in layout_eh_frame_section()
1799 Output_section* os = layout->layout_reloc(this, i, shdr, data_section, in do_layout() local
[all …]
Dgold.cc584 Output_section *os = *p; in queue_middle_tasks() local
585 if (os->is_section_flag_set(elfcpp::SHF_ALLOC) in queue_middle_tasks()
586 && os->is_section_flag_set(elfcpp::SHF_WRITE)) in queue_middle_tasks()
588 segment_size += os->current_data_size(); in queue_middle_tasks()
592 && os->is_section_flag_set(elfcpp::SHF_ALLOC) in queue_middle_tasks()
593 && !os->is_section_flag_set(elfcpp::SHF_EXECINSTR)) in queue_middle_tasks()
595 segment_size += os->current_data_size(); in queue_middle_tasks()
Dpowerpc.cc2065 Output_section* os in do_define_standard_symbols() local
2072 os, 32768, 0, elfcpp::STT_OBJECT, in do_define_standard_symbols()
2847 Output_section* os = (*p)->output_section(); in do_relax() local
2848 (*p)->set_address_and_size(os, off); in do_relax()
2913 Output_section* os = *p; in do_relax() local
2916 for (Input_section_list::const_iterator i = os->input_sections().begin(); in do_relax()
2917 i != os->input_sections().end(); in do_relax()
2928 off += stub_table->set_address_and_size(os, off); in do_relax()
2935 os->clear_section_offsets_need_adjustment(); in do_relax()
3066 do_adjust_output_section(Output_section* os) in do_adjust_output_section() argument
[all …]
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dmmo.em89 lang_output_section_statement_type *os;
98 os = lang_output_section_find (secname);
102 if (os != NULL)
104 lang_add_section (&os->children, s, NULL, os);
105 return os;
117 if (place->os == NULL)
118 place->os = lang_output_section_find (place->name);
138 if (hold_nonreg.os == NULL)
154 hold_nonreg.os = lookup;
160 after = place->os;
[all …]
Dalphaelf.em46 lang_output_section_statement_type *os;
50 for (os = &lang_output_section_statement.head->output_section_statement;
51 os != NULL;
52 os = os->next)
54 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
57 plt_os[num_plt] = os;
Dspuelf.em137 lang_output_section_statement_type *os;
140 os = lang_output_section_get (o);
142 os = lang_output_section_find (output_name);
143 if (os == NULL)
145 os = gld${EMULATION_NAME}_place_orphan (s, output_name, 0);
146 os->addr_tree = NULL;
149 && o != NULL && os->children.head != NULL)
154 lang_add_section (&add, s, NULL, os);
155 *add.tail = os->children.head;
156 os->children.head = add.head;
[all …]
Dppc32elf.em71 lang_output_section_statement_type *os;
81 for (os = &lang_output_section_statement.head->output_section_statement;
82 os != NULL;
83 os = os->next)
85 if (os->constraint == SPECIAL && strcmp (os->name, ".plt") == 0)
88 plt_os[num_plt] = os;
91 if (os->constraint == SPECIAL && strcmp (os->name, ".got") == 0)
94 got_os[num_got] = os;
Dvms.em114 if (hold_data.os == NULL)
115 hold_data.os = lang_output_section_find (hold_data.name);
117 if (hold_data.os != NULL)
119 lang_add_section (&hold_data.os->children, s, NULL, hold_data.os);
120 return hold_data.os;
Dpep.em272 {"major-os-version", required_argument, NULL, OPTION_MAJOR_OS_VERSION},
275 {"minor-os-version", required_argument, NULL, OPTION_MINOR_OS_VERSION},
406 fprintf (file, _(" --major-os-version <number> Set minimum required OS version\n"));
409 fprintf (file, _(" --minor-os-version <number> Set minimum required OS revision\n"));
1885 lang_output_section_statement_type *os;
1903 os = NULL;
1905 for (os = lang_output_section_find (secname);
1906 os != NULL;
1907 os = next_matching_output_section_statement (os, 0))
1913 if (os->bfd_section != NULL
[all …]
Dpe.em296 {"major-os-version", required_argument, NULL, OPTION_MAJOR_OS_VERSION},
299 {"minor-os-version", required_argument, NULL, OPTION_MINOR_OS_VERSION},
439 fprintf (file, _(" --major-os-version <number> Set minimum required OS version\n"));
442 fprintf (file, _(" --minor-os-version <number> Set minimum required OS revision\n"));
2114 lang_output_section_statement_type *os;
2132 os = NULL;
2134 for (os = lang_output_section_find (secname);
2135 os != NULL;
2136 os = next_matching_output_section_statement (os, 0))
2142 if (os->bfd_section != NULL
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
Dattr-march-armv6-m+os.d1 # name: attributes for -march=armv6-m+os
3 # as: -march=armv6-m+os
/toolchain/binutils/binutils-2.25/bfd/
Dsparclinux.c569 asection *s, *os, *is; in linux_finish_dynamic_link() local
583 os = s->output_section; in linux_finish_dynamic_link()
588 os->filepos + s->output_offset, in linux_finish_dynamic_link()
589 os->vma + s->output_offset); in linux_finish_dynamic_link()
713 if (bfd_seek (output_bfd, (file_ptr) (os->filepos + s->output_offset), in linux_finish_dynamic_link()

12345