elf64archs.c (254B)
1 #include <stdio.h> 2 3 #include <scc/mach.h> 4 #include <scc/elf64.h> 5 6 #include "../libmach.h" 7 8 struct arch elf64archs[] = { 9 { 10 .name = "elf-amd64", 11 .mach = EM_X86_64, 12 .endian = ELFDATA2LSB, 13 .type = OBJ(ELF64, ARCHAMD64, LITTLE_ENDIAN), 14 }, 15 NULL, 16 };