Lines Matching full:elfcpp
24 #include "elfcpp.h"
72 const elfcpp::Ehdr<size, big_endian>& ehdr)
77 if (et == elfcpp::ET_REL
78 || (et == elfcpp::ET_EXEC && input_file->just_symbols()))
85 else if (et == elfcpp::ET_DYN)
107 off_t offset, const elfcpp::Ehdr<32, false>& ehdr)
117 off_t offset, const elfcpp::Ehdr<32, true>& ehdr)
127 off_t offset, const elfcpp::Ehdr<64, false>& ehdr)
137 off_t offset, const elfcpp::Ehdr<64, true>& ehdr)
145 Target::do_make_output_section(const char* name, elfcpp::Elf_Word type,
146 elfcpp::Elf_Xword flags)
157 return sym->type() == elfcpp::STT_FUNC;
224 elfcpp::ELFOSABI osabi = this->osabi();
225 if (osabi != elfcpp::ELFOSABI_NONE)
227 gold_assert(len == elfcpp::Elf_sizes<size>::ehdr_size);
229 elfcpp::Ehdr<size, big_endian> ehdr(view);
230 unsigned char e_ident[elfcpp::EI_NIDENT];
231 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT);
233 e_ident[elfcpp::EI_OSABI] = osabi;
235 elfcpp::Ehdr_write<size, big_endian> oehdr(view);