scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

elf64archs.c (252B)


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