Lines Matching refs:e_machine
342 return ehdr->e_machine == EM_X86_64 && ri->is_rela && in addend_may_be_ifunc()
380 switch (ehdr->e_machine) { in get_plt_sizes()
420 static bool machine_is_x86(GElf_Half e_machine) in machine_is_x86() argument
422 return e_machine == EM_386 || e_machine == EM_X86_64; in machine_is_x86()
591 if (ehdr->e_machine == EM_X86_64) in dso__synthesize_plt_got_symbols()
657 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
662 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
751 if (machine_is_x86(ehdr.e_machine) && sort_rel(&ri)) in dso__synthesize_plt_symbols()
1350 if (ehdr->e_machine == EM_PARISC || in max_text_section()
1351 ehdr->e_machine == EM_ALPHA) in max_text_section()
1665 if (ehdr.e_machine == EM_ARM || ehdr.e_machine == EM_AARCH64) { in dso__load_sym_internal()
1672 if (ehdr.e_machine == EM_RISCV) { in dso__load_sym_internal()
1739 if ((ehdr.e_machine == EM_ARM) && in dso__load_sym_internal()
1953 if (ehdr.e_machine == EM_X86_64) in dso__type_fd()
2084 ehdr->e_machine = kehdr->e_machine; in kcore__copy_hdr()