Home
last modified time | relevance | path

Searched refs:addralign (Results 1 – 24 of 24) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dcopy-relocs.cc128 typename elfcpp::Elf_types<size>::Elf_WXword addralign; in make_copy_reloc() local
137 addralign = obj->section_addralign(shndx); in make_copy_reloc()
141 while ((value & (addralign - 1)) != 0) in make_copy_reloc()
142 addralign >>= 1; in make_copy_reloc()
149 this->dynbss_ = new Output_data_space(addralign, "** dynbss"); in make_copy_reloc()
158 if (addralign > dynbss->addralign()) in make_copy_reloc()
159 dynbss->set_space_alignment(addralign); in make_copy_reloc()
163 dynbss_size = align_address(dynbss_size, addralign); in make_copy_reloc()
Dehframe.cc338 section_offset_type offset, uint64_t address, unsigned int addralign, in write() argument
342 gold_assert((offset & (addralign - 1)) == 0); in write()
348 size_t aligned_full_length = align_address(length + 8, addralign); in write()
414 unsigned int addralign, in set_output_offset() argument
429 length = align_address(length, addralign); in set_output_offset()
438 fde_length = align_address(fde_length, addralign); in set_output_offset()
456 unsigned int addralign, Eh_frame_hdr* eh_frame_hdr, in write() argument
459 gold_assert((offset & (addralign - 1)) == 0); in write()
467 size_t aligned_full_length = align_address(length + 8, addralign); in write()
495 address, addralign, cie_offset, in write()
[all …]
Dmerge.h218 Output_merge_base(uint64_t entsize, uint64_t addralign) in Output_merge_base() argument
219 : Output_section_data(addralign), merge_map_(), entsize_(entsize), in Output_merge_base()
340 Output_merge_data(uint64_t entsize, uint64_t addralign) in Output_merge_data() argument
341 : Output_merge_base(entsize, addralign), p_(NULL), len_(0), alc_(0), in Output_merge_data()
463 Output_merge_string(uint64_t addralign) in Output_merge_string() argument
464 : Output_merge_base(sizeof(Char_type), addralign), stringpool_(addralign), in Output_merge_string()
Doutput.cc677 Output_section_data::set_addralign(uint64_t addralign) in set_addralign() argument
679 this->addralign_ = addralign; in set_addralign()
681 && this->output_section_->addralign() < addralign) in set_addralign()
682 this->output_section_->set_addralign(addralign); in set_addralign()
2372 elfcpp::Elf_Xword addralign = shdr.get_sh_addralign(); in add_input_section() local
2373 if ((addralign & (addralign - 1)) != 0) in add_input_section()
2376 static_cast<unsigned long>(addralign), secname); in add_input_section()
2377 addralign = 1; in add_input_section()
2380 if (addralign > this->addralign_) in add_input_section()
2381 this->addralign_ = addralign; in add_input_section()
[all …]
Doutput.h134 addralign() const in addralign() function
634 Output_section_data(off_t data_size, uint64_t addralign, in Output_section_data() argument
636 : Output_data(), output_section_(NULL), addralign_(addralign) in Output_section_data()
643 Output_section_data(uint64_t addralign) in Output_section_data() argument
644 : Output_data(), output_section_(NULL), addralign_(addralign) in Output_section_data()
755 set_addralign(uint64_t addralign);
771 Output_section_data_build(uint64_t addralign) in Output_section_data_build() argument
772 : Output_section_data(addralign) in Output_section_data_build()
775 Output_section_data_build(off_t data_size, uint64_t addralign) in Output_section_data_build() argument
776 : Output_section_data(data_size, addralign, false) in Output_section_data_build()
[all …]
Dcommon.cc229 uint64_t addralign = 0; in do_allocate_commons_list() local
246 if (ssym->value() > addralign) in do_allocate_commons_list()
247 addralign = ssym->value(); in do_allocate_commons_list()
291 poc = new Output_data_space(addralign, ds_name); in do_allocate_commons_list()
Dscript-sections.cc1474 addralign() const in addralign() function in gold::Input_section_info
1479 set_addralign(uint64_t addralign) in set_addralign() argument
1480 { this->addralign_ = addralign; } in set_addralign()
1517 && isi1.addralign() == isi2.addralign())) in operator ()()
1526 if (isi1.addralign() != isi2.addralign()) in operator ()()
1527 return isi1.addralign() < isi2.addralign(); in operator ()()
1591 isi.set_addralign(p->relaxed_input_section()->addralign()); in set_section_addresses()
1660 uint64_t this_subalign = sis.addralign(); in set_section_addresses()
2340 align = this->output_section_->addralign(); in set_section_addresses()
2662 uint64_t* addralign, in get_output_section_info() argument
[all …]
Dmerge.cc377 section_size_type addralign = in add_constant() local
378 convert_to_section_size_type(this->addralign()); in add_constant()
379 section_size_type addsize = std::max(entsize, addralign); in add_constant()
561 & (this->addralign() - 1)); in do_add_input_section()
570 && ((reinterpret_cast<uintptr_t>(p) & (this->addralign() - 1)) in do_add_input_section()
Dexpression.cc778 uint64_t addralign, uint64_t size) = 0;
798 uint64_t addralign; in value() local
806 &addralign, in value()
809 addralign, size); in value()
980 { return os->addralign(); } in value_from_output_section()
983 value_from_script_output_section(uint64_t, uint64_t, uint64_t addralign, in value_from_script_output_section() argument
985 { return addralign; } in value_from_script_output_section()
Dehframe.h215 section_offset_type offset, uint64_t address, unsigned int addralign,
310 set_output_offset(section_offset_type output_offset, unsigned int addralign,
322 unsigned int addralign, Eh_frame_hdr* eh_frame_hdr,
Dstringpool.cc37 Stringpool_template<Stringpool_char>::Stringpool_template(uint64_t addralign) in Stringpool_template() argument
40 addralign_(addralign) in Stringpool_template()
44 && addralign <= sizeof(Stringpool_char)) in Stringpool_template()
Dbinary.cc318 unsigned int addralign, in write_section_header() argument
332 oshdr.put_sh_addralign(addralign); in write_section_header()
Dlayout.h1628 align_address(uint64_t address, uint64_t addralign) in align_address() argument
1630 if (addralign != 0) in align_address()
1631 address = (address + addralign - 1) &~ (addralign - 1); in align_address()
Dscript-sections.h206 uint64_t* load_address, uint64_t* addralign,
Dstringpool.h183 Stringpool_template(uint64_t addralign = 1);
Darm.cc1203 return std::max(this->stub_table_->addralign(), in do_addralign()
1419 uint32_t addralign, uint32_t text_size) in Arm_exidx_input_section() argument
1421 addralign_(addralign), text_size_(text_size), has_errors_(false) in Arm_exidx_input_section()
1451 addralign() const in addralign() function in __anon5653a9be0111::Arm_exidx_input_section
5099 unsigned addralign = this->reloc_stubs_addralign_; in update_data_size_and_addralign() local
5106 addralign = std::max(addralign, stub_template->alignment()); in update_data_size_and_addralign()
5119 addralign = std::max(addralign, stub_template->alignment()); in update_data_size_and_addralign()
5179 if (addralign != this->prev_addralign_) in update_data_size_and_addralign()
5181 this->prev_addralign_ = addralign; in update_data_size_and_addralign()
5329 off = align_address(off, this->stub_table_->addralign()); in set_final_data_size()
[all …]
Dlayout.cc3506 off = align_address(off, (*p)->addralign()); in set_segment_offsets()
3816 off = align_address(off, (*p)->addralign()); in set_relocatable_section_offsets()
3875 off = align_address(off, (*p)->addralign()); in set_section_offsets()
3884 off = this->allocate(current_size, (*p)->addralign(), startoff); in set_section_offsets()
4221 off = align_address(*poff, oshdrs->addralign()); in create_shdrs()
4225 off = this->allocate(oshdrs->data_size(), oshdrs->addralign(), *poff); in create_shdrs()
Daarch64.cc2390 return std::max(this->stub_table_->addralign(), in do_addralign()
2452 off = align_address(off, this->stub_table_->addralign()); in set_final_data_size()
2476 off = align_address(off, stub_table_->addralign()); in do_reset_address_and_file_offset()
2670 align_address(off, p->addralign()); in group_sections()
4076 uint64_t addralign, in Output_data_plt_aarch64() argument
4080 : Output_section_data(addralign), tlsdesc_rel_(NULL), irelative_rel_(NULL), in Output_data_plt_aarch64()
5523 stt->addralign()); in do_relax()
Di386.cc86 Output_data_plt_i386(Layout*, uint64_t addralign,
1044 uint64_t addralign, in Output_data_plt_i386() argument
1047 : Output_section_data(addralign), in Output_data_plt_i386()
Dtilegx.cc71 Output_data_plt_tilegx(Layout* layout, uint64_t addralign, in Output_data_plt_tilegx() argument
75 : Output_section_data(addralign), layout_(layout), in Output_data_plt_tilegx()
Dx86_64.cc93 Output_data_plt_x86_64(Layout* layout, uint64_t addralign, in Output_data_plt_x86_64() argument
97 : Output_section_data(addralign), tlsdesc_rel_(NULL), in Output_data_plt_x86_64()
Dpowerpc.cc2920 off = align_address(off, i->addralign()); in do_relax()
3690 if (os->addralign() < this->stub_align()) in size_update()
DChangeLog7313 (Arm_exidx_input_section::addralign): Fix typo in comment.
8936 (Output_section::Input_section::addralign): Use stored alignments
12306 current_data_size and addralign methods of relaxed input sections.
12308 and addralign methods of relaxed input sections.
15187 (Output_section::Input_section::addralign): If not an input
/toolchain/binutils/binutils-2.25/bfd/
DChangeLog-9193551 (elf_make_sections): Set addralign of reloc section to 4.
557 (swap_out_syms): Set addralign of symtab section to 4. Set
558 addralign of strtab sections to 1.