Home | History | Annotate | Download | only in gold

Lines Matching full:elfcpp

122   attributes_compatible(elfcpp::Elf_Xword flags, elfcpp::Elf_Xword type) const;
190 Memory_region::attributes_compatible(elfcpp::Elf_Xword flags,
191 elfcpp::Elf_Xword type) const
205 if ((flags & elfcpp::SHF_EXECINSTR) == 0)
210 if ((flags & elfcpp::SHF_WRITE) == 0)
219 if ((flags & elfcpp::SHF_ALLOC) == 0)
224 if ((type & elfcpp::SHT_NOBITS) != 0)
409 && (os->type() == elfcpp::SHT_REL || os->type() == elfcpp::SHT_RELA)
410 && (os->flags() & elfcpp::SHF_ALLOC) != 0)
454 elfcpp::Elf_Word type = os->type();
455 elfcpp::Elf_Xword flags = os->flags();
457 if ((flags & elfcpp::SHF_ALLOC) == 0
460 else if ((flags & elfcpp::SHF_ALLOC) == 0)
462 else if (type == elfcpp::SHT_NOTE)
464 else if ((flags & elfcpp::SHF_TLS) != 0)
466 if (type == elfcpp::SHT_NOBITS)
471 else if (type == elfcpp::SHT_NOBITS)
473 else if ((flags & elfcpp::SHF_WRITE) != 0)
475 else if (type == elfcpp::SHT_REL || type == elfcpp::SHT_RELA)
477 else if ((flags & elfcpp::SHF_EXECINSTR) == 0)
1068 elfcpp::Swap_unaligned<8, big_endian>::writeval(buf, val);
1071 elfcpp::Swap_unaligned<16, big_endian>::writeval(buf, val);
1074 elfcpp::Swap_unaligned<32, big_endian>::writeval(buf, val);
1083 elfcpp::Swap_unaligned<64, big_endian>::writeval(buf, val);
1207 elfcpp::Swap_unaligned<32, true>::writeval(fill_buff, fill_val);
1690 || (output_section->flags() & elfcpp::SHF_TLS) == 0
1691 || output_section->type() != elfcpp::SHT_NOBITS)
2363 && ((this->output_section_->flags() & elfcpp::SHF_ALLOC) != 0
2467 elfcpp::Swap_unaligned<32, true>::writeval(fill_buff, fill_val);
2559 && (this->output_section_->flags() & elfcpp::SHF_WRITE) != 0)
2568 && (this->output_section_->flags() & elfcpp::SHF_WRITE) == 0)
2646 if ((this->output_section_->flags() & elfcpp::SHF_ALLOC) == 0)
2897 if ((this->os_->flags() & elfcpp::SHF_ALLOC) != 0)
2928 elfcpp::SHF_TLS) == 0
2929 || this->os_->type() != elfcpp::SHT_NOBITS)
2948 if ((this->os_->flags() & elfcpp::SHF_ALLOC) == 0)
3532 if (os != NULL && (os->flags() & elfcpp::SHF_TLS) != 0)
3567 && (os->flags() & elfcpp::SHF_ALLOC) != 0)
3651 bool nobits1 = os1->type() == elfcpp::SHT_NOBITS;
3652 bool nobits2 = os2->type() == elfcpp::SHT_NOBITS;
3658 bool tls1 = (os1->flags() & elfcpp::SHF_TLS) != 0;
3659 bool tls2 = (os2->flags() & elfcpp::SHF_TLS) != 0;
3718 return (os->type() == elfcpp::SHT_NOBITS
3719 && (os->flags() & elfcpp::SHF_TLS) == 0);
3732 file_header_size = elfcpp::Elf_sizes<32>::ehdr_size;
3733 segment_headers_size = segment_count * elfcpp::Elf_sizes<32>::phdr_size;
3737 file_header_size = elfcpp::Elf_sizes<64>::ehdr_size;
3738 segment_headers_size = segment_count * elfcpp::Elf_sizes<64>::phdr_size;
3827 && ((*p)->flags() & elfcpp::SHF_WRITE) != 0
3840 elfcpp::Elf_Word seg_flags =
3845 current_seg = layout->make_output_segment(elfcpp::PT_LOAD,
3856 if (((*p)->flags() & elfcpp::SHF_WRITE) != 0)
3917 Output_segment* load_seg = layout->make_output_segment(elfcpp::PT_LOAD,
3918 elfcpp::PF_R);
3939 if ((*p)->type() == elfcpp::SHT_NOTE)
3941 elfcpp::Elf_Word seg_flags =
3943 Output_segment* oseg = layout->make_output_segment(elfcpp::PT_NOTE,
3951 && (*pnext)->type() == elfcpp::SHT_NOTE)
3960 if (((*p)->flags() & elfcpp::SHF_TLS) != 0)
3965 elfcpp::Elf_Word seg_flags =
3967 Output_segment* oseg = layout->make_output_segment(elfcpp::PT_TLS,
3973 && ((*pnext)->flags() & elfcpp::SHF_TLS) != 0)
3989 elfcpp::Elf_Word seg_flags =
3991 Output_segment* oseg = layout->make_output_segment(elfcpp::PT_INTERP,
4038 if ((*p)->type() == elfcpp::SHT_NOTE)
4048 else if (((*p)->flags() & elfcpp::SHF_TLS) != 0)
4103 elfcpp::Elf_Word seg_flags =
4121 if (oseg->type() == elfcpp::PT_LOAD)
4160 && r->second->type() != elfcpp::PT_LOAD)
4163 if (r->second->type() != elfcpp::PT_LOAD)
4200 if (oseg->type() != elfcpp::PT_LOAD)
4286 if ((*p)->type() != elfcpp::PT_LOAD)