/external/elfutils/libasm/ |
asm_begin.c | 70 prepare_binary_output (AsmCtx_t *result, Ebl *ebl) 88 int class = ebl_get_elfclass (ebl); 101 /* Use the machine, class, and endianess values from the Ebl descriptor. */ 102 ehdr->e_machine = ebl_get_elfmachine (ebl); 104 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); 130 asm_begin (const char *fname, Ebl *ebl, bool textp) 178 result = prepare_binary_output (result, ebl);
|
libasmP.h | 246 Ebl *ebl; member in struct:DisasmCtx
|
/external/elfutils/backends/ |
s390_unwind.c | 46 s390_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc, 60 instr = (instr >> (ebl->class == ELFCLASS64 ? 48 : 16)) & 0xffff; 72 unsigned word_size = ebl->class == ELFCLASS64 ? 8 : 4; 108 if (ebl->class == ELFCLASS32) 119 if (ebl->class == ELFCLASS32)
|
sh_regs.c | 42 sh_register_info (Ebl *ebl __attribute__ ((unused)),
|
sparc_cfi.c | 39 sparc_abi_cfi (Ebl *ebl __attribute__ ((unused)), Dwarf_CIE *abi_info)
|
x86_64_regs.c | 41 x86_64_register_info (Ebl *ebl __attribute__ ((unused)),
|
ia64_regs.c | 40 ia64_register_info (Ebl *ebl __attribute__ ((unused)),
|
ppc_regs.c | 40 ppc_register_info (Ebl *ebl __attribute__ ((unused)), 52 *bits = ebl->machine == EM_PPC64 ? 64 : 32; 61 if (ebl->machine != EM_PPC64 && regno < 64)
|
ppc_symbol.c | 45 ppc_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type)
|
common-reloc.c | 1 /* Common code for ebl reloc functions. 149 EBLHOOK(init_reloc) (Ebl *ebl) 151 ebl->reloc_type_name = EBLHOOK(reloc_type_name); 152 ebl->reloc_type_check = EBLHOOK(reloc_type_check); 153 ebl->reloc_valid_use = EBLHOOK(reloc_valid_use); 154 ebl->copy_reloc_p = EBLHOOK(copy_reloc_p); 155 ebl->none_reloc_p = EBLHOOK(none_reloc_p); 157 ebl->relative_reloc_p = EBLHOOK(relative_reloc_p);
|
/external/elfutils/libebl/ |
eblauxvinfo.c | 88 ebl_auxv_info (Ebl *ebl, GElf_Xword a_type, const char **name, 91 int result = ebl->auxv_info (a_type, name, format);
|
eblcorenotetypename.c | 39 ebl_core_note_type_name (Ebl *ebl, uint32_t type, char *buf, size_t len) 41 const char *res = ebl->core_note_type_name (type, buf, len);
|
eblsectiontypename.c | 39 ebl_section_type_name (Ebl *ebl, int section, char *buf, size_t len) 41 const char *res = ebl->section_type_name (section, buf, len);
|
eblobjnote.c | 42 ebl_object_note (Ebl *ebl, const char *name, uint32_t type, 45 if (! ebl->object_note (name, type, descsz, desc)) 67 size_t addrs_size = gelf_fsize (ebl->elf, ELF_T_ADDR, 3, EV_CURRENT); 87 if (gelf_xlatetom (ebl->elf, &dst, &src, 88 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL) 108 if (gelf_getclass (ebl->elf) == ELFCLASS32) 187 if (elf32_xlatetom (&out, &in, ebl->data) != NULL)
|
/external/elfutils/tests/ |
asm-tst6.c | 44 Ebl *ebl = ebl_openbackend_machine (EM_386); local 45 if (ebl == NULL) 51 ctx = asm_begin (fname, ebl, false); 147 ebl_closebackend (ebl);
|
asm-tst7.c | 44 Ebl *ebl = ebl_openbackend_machine (EM_386); local 45 if (ebl == NULL) 51 ctx = asm_begin (fname, ebl, false); 178 ebl_closebackend (ebl);
|
asm-tst8.c | 44 Ebl *ebl = ebl_openbackend_machine (EM_386); local 45 if (ebl == NULL) 51 ctx = asm_begin (fname, ebl, false); 186 ebl_closebackend (ebl);
|
asm-tst1.c | 77 Ebl *ebl = ebl_openbackend_machine (EM_386); local 78 if (ebl == NULL) 84 ctx = asm_begin (fname, ebl, false); 253 ebl_closebackend (ebl);
|
asm-tst2.c | 76 Ebl *ebl = ebl_openbackend_machine (EM_386); local 77 if (ebl == NULL) 83 ctx = asm_begin (fname, ebl, false); 275 ebl_closebackend (ebl);
|
/external/elfutils/src/ |
objdump.c | 357 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, 361 int elfclass = gelf_getclass (ebl->elf); 366 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); 378 elf_strptr (ebl->elf, symstrndx, sym->st_name)); 383 destshdr = gelf_getshdr (elf_getscn (ebl->elf, 395 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); 413 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, 417 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT) 767 Ebl *ebl = ebl_openbackend (elf); local [all...] |
readelf.c | 246 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr); 247 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr); 248 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr); 249 static void print_scngrp (Ebl *ebl); 250 static void print_dynamic (Ebl *ebl); 841 Ebl *ebl = ebl_openbackend (elf); local [all...] |
elfcmp.c | 42 static Elf *open_file (const char *fname, int *fdp, Ebl **eblp); 43 static bool search_for_copy_reloc (Ebl *ebl, size_t scnndx, int symndx); 163 Ebl *ebl1; 168 Ebl *ebl2; 728 open_file (const char *fname, int *fdp, Ebl **eblp) 738 Ebl *ebl = ebl_openbackend (elf); local 739 if (ebl == NULL) 741 gettext ("cannot create EBL descriptor for '%s'"), fname) [all...] |
elflint.c | 96 static void check_note_section (Ebl *ebl, GElf_Ehdr *ehdr, 314 section_name (Ebl *ebl, int idx) 323 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); 327 ret = elf_strptr (ebl->elf, shstrndx, shdr->sh_name); 354 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) 390 ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf))); 447 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem) 4679 Ebl *ebl; local [all...] |
/external/elfutils/libdwfl/ |
dwfl_frame.c | 46 Ebl *ebl = state->thread->process->ebl; local 48 if (ebl_abi_cfi (ebl, &abi_info) != 0) 55 if (ra >= ebl_frame_nregs (ebl)) 60 state->pc = state->regs[ra] + ebl_ra_offset (ebl); 90 Ebl *ebl = thread->process->ebl; local 91 size_t nregs = ebl_frame_nregs (ebl); 157 Ebl *ebl; local 417 Ebl *ebl = thread->process->ebl; local [all...] |
frame_unwind.c | 54 Ebl *ebl = state->thread->process->ebl; local 55 if (! ebl_dwarf_to_regno (ebl, ®no)) 57 if (regno >= ebl_frame_nregs (ebl)) 71 Ebl *ebl = state->thread->process->ebl; local 72 if (! ebl_dwarf_to_regno (ebl, ®no)) 74 if (regno >= ebl_frame_nregs (ebl)) 520 Ebl *ebl = process->ebl; local 553 Ebl *ebl = process->ebl; local 732 Ebl *ebl = process->ebl; local [all...] |