/third_party/elfutils/libdwfl/ |
H A D | derelocate.c | 107 && 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 D | dwfl_module_getsym.c | 112 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 D | dwfl_module_getelf.c | 44 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
|
H A D | dwfl_module_getdwarf.c | 93 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 D | relocate.c | 126 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 D | offline.c | 53 assert (mod->e_type == ET_REL); in dwfl_offline_section_address()
|
H A D | dwfl_module_addrsym.c | 223 if (resolved && state->mod->e_type != ET_REL) in search_table()
|
H A D | dwfl_report_elf.c | 36 /* 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 D | dwflsyms.c | 142 // 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 D | saridx.c | 208 ehdr.e_type == ET_REL in main()
|
H A D | asm-tst2.c | 43 .e_type = ET_REL,
|
H A D | asm-tst1.c | 43 .e_type = ET_REL,
|
H A D | asm-tst9.c | 51 .e_type = ET_REL,
|
/third_party/elfio/tests/ |
H A D | ELFIOTest.cpp | 427 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 D | dwelf_elf_gnu_build_id.c | 111 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 D | elfclassify.c | 188 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 D | arlib.c | 229 if (ehdr->e_type == ET_REL) in arlib_add_symbols() 276 if (ehdr->e_type != ET_REL) in arlib_add_symbols()
|
H A D | unstrip.c | 77 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 D | elflint.c | 387 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 D | ppc64_init.c | 77 if (ehdr != NULL && ehdr->e_type != ET_REL in ppc64_init()
|
H A D | common-reloc.c | 72 #define REL (1 << (ET_REL - 1))
|
/third_party/elfio/examples/write_obj/ |
H A D | write_obj.cpp | 49 writer.set_type( ET_REL ); in main()
|
/third_party/elfutils/libasm/ |
H A D | disasm_cb.c | 134 case ET_REL: in read_symtab()
|
H A D | asm_begin.c | 95 ehdr->e_type = ET_REL; in prepare_binary_output()
|
/third_party/vixl/examples/aarch32/ |
H A D | disasm-a32.cc | 175 if (ehdr_->e_type == ET_REL) { in visit()
|