/external/elfutils/libebl/ |
H A D | eblclosebackend.c | 61 ebl_closebackend (Ebl *ebl) argument 63 if (ebl != NULL) 66 ebl->destr (ebl); 69 if (ebl->dlhandle != NULL) 70 (void) dlclose (ebl->dlhandle); 73 free (ebl);
|
H A D | eblsectionstripp.c | 59 ebl_section_strip_p (Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, argument 67 if (ebl_debugscn_p (ebl, name)) 72 Elf_Scn *scn_l = elf_getscn (ebl->elf, (shdr)->sh_info); 77 const char *s_l = elf_strptr (ebl->elf, ehdr->e_shstrndx, 79 if (s_l != NULL && ebl_debugscn_p (ebl, s_l))
|
H A D | libeblP.h | 59 struct ebl struct 75 /* See ebl-hooks.h for the declarations of the hook functions. */ 77 # include "ebl-hooks.h"
|
/external/elfutils/libasm/ |
H A D | disasm_begin.c | 38 disasm_begin (Ebl *ebl, Elf *elf, DisasmGetSymCB_t symcb) argument 40 if (ebl == NULL) 43 if (ebl->disasm == NULL) 56 ctx->ebl = ebl;
|
H A D | asm_begin.c | 67 prepare_binary_output (AsmCtx_t *result, Ebl *ebl) argument 85 int class = ebl_get_elfclass (ebl); 99 ehdr->e_machine = ebl_get_elfmachine (ebl); 101 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); 127 asm_begin (fname, ebl, textp) 129 Ebl *ebl; 178 result = prepare_binary_output (result, ebl);
|
H A D | libasmP.h | 243 Ebl *ebl; member in struct:DisasmCtx
|
/external/elfutils/tests/ |
H A D | asm-tst4.c | 52 Ebl *ebl = ebl_openbackend_machine (EM_386); local 53 if (ebl == NULL) 59 ctx = asm_begin (fname, ebl, false); 110 ebl_closebackend (ebl);
|
H A D | asm-tst5.c | 54 Ebl *ebl = ebl_openbackend_machine (EM_386); local 55 if (ebl == NULL) 61 ctx = asm_begin (fname, ebl, false); 122 ebl_closebackend (ebl);
|
H A D | asm-tst6.c | 52 Ebl *ebl = ebl_openbackend_machine (EM_386); local 53 if (ebl == NULL) 59 ctx = asm_begin (fname, ebl, false); 156 ebl_closebackend (ebl);
|
H A D | asm-tst7.c | 52 Ebl *ebl = ebl_openbackend_machine (EM_386); local 53 if (ebl == NULL) 59 ctx = asm_begin (fname, ebl, false); 186 ebl_closebackend (ebl);
|
H A D | asm-tst8.c | 52 Ebl *ebl = ebl_openbackend_machine (EM_386); local 53 if (ebl == NULL) 59 ctx = asm_begin (fname, ebl, false); 194 ebl_closebackend (ebl);
|
H A D | asm-tst1.c | 85 Ebl *ebl = ebl_openbackend_machine (EM_386); local 86 if (ebl == NULL) 92 ctx = asm_begin (fname, ebl, false); 261 ebl_closebackend (ebl);
|
H A D | asm-tst2.c | 84 Ebl *ebl = ebl_openbackend_machine (EM_386); local 85 if (ebl == NULL) 91 ctx = asm_begin (fname, ebl, false); 283 ebl_closebackend (ebl);
|
H A D | asm-tst9.c | 104 Ebl *ebl = ebl_openbackend_machine (EM_386); local 105 if (ebl == NULL) 111 ctx = asm_begin (fname, ebl, false); 340 ebl_closebackend (ebl);
|
H A D | asm-tst3.c | 76 Ebl *ebl = ebl_openbackend_machine (EM_386); local 77 if (ebl == NULL) 83 ctx = asm_begin (fname, ebl, false); 344 ebl_closebackend (ebl);
|
/external/elfutils/backends/ |
H A D | ia64_symbol.c | 115 ia64_reloc_simple_type (Ebl *ebl, int type) argument 126 if (ebl->data == ELFDATA2MSB) 131 if (ebl->data == ELFDATA2LSB) 136 if (ebl->data == ELFDATA2MSB) 141 if (ebl->data == ELFDATA2LSB)
|
H A D | sparc_regs.c | 37 sparc_register_info (Ebl *ebl, argument 42 const int nfp = 32 + (ebl->machine == EM_SPARC ? 0 : 16); 43 const int nspec = ebl->machine == EM_SPARC ? 8 : 6; 51 *bits = ebl->machine == EM_SPARC ? 32 : 64; 66 if ((ebl->machine != EM_SPARC ? 0 : 4) + 1 - (unsigned int) regno <= 1) 68 return stpncpy (name, names[ebl->machine != EM_SPARC][regno],
|
H A D | alpha_symbol.c | 60 alpha_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) 82 alpha_check_special_section (Ebl *ebl, argument 97 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
|
H A D | sparc_symbol.c | 39 sparc_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) 71 sparc_check_special_section (Ebl *ebl, argument 85 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
|
H A D | common-reloc.c | 1 /* Common code for ebl reloc functions. 133 EBLHOOK(init_reloc) (Ebl *ebl) argument 135 ebl->reloc_type_name = EBLHOOK(reloc_type_name); 136 ebl->reloc_type_check = EBLHOOK(reloc_type_check); 137 ebl->reloc_valid_use = EBLHOOK(reloc_valid_use); 138 ebl->copy_reloc_p = EBLHOOK(copy_reloc_p); 139 ebl->none_reloc_p = EBLHOOK(none_reloc_p); 141 ebl->relative_reloc_p = EBLHOOK(relative_reloc_p);
|
/external/elfutils/libdwfl/ |
H A D | libdwflP.h | 157 Ebl *ebl; member in struct:Dwfl_Module 270 /* Ensure that MOD->ebl is set up. */
|
/external/elfutils/src/ |
H A D | elfcmp.c | 50 static bool search_for_copy_reloc (Ebl *ebl, size_t scnndx, int symndx); 579 Ebl *ebl = ebl_openbackend (elf); local 580 if (ebl == NULL) 585 *eblp = ebl; 591 search_for_copy_reloc (Ebl *ebl, size_t scnndx, int symndx) argument 594 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL) 624 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info))) 638 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info)))
|
H A D | objdump.c | 361 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, argument 365 int elfclass = gelf_getclass (ebl->elf); 386 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) 387 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), 395 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) 396 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), 399 elf_strptr (ebl->elf, symstrndx, sym->st_name)); 404 destshdr = gelf_getshdr (elf_getscn (ebl->elf, 412 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) 413 ? ebl_reloc_type_name (ebl, GELF_R_TYP 434 show_relocs_rela(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, Elf_Data *symdata, Elf_Data *xndxdata, size_t symstrndx, size_t shstrndx) argument 541 show_relocs(Ebl *ebl, const char *fname, uint32_t shstrndx) argument 614 show_full_content(Ebl *ebl, const char *fname, uint32_t shstrndx) argument 726 show_disasm(Ebl *ebl, const char *fname, uint32_t shstrndx) argument 776 Ebl *ebl = ebl_openbackend (elf); local [all...] |
H A D | strip.c | 441 Ebl *ebl = NULL; local 444 ebl = ebl_openbackend (elf); 445 if (ebl == NULL) 664 if (ebl_section_strip_p (ebl, ehdr, &shdr_info[cnt].shdr, 1734 if (ebl != NULL) 1735 ebl_closebackend (ebl);
|
H A D | nm.c | 721 show_symbols_sysv (Ebl *ebl, GElf_Word strndx, argument 727 if (elf_getshnum (ebl->elf, &shnum) < 0) 738 if (elf_getshstrndx (ebl->elf, &shstrndx) < 0) 745 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL) 751 char *name = elf_strptr (ebl->elf, shstrndx, 762 int digits = length_map[gelf_getclass (ebl->elf) - 1][radix]; 794 const char *symstr = sym_name (ebl->elf, strndx, syms[cnt].sym.st_name, 812 ebl_symbol_binding_name (ebl, 815 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), 818 ebl_section_name (ebl, sym 994 show_symbols(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, Elf_Scn *xndxscn, GElf_Shdr *shdr, const char *prefix, const char *fname, const char *fullname) argument 1239 Ebl *ebl; local [all...] |