/toolchain/binutils/binutils-2.27/ld/testsuite/ld-mips-elf/ |
export-class.exp | 47 "$LDFLAGS -shared -version-script ../ld-elf/export-class-lib.ver" "" \ 49 { ../ld-elf/export-class-lib.s } \ 63 { ../ld-elf/export-class-ref.s } \ 80 { ../ld-elf/export-class-dep.s ../ld-elf/export-class-def.s } \
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-powerpc/ |
export-class.exp | 45 "$LDFLAGS -shared -version-script ../ld-elf/export-class-lib.ver" "" \ 47 { ../ld-elf/export-class-lib.s } \ 61 { ../ld-elf/export-class-ref.s } \ 78 { ../ld-elf/export-class-dep.s ../ld-elf/export-class-def.s } \
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-x86-64/ |
export-class.exp | 47 "$LDFLAGS -shared -version-script ../ld-elf/export-class-lib.ver" "" \ 49 { ../ld-elf/export-class-lib.s } \ 63 { ../ld-elf/export-class-ref.s } \ 80 { ../ld-elf/export-class-dep.s ../ld-elf/export-class-def.s } \
|
largecomm-1a.d | 2 #as: --elf-stt-common=yes
|
largecomm-1b.d | 2 #as: --elf-stt-common=no
|
/external/elfutils/libdwelf/ |
dwelf_elf_gnu_debuglink.c | 36 dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc) 39 if (elf_getshdrstrndx (elf, &shstrndx) < 0) 43 while ((scn = elf_nextscn (elf, scn)) != NULL) 50 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); 88 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); 92 Elf_Data *d = gelf_xlatetom (elf, &crcdata, &conv, ehdr->e_ident[EI_DATA]);
|
/external/elfutils/libelf/ |
gelf_getauxv.c | 45 Elf *elf; local 56 elf = data_scn->s->elf; 58 rwlock_rdlock (elf->lock); 63 if (elf->class == ELFCLASS32) 104 rwlock_unlock (elf->lock);
|
gelf_getdyn.c | 46 Elf *elf; local 57 elf = data_scn->s->elf; 59 rwlock_rdlock (elf->lock); 64 if (elf->class == ELFCLASS32) 105 rwlock_unlock (elf->lock);
|
gelf_update_shdr.c | 44 Elf *elf; local 49 elf = scn->elf; 50 rwlock_wrlock (elf->lock); 52 if (elf->class == ELFCLASS32) 108 rwlock_unlock (elf->lock);
|
elf32_updatenull.c | 42 #include "elf-knowledge.h" 51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, 58 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; 63 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); 70 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; 83 /* Unconditionally overwrite the ELF version. * [all...] |
elf_getdata.c | 42 #include "elf-knowledge.h" 123 __libelf_data_type (Elf *elf, int sh_type) 125 /* Some broken ELF ABI for 64-bit machines use the wrong hash table 126 entry size. See elf-knowledge.h for more information. */ 127 if (sh_type == SHT_HASH && elf->class == ELFCLASS64) 130 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem); 226 Elf *elf = scn->elf; local 410 Elf *elf = scn->elf; local 447 Elf *elf; local [all...] |
elf_newdata.c | 55 if (scn->elf->class == ELFCLASS32 56 || (offsetof (struct Elf, state.elf32.ehdr) 57 == offsetof (struct Elf, state.elf64.ehdr)) 58 ? scn->elf->state.elf32.ehdr == NULL 59 : scn->elf->state.elf64.ehdr == NULL) 65 rwlock_wrlock (scn->elf->lock); 67 /* data_read is set when data has been read from the ELF image or 69 been read from the ELF image, then rawdata_base will point to raw 131 rwlock_unlock (scn->elf->lock);
|
/external/elfutils/tests/ |
arls.c | 57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local 58 if (elf == NULL) 60 printf ("cannot get ELF handling for '%s': %s\n", 66 if (elf_kind (elf) != ELF_K_AR) 69 elf_end (elf); 75 Elf *subelf = NULL; 77 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 85 elf_end (elf);
|
sectiondump.c | 31 static int handle_section (Elf *elf, Elf_Scn *scn); 33 static void print_symtab (Elf *elf, Elf_Data *data); 39 Elf *elf; local 55 /* Create the ELF descriptor. */ 56 elf = elf_begin (fd, ELF_C_READ, NULL); 57 if (elf == NULL) 58 error (EXIT_FAILURE, 0, "cannot create ELF descriptor: %s" [all...] |
elfgetchdr.c | 27 #include ELFUTILS_HEADER(elf) 47 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local 48 if (elf == NULL) 57 if (elf_getshdrstrndx (elf, &shdrstrndx) == -1) 66 while ((scn = elf_nextscn (elf, scn)) != NULL) 87 printf ("section %d: ELF Compressed ch_type: %" PRId32 93 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name); 119 elf_end (elf);
|
/external/google-breakpad/src/common/linux/ |
dump_symbols_unittest.cc | 35 #include <elf.h> 56 using google_breakpad::synth_elf::ELF; 67 void GetElfContents(ELF& elf) { 69 ASSERT_TRUE(elf.GetContents(&contents)); 94 ELF elf(EM_386, ELFCLASS32, kLittleEndian); 98 elf.AddSection(".text", text, SHT_PROGBITS); 106 int index = elf.AddSection(".dynstr", table, SHT_STRTAB); 107 elf.AddSection(".dynsym", syms [all...] |
/external/elfutils/backends/ |
ppc_symbol.c | 35 #include <elf.h> 84 find_dyn_got (Elf *elf, GElf_Addr *addr) 87 if (elf_getphdrnum (elf, &phnum) != 0) 93 GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem); 97 Elf_Scn *scn = gelf_offscn (elf, phdr->p_offset); 125 ppc_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr, const GElf_Sym *sym, 135 if (find_dyn_got (elf, &gotaddr)) 142 const char *sname = elf_strptr (elf, ehdr->e_shstrndx, destshdr->sh_name) [all...] |
aarch64_symbol.c | 33 #include <elf.h> 65 aarch64_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr, const GElf_Sym *sym, 71 const char *sname = elf_strptr (elf, ehdr->e_shstrndx, destshdr->sh_name); 76 while ((scn = elf_nextscn (elf, scn)) != NULL) 82 sname = elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name);
|
/system/core/libunwindstack/ |
MapInfo.cpp | 25 #include <unwindstack/Elf.h> 42 // - There is an elf file embedded in a file. 43 // - The whole file is an elf file, and the offset needs to be saved. 46 // a valid elf, then reinit as if the whole file is an elf file. 47 // If the offset is a valid elf, then determine the size of the map 49 // only maps in a portion of the original elf, and never the symbol 58 Elf::GetInfo(memory.get(), &valid, &max_size); 60 // Init as if the whole file is an elf. 108 Elf* MapInfo::GetElf(const std::shared_ptr<Memory>& process_memory, bool init_gnu_debugdata) [all...] |
/system/core/libunwindstack/tools/ |
unwind_symbols.cpp | 17 #include <elf.h> 26 #include <unwindstack/Elf.h> 68 unwindstack::Elf elf(memory); 69 if (!elf.Init(true) || !elf.valid()) { 70 printf("%s is not a valid elf file.\n", argv[1]); 75 if (elf.GetSoname(&soname)) { 79 switch (elf.machine_type()) { 98 uint64_t load_bias = elf.GetLoadBias() [all...] |
/external/elfutils/src/ |
xelf.h | 1 /* Macros to enable writing native and generic ELF access code. 44 # define xelf_getehdr(elf, name) name = elf32_getehdr (elf) 45 # define xelf_getehdr_copy(elf, name, copy) \ 46 (copy) = *(name = elf32_getehdr (elf)) 47 # define xelf_newehdr(elf, klass) elf32_newehdr (elf) 48 # define xelf_update_ehdr(elf, ehdr) \ 49 /* nothing */ ((void) (elf), (void) (ehdr), 1) 51 # define xelf_getclass(elf) ELFCLASS3 [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/ |
native.cpp | 27 /// executable code as an ELF object file. 47 namespace elf { namespace in namespace:__anon30195 48 std::unique_ptr<Elf, int (*)(Elf *)> 59 get_symbol_table(Elf *elf) { 61 elf_getshdrstrndx(elf, §ion_str_index); 63 for (Elf_Scn *s = elf_nextscn(elf, NULL); s; s = elf_nextscn(elf, s)) { 68 if (!std::strcmp(elf_strptr(elf, section_str_index, header.sh_name) 98 const auto elf = elf::get(code); local [all...] |
/build/soong/cmd/symbol_inject/ |
elf.go | 18 "debug/elf" 24 Symbols() ([]elf.Symbol, error) 25 Sections() []elf.SectionHeader 26 Type() elf.Type 32 *elf.File 35 func (f elfFileWrapper) Sections() []elf.SectionHeader { 36 ret := make([]elf.SectionHeader, len(f.File.Sections)) 44 func (f elfFileWrapper) Type() elf.Type { 49 symbols []elf.Symbol 50 sections []elf.SectionHeade [all...] |
/external/perf_data_converter/src/quipper/ |
dso.cc | 7 #include <elf.h> 29 Elf_Scn *FindElfSection(Elf *elf, const std::vector<string> &names) { 31 if (elf_getshdrstrndx(elf, &shstrndx) != 0) { 36 if (!elf_rawdata(elf_getscn(elf, shstrndx), nullptr)) return nullptr; 41 while ((sec = elf_nextscn(elf, sec)) != nullptr) { 44 char *n = elf_strptr(elf, shstrndx, shdr.sh_name); 61 bool GetBuildID(Elf *elf, string *buildid) { 62 Elf_Kind kind = elf_kind(elf); 119 Elf *elf = elf_begin(fd, ELF_C_READ_MMAP, nullptr); local [all...] |
/external/elfutils/libdwfl/ |
dwfl_module_getsym.c | 34 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp, 54 Elf *elf; local 63 elf = mod->symfile->elf; 72 elf = mod->aux_sym.elf; 81 elf = mod->symfile->elf; 90 elf = mod->aux_sym.elf [all...] |