Home
last modified time | relevance | path

Searched refs:ET_REL (Results 1 - 25 of 61) sorted by relevance

123

/third_party/elfutils/libdwfl/
H A Dderelocate.c107 && mod->e_type == ET_REL) in cache_sections()
145 if (mod->e_type == ET_REL in cache_sections()
244 case ET_REL: in dwfl_module_relocations()
267 case ET_REL: in dwfl_module_relocation_info()
385 case ET_REL: in dwfl_module_relocate_address()
416 assert (mod->e_type == ET_REL); in INTDEF()
H A Ddwfl_module_getsym.c112 if ((shndxp != NULL || mod->e_type != ET_REL) in __libdwfl_getsym()
128 if (! adjust_st_value && mod->e_type != ET_REL && alloc in __libdwfl_getsym()
160 if (mod->e_type == ET_REL) in __libdwfl_getsym()
162 /* In an ET_REL file, the symbol table values are relative in __libdwfl_getsym()
H A Ddwfl_module_getelf.c44 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
H A Ddwfl_module_getdwarf.c93 if (ehdr->e_type != ET_REL) in open_elf()
95 /* In any non-ET_REL file, we compute the "synchronization address". in open_elf()
235 mod->main_bias = mod->e_type == ET_REL ? 0 : mod->low_addr - mod->main.vaddr; in __libdwfl_getelf()
1321 if (mod->e_type == ET_REL && !debugfile->relocated) in load_dw()
1349 if (mod->e_type == ET_REL && !debugfile->relocated) in load_dw()
1451 if (mod->e_type == ET_REL in dwfl_module_getdwarf()
H A Drelocate.c126 file might not match. However, some tools did produce ET_REL in relocate_getsym()
173 this is an ET_REL .debug file with no .symtab of its own; in relocate_getsym()
204 /* Handle an undefined symbol. We really only support ET_REL for Linux
301 if (m->e_type != ET_REL) in resolve_symbol()
308 /* In an ET_REL file, the symbol table values are relative in resolve_symbol()
753 assert (mod->e_type == ET_REL); in __libdwfl_relocate()
H A Doffline.c53 assert (mod->e_type == ET_REL); in dwfl_offline_section_address()
H A Ddwfl_module_addrsym.c223 if (resolved && state->mod->e_type != ET_REL) in search_table()
H A Ddwfl_report_elf.c36 /* We start every ET_REL module at a moderately aligned boundary.
64 case ET_REL: in __libdwfl_elf_address_range()
/third_party/elfutils/tests/
H A Ddwflsyms.c142 // For ET_REL the adjustment is section relative. in list_syms()
145 || ehdr.e_type == ET_REL); in list_syms()
166 || ehdr.e_type == ET_REL); in list_syms()
185 if (value != isym.st_value + bias && ehdr.e_type != ET_REL) in list_syms()
H A Dsaridx.c208 ehdr.e_type == ET_REL in main()
H A Dasm-tst2.c43 .e_type = ET_REL,
H A Dasm-tst1.c43 .e_type = ET_REL,
H A Dasm-tst9.c51 .e_type = ET_REL,
/third_party/elfio/tests/
H A DELFIOTest.cpp427 checkHeader( reader, ELFCLASS64, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_X86_64, in TEST()
488 checkHeader( reader, ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_386, 1, in TEST()
542 checkHeader( reader, ELFCLASS32, ELFDATA2MSB, EV_CURRENT, ET_REL, EM_PPC, 1, in TEST()
717 writer.set_type( ET_REL ); in TEST()
743 checkHeader( reader, ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_386, in TEST()
770 writer.set_type( ET_REL ); in TEST()
796 checkHeader( reader, ELFCLASS32, ELFDATA2MSB, EV_CURRENT, ET_REL, EM_PPC, in TEST()
823 writer.set_type( ET_REL ); in TEST()
849 checkHeader( reader, ELFCLASS64, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_X86_64, in TEST()
876 writer.set_type( ET_REL ); in TEST()
[all...]
/third_party/elfutils/libdwelf/
H A Ddwelf_elf_gnu_build_id.c111 else if (mod == NULL || e_type != ET_REL) in find_elf_build_id()
140 assert (ehdr->e_type != ET_REL || mod != NULL); in __libdwfl_find_elf_build_id()
/third_party/elfutils/src/
H A Delfclassify.c188 case ET_REL: in elf_type_string()
189 return "ET_REL"; in elf_type_string()
452 file. (The kernel and various userspace components can load ET_REL
469 && (elf_type == ET_REL || elf_type == ET_EXEC || elf_type == ET_DYN) in is_unstripped()
481 && (elf_type == ET_REL || elf_type == ET_EXEC || elf_type == ET_DYN) in is_debug_only()
606 /* Returns true if the file is a linux kernel module (is ET_REL and
612 && elf_type == ET_REL in is_linux_kernel_module()
H A Darlib.c229 if (ehdr->e_type == ET_REL) in arlib_add_symbols()
276 if (ehdr->e_type != ET_REL) in arlib_add_symbols()
H A Dunstrip.c77 N_("Apply relocations to section contents in ET_REL files"), 0 },
1418 if (stripped_ehdr->e_type != ET_REL) in copy_elided_sections()
1447 stripped_ehdr->e_type == ET_REL in copy_elided_sections()
1490 if (stripped_ehdr->e_type != ET_REL) in copy_elided_sections()
1666 /* In an ET_REL file under --relocate, the sh_addr of SHF_ALLOC in copy_elided_sections()
1671 if (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1716 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1803 || (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1828 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
1835 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
[all...]
H A Delflint.c387 if (ehdr->e_type != ET_REL && ehdr->e_type != ET_EXEC in check_elf_header()
771 if (ehdr->e_type != ET_REL) in check_symtab()
792 GElf_Addr sh_addr = (ehdr->e_type == ET_REL ? 0 in check_symtab()
851 if (ehdr->e_type == ET_REL) in check_symtab()
987 if (xndx != SHN_UNDEF || ehdr->e_type != ET_REL) in check_symtab()
1006 if (ehdr->e_type != ET_REL in check_symtab()
1429 && (r_offset - (ehdr->e_type == ET_REL ? 0 in check_one_reloc()
1931 if (ehdr->e_type != ET_REL) in check_symtab_shndx()
2305 if (ehdr->e_type == ET_REL) in check_hash()
2623 if (ehdr->e_type != ET_REL) in check_group()
[all...]
/third_party/elfutils/backends/
H A Dppc64_init.c77 if (ehdr != NULL && ehdr->e_type != ET_REL in ppc64_init()
H A Dcommon-reloc.c72 #define REL (1 << (ET_REL - 1))
/third_party/elfio/examples/write_obj/
H A Dwrite_obj.cpp49 writer.set_type( ET_REL ); in main()
/third_party/elfutils/libasm/
H A Ddisasm_cb.c134 case ET_REL: in read_symtab()
H A Dasm_begin.c95 ehdr->e_type = ET_REL; in prepare_binary_output()
/third_party/vixl/examples/aarch32/
H A Ddisasm-a32.cc175 if (ehdr_->e_type == ET_REL) { in visit()

Completed in 21 milliseconds

123