Home
last modified time | relevance | path

Searched refs:e_type (Results 1 – 25 of 59) sorted by relevance

123

/external/elfutils/libelf/
Delf32_updatenull.c153 && (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN in __elfw2()
154 || ehdr->e_type == ET_CORE)) in __elfw2()
160 if (ehdr->e_type != ET_EXEC && ehdr->e_type != ET_DYN in __elfw2()
161 && unlikely (ehdr->e_type != ET_CORE)) in __elfw2()
234 if (ehdr->e_type != ET_REL) in __elfw2()
Dgelf_update_ehdr.c102 COPY (e_type); in gelf_update_ehdr()
Dgelf_getehdr.c96 COPY (e_type);
/external/elfutils/tests/
Dnewfile.c45 ehdr->e_type, in print_ehdr()
124 ZERO_TEST (e_type); in main()
156 ZERO_TEST (e_type); in main()
Dupdate2.c82 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
92 ehdr->e_type = ET_EXEC; in main()
142 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dupdate3.c91 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
101 ehdr->e_type = ET_EXEC; in main()
197 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dsaridx.c216 ehdr.e_type == ET_REL in main()
218 : (ehdr.e_type == ET_EXEC in main()
220 : (ehdr.e_type == ET_DYN in main()
Dupdate1.c81 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
119 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
Dupdate4.c96 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
106 ehdr->e_type = ET_EXEC; in main()
350 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
/external/elfutils/src/
Darlib.c232 if (ehdr->e_type == ET_REL) in arlib_add_symbols()
234 else if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) in arlib_add_symbols()
276 if (ehdr->e_type != ET_REL) in arlib_add_symbols()
Delflint.c398 if (ehdr->e_type != ET_REL && ehdr->e_type != ET_EXEC in check_elf_header()
399 && ehdr->e_type != ET_DYN && ehdr->e_type != ET_CORE) in check_elf_header()
400 ERROR (gettext ("unknown object file type %d\n"), ehdr->e_type); in check_elf_header()
418 else if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) in check_elf_header()
432 else if (ehdr->e_type != ET_EXEC && ehdr->e_type != ET_DYN in check_elf_header()
433 && ehdr->e_type != ET_CORE) in check_elf_header()
718 if (ehdr->e_type != ET_REL) in check_symtab()
739 GElf_Addr sh_addr = (ehdr->e_type == ET_REL ? 0 in check_symtab()
779 if (ehdr->e_type == ET_REL) in check_symtab()
909 if (xndx != SHN_UNDEF || ehdr->e_type != ET_REL) in check_symtab()
[all …]
Dunstrip.c1112 && main_ehdr->e_type == ET_EXEC in find_alloc_sections_prelink()
1259 stripped_ehdr->e_type == ET_REL in copy_elided_sections()
1323 if (stripped_ehdr->e_type != ET_REL) in copy_elided_sections()
1487 if (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1512 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1578 || (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1598 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
1605 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
1607 stripped_ehdr->e_type == ET_REL ? 0 : bias, NULL, in copy_elided_sections()
1740 stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
[all …]
Dstrip.c494 || (ehdr->e_type != ET_REL in handle_elf()
503 if (ehdr->e_type != ET_REL) in handle_elf()
518 || (ehdr->e_type != ET_REL in handle_elf()
527 if (ehdr->e_type != ET_REL) in handle_elf()
594 if (ehdr->e_type == ET_REL in handle_elf()
918 debugehdr->e_type = ehdr->e_type; in handle_elf()
1634 newehdr->e_type = ehdr->e_type; in handle_elf()
1682 (ehdr->e_type != ET_REL ? ELF_F_LAYOUT : 0) in handle_elf()
/external/elfutils/libdwfl/
Dderelocate.c143 if (mod->e_type == ET_REL in cache_sections()
232 switch (mod->e_type) in dwfl_module_relocations()
256 switch (mod->e_type) in dwfl_module_relocation_info()
360 switch (mod->e_type) in dwfl_module_relocate_address()
393 assert (mod->e_type == ET_REL); in INTDEF()
Ddwfl_module_getdwarf.c95 if (mod->e_type != ET_EXEC) in open_elf()
110 mod->e_type = ehdr->e_type; in open_elf()
113 if (mod->e_type == ET_EXEC && file->bias != 0) in open_elf()
114 mod->e_type = ET_DYN; in open_elf()
608 if (mod->e_type == ET_REL && !debugfile->relocated) in load_dw()
712 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
753 if (mod->e_type == ET_REL in INTDEF()
Ddwfl_report_elf.c76 switch (ehdr->e_type) in __libdwfl_report_elf()
249 m->e_type = ehdr->e_type; in __libdwfl_report_elf()
Ddwfl_module_getsym.c88 if (mod->e_type == ET_REL) in dwfl_module_getsym()
Dlink_map.c217 if (likely (mod->e_type != ET_REL) && mod->main.elf != NULL) in integrated_memory_callback()
462 if (mod->e_type == ET_EXEC) in consider_executable()
495 if (mod->e_type == ET_EXEC) in consider_executable()
767 || phdr_mod->e_type != ET_EXEC) in dwfl_link_map_report()
/external/ipsec-tools/src/libipsec/
Dpfkey.c1247 if (sa_parms->e_type == SADB_EALG_NONE) {
1253 if (sa_parms->e_type != SADB_EALG_NONE) {
1263 if (sa_parms->e_type == SADB_X_CALG_NONE) {
1274 if (sa_parms->e_type != SADB_EALG_NONE) {
1300 if (sa_parms->e_type != SADB_EALG_NONE &&
1352 sa_parms->a_type, sa_parms->e_type,
1376 if (sa_parms->e_type != SADB_EALG_NONE &&
2481 keymat, e_type, e_keylen, a_type, a_keylen, flags, in pfkey_send_update() argument
2488 u_int e_type, e_keylen, a_type, a_keylen, flags;
2506 psaa.e_type = e_type;
[all …]
/external/grub/stage2/
Di386-elf.h68 Elf32_Half e_type; /* file types */ member
99 & (h.e_ident[EI_VERSION] == EV_CURRENT) & (h.e_type == ET_EXEC) \
/external/valgrind/main/coregrind/m_ume/
Delf.c121 if (!(e->e.e_type == ET_EXEC || e->e.e_type == ET_DYN)) { in readelf()
329 if (e->e.e_type == ET_DYN && ebase == 0) { in VG_()
/external/qemu/elff/
Delff_elf.h99 Elf_Half e_type; member
/external/ipsec-tools/src/racoon/
Dbackupsa.c153 sa_args->mode, sa_args->reqid, sa_args->wsize, sa_args->e_type,
273 GETNEXTNUM(sa_args.e_type, strtoul); in backupsa_from_file()
/external/elfutils/libasm/
Dasm_begin.c94 ehdr->e_type = ET_REL; in prepare_binary_output()
Ddisasm_cb.c122 switch (ehdr->e_type) in read_symtab()

123