Lines Matching refs:elf
20 #include <objtool/elf.h>
24 #include <arch/elf.h>
39 static int is_x86_64(const struct elf *elf)
41 switch (elf->ehdr.e_machine) {
47 ERROR("unexpected ELF machine type %d", elf->ehdr.e_machine);
222 const struct elf *elf = file->elf;
233 x86_64 = is_x86_64(elf);
711 immr = find_reloc_by_dest(elf, (void *)sec, offset+3);
712 disp = find_reloc_by_dest(elf, (void *)sec, offset+7);
950 bool arch_absolute_reloc(struct elf *elf, struct reloc *reloc)