Searched defs:ebl (Results 1 - 21 of 21) sorted by relevance

/external/elfutils/0.153/libebl/
H A Deblclosebackend.c61 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 Deblsectionstripp.c59 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 DlibeblP.h60 struct ebl struct
76 /* See ebl-hooks.h for the declarations of the hook functions. */
78 # include "ebl-hooks.h"
/external/elfutils/0.153/libasm/
H A Ddisasm_begin.c38 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 Dasm_begin.c67 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 DlibasmP.h243 Ebl *ebl; member in struct:DisasmCtx
/external/elfutils/0.153/backends/
H A Dia64_symbol.c115 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 Dsparc_regs.c37 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 Dsparc_symbol.c39 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 Dalpha_symbol.c61 alpha_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type)
83 alpha_check_special_section (Ebl *ebl, argument
98 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
H A Dcommon-reloc.c1 /* 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/eigen/unsupported/Eigen/src/Polynomials/
H A DCompanion.h258 const Index ebl = m_bl_diag.size()-1; local
261 rowNorm = abs( m_bl_diag[ebl] );
267 m_bl_diag[ebl] *= rowB;
/external/elfutils/0.153/libdw/
H A Dcfi.h55 struct ebl;
123 struct ebl *ebl; member in struct:Dwarf_CFI_s
/external/elfutils/0.153/libdwfl/
H A DlibdwflP.h166 Ebl *ebl; member in struct:Dwfl_Module
335 /* Ensure that MOD->ebl is set up. */
/external/elfutils/0.153/src/
H A Dobjdump.c369 show_relocs_x (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *symdata, argument
373 int elfclass = gelf_getclass (ebl->elf);
378 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf)));
390 elf_strptr (ebl->elf, symstrndx, sym->st_name));
395 destshdr = gelf_getshdr (elf_getscn (ebl->elf,
407 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name));
425 show_relocs_rel (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, argument
438 show_relocs_x (ebl, shdr, symdata, xndxdata, symstrndx, shstrndx,
445 show_relocs_rela (Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, argument
458 show_relocs_x (ebl, shd
495 show_relocs(Ebl *ebl, const char *fname, uint32_t shstrndx) argument
568 show_full_content(Ebl *ebl, const char *fname, uint32_t shstrndx) argument
701 show_disasm(Ebl *ebl, const char *fname, uint32_t shstrndx) argument
773 Ebl *ebl = ebl_openbackend (elf); local
[all...]
H A Delfcmp.c51 static bool search_for_copy_reloc (Ebl *ebl, size_t scnndx, int symndx);
736 Ebl *ebl = ebl_openbackend (elf); local
737 if (ebl == NULL)
742 *eblp = ebl;
748 search_for_copy_reloc (Ebl *ebl, size_t scnndx, int symndx) argument
751 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
781 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info)))
795 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info)))
H A Dnm.c747 show_symbols_sysv (Ebl *ebl, GElf_Word strndx, const char *fullname, argument
752 if (elf_getshdrnum (ebl->elf, &shnum) < 0)
763 if (elf_getshdrstrndx (ebl->elf, &shstrndx) < 0)
770 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
776 char *name = elf_strptr (ebl->elf, shstrndx,
787 int digits = length_map[gelf_getclass (ebl->elf) - 1][radix];
825 const char *symstr = sym_name (ebl->elf, strndx, syms[cnt].sym.st_name,
868 ebl_symbol_binding_name (ebl,
871 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info),
874 ebl_section_name (ebl, sym
1156 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
1420 Ebl *ebl; local
[all...]
H A Dstrip.c469 Ebl *ebl = NULL; local
472 ebl = ebl_openbackend (elf);
473 if (ebl == NULL)
693 : ebl_section_strip_p (ebl, ehdr, &shdr_info[cnt].shdr,
1659 if (! tname || ! ebl_debugscn_p (ebl, tname))
1692 Elf_Type type = ebl_reloc_simple_type (ebl, rtype);
1709 if (ebl_debugscn_p (ebl, shdr_info[sec].name))
2052 if (ebl != NULL)
2053 ebl_closebackend (ebl);
H A Delflint.c104 static void check_note_section (Ebl *ebl, GElf_Ehdr *ehdr,
318 section_name (Ebl *ebl, int idx) argument
323 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem);
325 return elf_strptr (ebl->elf, shstrndx, shdr->sh_name);
353 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) argument
387 ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf)));
444 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem);
461 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem);
475 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem);
488 if (!ebl_machine_flag_check (ebl, ehd
533 check_scn_group(Ebl *ebl, int idx) argument
582 check_symtab(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
1024 is_rel_dyn(Ebl *ebl, const GElf_Ehdr *ehdr, int idx, const GElf_Shdr *shdr, bool is_rela) argument
1186 check_reloc_shdr(Ebl *ebl, const GElf_Ehdr *ehdr, const GElf_Shdr *shdr, int idx, int reltype, GElf_Shdr **destshdrp, GElf_Shdr *destshdr_memp, struct loaded_segment **loadedp) argument
1307 check_one_reloc(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *relshdr, int idx, size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, GElf_Addr r_offset, GElf_Xword r_info, const GElf_Shdr *destshdr, bool reldyn, struct loaded_segment *loaded, enum load_state *statep) argument
1428 check_rela(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
1478 check_rel(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
1532 check_dynamic(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
1855 check_symtab_shndx(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
1936 check_sysv_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) argument
1977 check_sysv_hash64(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) argument
2018 check_gnu_hash(Ebl *ebl, GElf_Shdr *shdr, Elf_Data *data, int idx, GElf_Shdr *symshdr) argument
2160 check_hash(int tag, Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
2227 compare_hash_gnu_hash(Ebl *ebl, GElf_Ehdr *ehdr, size_t hash_idx, size_t gnu_hash_idx) argument
2361 check_null(Ebl *ebl, GElf_Shdr *shdr, int idx) argument
2381 check_group(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
2576 has_copy_reloc(Ebl *ebl, unsigned int symscnndx, unsigned int symndx) argument
2629 in_nobits_scn(Ebl *ebl, unsigned int shndx) argument
2675 check_versym(Ebl *ebl, int idx) argument
2830 check_verneed(Ebl *ebl, GElf_Shdr *shdr, int idx) argument
2959 check_verdef(Ebl *ebl, GElf_Shdr *shdr, int idx) argument
3138 check_attributes(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
3395 check_sections(Ebl *ebl, GElf_Ehdr *ehdr) argument
3928 check_note_data(Ebl *ebl, const GElf_Ehdr *ehdr, Elf_Data *data, int shndx, int phndx, GElf_Off start) argument
4010 check_note(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Phdr *phdr, int cnt) argument
4042 check_note_section(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) argument
4078 check_program_header(Ebl *ebl, GElf_Ehdr *ehdr) argument
4344 Ebl *ebl; local
[all...]
H A Dld.h744 Ebl *ebl; member in struct:ld_state
H A Dreadelf.c223 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr);
224 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr);
225 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr);
226 static void print_scngrp (Ebl *ebl);
227 static void print_dynamic (Ebl *ebl);
228 static void print_relocs (Ebl *ebl, GElf_Ehdr *ehdr);
229 static void handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
231 static void handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn,
233 static void print_symtab (Ebl *ebl, int type);
234 static void handle_symtab (Ebl *ebl, Elf_Sc
631 Ebl *ebl = ebl_openbackend (elf); local
753 print_ehdr(Ebl *ebl, GElf_Ehdr *ehdr) argument
884 print_shdr(Ebl *ebl, GElf_Ehdr *ehdr) argument
971 print_phdr(Ebl *ebl, GElf_Ehdr *ehdr) argument
1164 section_name(Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr) argument
1171 handle_scngrp(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
1228 print_scngrp(Ebl *ebl) argument
1355 handle_dynamic(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
1487 print_dynamic(Ebl *ebl) argument
1509 print_relocs(Ebl *ebl, GElf_Ehdr *ehdr) argument
1533 handle_relocs_rel(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) argument
1719 handle_relocs_rela(Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr) argument
1897 print_symtab(Ebl *ebl, int type) argument
1916 handle_symtab(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
2150 print_verinfo(Ebl *ebl) argument
2208 handle_verneed(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
2276 handle_verdef(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
2350 handle_versym(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr) argument
2624 print_hash_info(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx, uint_fast32_t maxlength, Elf32_Word nbucket, uint_fast32_t nsyms, uint32_t *lengths, const char *extrastr) argument
2693 handle_sysv_hash(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) argument
2735 handle_sysv_hash64(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) argument
2776 handle_gnu_hash(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) argument
2857 handle_hash(Ebl *ebl) argument
2889 print_liblist(Ebl *ebl) argument
2951 print_attributes(Ebl *ebl, const GElf_Ehdr *ehdr) argument
4565 print_debug_abbrev_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
4636 print_debug_aranges_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
4692 print_debug_ranges_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
4780 register_info(Ebl *ebl, unsigned int regno, const Ebl_Register_Location *loc, char name[REGNAMESZ], int *bits, int *type) argument
4809 print_cfa_program(const unsigned char *readp, const unsigned char *const endp, Dwarf_Word vma_base, unsigned int code_align, int data_align, unsigned int version, unsigned int ptr_size, Dwfl_Module *dwflmod, Ebl *ebl, Dwarf *dbg) argument
5184 print_debug_frame_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
5810 print_debug_units(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg, bool debug_types) argument
5964 print_debug_info_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
5971 print_debug_types_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
5979 print_debug_line_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
6470 print_debug_loc_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
6594 print_debug_macinfo_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
6766 print_debug_pubnames_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
6780 print_debug_str_section(Dwfl_Module *dwflmod __attribute__ ((unused)), Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
7086 print_gdb_index_section(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg) argument
7283 print_debug(Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr) argument
7808 handle_core_register(Ebl *ebl, Elf *core, int maxregname, const Ebl_Register_Location *regloc, const void *desc, unsigned int colno) argument
7959 handle_core_registers(Ebl *ebl, Elf *core, const void *desc, const Ebl_Register_Location *reglocs, size_t nregloc) argument
8040 handle_auxv_note(Ebl *ebl, Elf *core, GElf_Word descsz, GElf_Off desc_pos) argument
8112 handle_core_note(Ebl *ebl, const GElf_Nhdr *nhdr, const char *name, const void *desc) argument
8142 handle_notes_data(Ebl *ebl, const GElf_Ehdr *ehdr, GElf_Off start, Elf_Data *data) argument
8202 handle_notes(Ebl *ebl, GElf_Ehdr *ehdr) argument
8409 dump_data(Ebl *ebl) argument
8415 dump_strings(Ebl *ebl) argument
8421 print_strings(Ebl *ebl) argument
[all...]

Completed in 325 milliseconds