/toolchain/binutils/binutils-2.25/gold/ |
freebsd.h | 54 if (osabi == elfcpp::ELFOSABI_FREEBSD) 55 ret->set_osabi(static_cast<elfcpp::ELFOSABI>(osabi)); 68 ret->set_osabi(elfcpp::ELFOSABI_FREEBSD); 89 return (target->osabi() == elfcpp::ELFOSABI_FREEBSD
|
tls.h | 26 #include "elfcpp.h" 52 typename elfcpp::Elf_types<size>::Elf_Addr rel_offset, 55 typename elfcpp::Elf_types<size>::Elf_Addr offset = rel_offset + off; 68 typename elfcpp::Elf_types<size>::Elf_Addr rel_offset,
|
target.h | 36 #include "elfcpp.h" 94 elfcpp::EM 99 elfcpp::Elf_Word 185 elfcpp::Elf_Half 191 elfcpp::Elf_Xword 194 gold_assert(this->pti_->small_common_shndx != elfcpp::SHN_UNDEF); 201 elfcpp::Elf_Half 207 elfcpp::Elf_Xword 210 gold_assert(this->pti_->large_common_shndx != elfcpp::SHN_UNDEF); 359 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr [all...] |
dwp.cc | 39 #include "elfcpp.h" 95 Section_bounds sections[elfcpp::DW_SECT_MAX + 1]; 208 elfcpp::DW_SECT section_id); 251 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; 255 const elfcpp::Ehdr<size, big_endian>& ehdr) 440 elfcpp::Elf_file<size, big_endian, Object> elf_file_; 457 this->section_id_map_.resize(elfcpp::DW_SECT_MAX + 1); 472 add_contribution(elfcpp::DW_SECT section_id, const unsigned char* contents, 750 get_dwarf_section_name(elfcpp::DW_SECT section_id) 764 gold_assert(section_id > 0 && section_id <= elfcpp::DW_SECT_MAX) [all...] |
ehframe.cc | 28 #include "elfcpp.h" 154 oview[1] = elfcpp::DW_EH_PE_pcrel | elfcpp::DW_EH_PE_sdata4; 159 elfcpp::Swap<32, big_endian>::writeval(oview + 4, eh_frame_offset); 167 oview[2] = elfcpp::DW_EH_PE_omit; 168 oview[3] = elfcpp::DW_EH_PE_omit; 174 oview[2] = elfcpp::DW_EH_PE_udata4; 175 oview[3] = elfcpp::DW_EH_PE_datarel | elfcpp::DW_EH_PE_sdata4; 177 elfcpp::Swap<32, big_endian>::writeval(oview + 8 [all...] |
output.cc | 207 if ((*p)->type() == elfcpp::PT_LOAD) 216 if (((*p)->flags() & elfcpp::SHF_ALLOC) != 0) 224 shdr_size = elfcpp::Elf_sizes<32>::shdr_size; 226 shdr_size = elfcpp::Elf_sizes<64>::shdr_size; 272 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; 276 typename elfcpp::Shdr_write<size, big_endian> oshdr(v); 278 oshdr.put_sh_type(elfcpp::SHT_NULL); 284 / elfcpp::Elf_sizes<size>::shdr_size); 285 if (section_count < elfcpp::SHN_LORESERVE) 291 if (shstrndx < elfcpp::SHN_LORESERVE [all...] |
binary.h | 30 #include "elfcpp.h" 46 Binary_to_elf(elfcpp::EM machine, int size, bool big_endian, 91 elfcpp::SHT, unsigned int, section_size_type, 98 section_size_type, typename elfcpp::Elf_types<32>::Elf_WXword, 102 elfcpp::EM elf_machine_;
|
dynobj.cc | 28 #include "elfcpp.h" 80 const elfcpp::Ehdr<size, big_endian>& ehdr) 128 case elfcpp::SHT_DYNSYM: 139 case elfcpp::SHT_SYMTAB: 143 case elfcpp::SHT_GNU_versym: 146 case elfcpp::SHT_GNU_verdef: 149 case elfcpp::SHT_GNU_verneed: 152 case elfcpp::SHT_DYNAMIC: 155 case elfcpp::SHT_SYMTAB_SHNDX: 212 elfcpp::SHT type [all...] |
reloc.cc | 284 if (sh_type != elfcpp::SHT_REL && sh_type != elfcpp::SHT_RELA) 307 bool is_section_allocated = ((secshdr.get_sh_flags() & elfcpp::SHF_ALLOC) 329 if (sh_type == elfcpp::SHT_REL) 330 reloc_size = elfcpp::Elf_sizes<size>::rel_size; 332 reloc_size = elfcpp::Elf_sizes<size>::rela_size; 370 gold_assert(symtabshdr.get_sh_type() == elfcpp::SHT_SYMTAB); 519 if (sh_type == elfcpp::SHT_RELA) 553 if (p->sh_type == elfcpp::SHT_REL) 554 this->emit_relocs_scan_reltype<elfcpp::SHT_REL>(symtab, layout [all...] |
reduced_debug_output.h | 45 Output_reduced_debug_abbrev_section(const char* name, elfcpp::Elf_Word flags, 46 elfcpp::Elf_Xword type) 91 Output_reduced_debug_info_section(const char* name, elfcpp::Elf_Word flags, 92 elfcpp::Elf_Xword type)
|
gc.h | 29 #include "elfcpp.h" 159 if (sh_type != elfcpp::SHT_REL) 191 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; 228 typename elfcpp::Elf_types<size>::Elf_WXword r_info = reloc.get_r_info(); 229 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); 230 unsigned int r_type = elfcpp::elf_r_type<size>(r_info); 231 typename elfcpp::Elf_types<size>::Elf_Swxword addend = 235 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; 241 typename elfcpp::Sym<size, big_endian> lsym(plocal_syms 272 && lsym.get_st_type() != elfcpp::STT_OBJEC [all...] |
resolve.cc | 25 #include "elfcpp.h" 70 Symbol::override_visibility(elfcpp::STV visibility) 77 if (visibility != elfcpp::STV_DEFAULT) 79 if (this->visibility_ == elfcpp::STV_DEFAULT) 90 Symbol::override_base(const elfcpp::Sym<size, big_endian>& sym, 116 Sized_symbol<size>::override(const elfcpp::Sym<size, big_endian>& sym, 131 const elfcpp::Sym<size, big_endian>& fromsym, 175 symbol_to_bits(elfcpp::STB binding, bool is_dynamic, 176 unsigned int shndx, bool is_ordinary, elfcpp::STT type) 182 case elfcpp::STB_GLOBAL [all...] |
nacl.h | 198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file); 202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE) 211 if ((elfcpp::Swap<32, big_endian>::readval(note_data + 0) 213 && (elfcpp::Swap<32, big_endian>::readval(note_data + 4) 215 && (elfcpp::Swap<32, big_endian>::readval(note_data + 8) 216 == elfcpp::NT_VERSION))
|
object.cc | 92 if (object->section_type(i) == elfcpp::SHT_SYMTAB_SHNDX 120 * elfcpp::Elf_sizes<size>::shdr_size)); 121 typename elfcpp::Shdr<size, big_endian> shdr(p); 130 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(contents + i); 146 return elfcpp::SHN_UNDEF; 149 if (shndx < elfcpp::SHN_LORESERVE || shndx >= object->shnum()) 153 return elfcpp::SHN_UNDEF; 161 // elfcpp::Elf_file interface, and also called by the Object code 189 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, 192 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size [all...] |
incremental.cc | 29 #include "elfcpp.h" 108 typedef elfcpp::Swap<size, big_endian> Swap; 109 typedef elfcpp::Swap<16, big_endian> Swap16; 110 typedef elfcpp::Swap<32, big_endian> Swap32; 111 typedef elfcpp::Swap<64, big_endian> Swap64; 182 return (sh_type == elfcpp::SHT_PROGBITS 183 || sh_type == elfcpp::SHT_NOBITS 184 || sh_type == elfcpp::SHT_INIT_ARRAY 185 || sh_type == elfcpp::SHT_FINI_ARRAY 186 || sh_type == elfcpp::SHT_PREINIT_ARRA [all...] |
copy-relocs.h | 26 #include "elfcpp.h" 47 // be used for COPY relocs: elfcpp::SHT_REL or elfcpp::SHT_RELA. 91 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; 92 typedef typename elfcpp::Elf_types<size>::Elf_Addr Addend;
|
incremental-dump.cc | 230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc); 232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB); 233 if (symtab_shndx == elfcpp::SHN_UNDEF) // Not found. 244 if (strtab_shndx == elfcpp::SHN_UNDEF 246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB) 253 elfcpp::Elf_strtab strtab(strtab_view.data(), strtab_location.data_size); 265 unsigned int sym_size = elfcpp::Elf_sizes<size>::sym_size; 304 elfcpp::Sym<size, big_endian> sym(sym_p); 323 elfcpp::Sym<size, big_endian> sym(sym_p); 346 elfcpp::Sym<size, big_endian> sym(sym_p) [all...] |
compressed_output.h | 60 const char* name, elfcpp::Elf_Word flags, 61 elfcpp::Elf_Xword type)
|
aarch64-reloc-property.h | 223 if (!((code >= elfcpp::R_AARCH64_ABS64 && 224 code <= elfcpp::R_AARCH64_LD64_GOTPAGE_LO15) 225 || (code >= elfcpp::R_AARCH64_TLSGD_ADR_PREL21 && 226 code <= elfcpp::R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC)))
|
nacl.cc | 28 #include "elfcpp.h"
|
/toolchain/binutils/binutils-2.25/elfcpp/ |
elfcpp_file.h | 1 // elfcpp_file.h -- file access for elfcpp -*- C++ -*- 6 // This file is part of elfcpp. 44 // of type View will never survive longer than the elfcpp function. 54 // elfcpp::Shdr shdr(file, ef.section_header(n)); 63 #include "elfcpp.h" 65 namespace elfcpp namespace 302 elfcpp::ELFMAG0, elfcpp::ELFMAG1, 303 elfcpp::ELFMAG2, elfcpp::ELFMAG [all...] |
mips.h | 7 // This file is part of elfcpp. 39 namespace elfcpp namespace 331 { return (st_other & elfcpp::STO_MIPS16) == elfcpp::STO_MIPS16; } 335 { return (st_other & elfcpp::STO_MIPS_ISA) == elfcpp::STO_MICROMIPS; } 339 abi_n32(elfcpp::Elf_Word e_flags) 340 { return (e_flags & elfcpp::EF_MIPS_ABI2) != 0; } 345 { return ei_class == elfcpp::ELFCLASS64; } 349 is_micromips(elfcpp::Elf_Word e_flags [all...] |
elfcpp_internal.h | 1 // elfcpp_internal.h -- internals for elfcpp -*- C++ -*- 6 // This file is part of elfcpp. 32 // This is included by elfcpp.h, the external interface, but holds 38 namespace elfcpp namespace 238 } // End namespace elfcpp.
|
tilegx.h | 6 // This file is part of elfcpp. 35 namespace elfcpp namespace 169 } // End namespace elfcpp.
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
binary_unittest.cc | 30 #include "elfcpp.h" 86 Binary_to_elf binary(static_cast<elfcpp::EM>(0xffff), size, big_endian, 103 CHECK(object->section_flags(1) == (elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE)); 136 == elfcpp::SHN_ABS);
|