Lines Matching defs:elf
19 #include <objtool/elf.h>
24 #include <arch/elf.h>
31 static int is_x86_64(const struct elf *elf)
33 switch (elf->ehdr.e_machine) {
39 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine);
158 const struct elf *elf = file->elf;
169 x86_64 = is_x86_64(elf);
637 immr = find_reloc_by_dest(elf, (void *)sec, offset+3);
638 disp = find_reloc_by_dest(elf, (void *)sec, offset+7);