HomeSort by relevance Sort by last modified time
    Searched refs:elfcpp (Results 26 - 50 of 83) sorted by null

12 3 4

  /toolchain/binutils/binutils-2.25/gold/
dwarf_reader.cc 61 const int symsize = elfcpp::Elf_sizes<size>::sym_size;
63 elfcpp::Sym<size, big_endian> elfsym(this->symtab_ + symndx * symsize);
81 typename elfcpp::Elf_types<size>::Elf_Addr value;
87 if (this->reloc_type_ == elfcpp::SHT_RELA)
260 bool has_children = *this->buffer_pos_ == elfcpp::DW_CHILDREN_yes;
283 if (attr == elfcpp::DW_AT_sibling)
367 if ((reloc_type == elfcpp::SHT_REL
368 || reloc_type == elfcpp::SHT_RELA)
474 if (this->reloc_type_ == elfcpp::SHT_REL)
538 if ((reloc_type == elfcpp::SHT_RE
    [all...]
copy-relocs.cc 78 if ((object->section_flags(shndx) & elfcpp::SHF_WRITE) == 0)
116 typename elfcpp::Elf_types<size>::Elf_WXword symsize = sym->symsize();
128 typename elfcpp::Elf_types<size>::Elf_WXword addralign;
151 elfcpp::SHT_NOBITS,
152 elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE,
181 unsigned int reloc_type = elfcpp::elf_r_type<size>(rel.get_r_info());
182 typename elfcpp::Elf_types<size>::Elf_Addr addend =
220 class Copy_relocs<elfcpp::SHT_REL, 32, false>;
223 class Copy_relocs<elfcpp::SHT_RELA, 32, false>
    [all...]
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
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)
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...]
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...]
symtab.cc 55 elfcpp::STT type, elfcpp::STB binding,
56 elfcpp::STV visibility, unsigned char nonvis)
116 const elfcpp::Sym<size, big_endian>& sym,
135 Output_data* od, elfcpp::STT type,
136 elfcpp::STB binding, elfcpp::STV visibility,
154 Output_segment* os, elfcpp::STT type,
155 elfcpp::STB binding, elfcpp::STV visibility
    [all...]
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...]
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...]
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...]
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...]
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)))
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...]
output.h 29 #include "elfcpp.h"
154 is_section_type(elfcpp::Elf_Word stt) const
160 is_section_flag_set(elfcpp::Elf_Xword shf) const
321 do_is_section_type(elfcpp::Elf_Word) const
327 do_is_section_flag_set(elfcpp::Elf_Xword) const
612 typename elfcpp::Elf_types<size>::Elf_Addr
998 // separate class. The class is templatized on either elfcpp::SHT_REL
999 // or elfcpp::SHT_RELA, and also on whether this is a dynamic
1010 class Output_reloc<elfcpp::SHT_REL, dynamic, size, big_endian>
1013 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address
    [all...]
dynobj.h 167 const typename elfcpp::Ehdr<size, big_endian>&);
282 static const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size;
283 static const int sym_size = elfcpp::Elf_sizes<size>::sym_size;
284 static const int dyn_size = elfcpp::Elf_sizes<size>::dyn_size;
285 typedef elfcpp::Shdr<size, big_endian> Shdr;
286 typedef elfcpp::Dyn<size, big_endian> Dyn;
292 if (shndx >= elfcpp::SHN_LORESERVE)
309 elfcpp::SHT type, unsigned int link,
339 elfcpp::Elf_file<size, big_endian, Object> elf_file_;
compressed_output.cc 71 elfcpp::Swap_unaligned<64, true>::writeval(*compressed_data + 4,
160 return elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
182 elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
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...]
layout.h 511 init_fixed_output_section(const char*, elfcpp::Shdr<size, big_endian>&);
523 const char* name, const elfcpp::Shdr<size, big_endian>& shdr,
601 const elfcpp::Shdr<size, big_endian>& shdr,
613 const elfcpp::Shdr<size, big_endian>& shdr,
614 elfcpp::Elf_Word flags,
634 const elfcpp::Shdr<size, big_endian>& shdr,
677 add_output_section_data(const char* name, elfcpp::Elf_Word type,
678 elfcpp::Elf_Xword flags,
860 find_output_segment(elfcpp::PT type, elfcpp::Elf_Word set
    [all...]
  /toolchain/binutils/binutils-2.25/elfcpp/
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...]
i386.h 6 // This file is part of elfcpp.
39 namespace elfcpp namespace
96 } // End namespace elfcpp.
x86_64.h 6 // This file is part of elfcpp.
35 namespace elfcpp namespace
102 } // End namespace 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...]
  /toolchain/binutils/binutils-2.25/gold/testsuite/
testfile.cc 62 unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr,
77 Output_section*, typename elfcpp::Elf_types<size>::Elf_Off,
79 typename elfcpp::Elf_types<size>::Elf_Addr,
92 static_cast<elfcpp::EM>(0xffff), // machine_code
105 elfcpp::SHN_UNDEF, // small_common_shndx
106 elfcpp::SHN_UNDEF, // large_common_shndx

Completed in 2019 milliseconds

12 3 4