Lines Matching refs:e_machine
399 return ehdr->e_machine == EM_X86_64 && ri->is_rela && in addend_may_be_ifunc()
437 switch (ehdr->e_machine) { in get_plt_sizes()
477 static bool machine_is_x86(GElf_Half e_machine) in machine_is_x86() argument
479 return e_machine == EM_386 || e_machine == EM_X86_64; in machine_is_x86()
648 if (ehdr->e_machine == EM_X86_64) in dso__synthesize_plt_got_symbols()
714 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
719 if (machine_is_x86(ehdr.e_machine) && in dso__synthesize_plt_symbols()
808 if (machine_is_x86(ehdr.e_machine) && sort_rel(&ri)) in dso__synthesize_plt_symbols()
1351 if (ehdr->e_machine == EM_PARISC || in max_text_section()
1352 ehdr->e_machine == EM_ALPHA) in max_text_section()
1666 if (ehdr.e_machine == EM_ARM || ehdr.e_machine == EM_AARCH64) { in dso__load_sym_internal()
1734 if ((ehdr.e_machine == EM_ARM) && in dso__load_sym_internal()
1935 if (ehdr.e_machine == EM_X86_64) in dso__type_fd()
2066 ehdr->e_machine = kehdr->e_machine; in kcore__copy_hdr()