Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "relocs.h"
0003 
0004 #define ELF_BITS 64
0005 
0006 #define ELF_MACHINE             EM_X86_64
0007 #define ELF_MACHINE_NAME        "x86_64"
0008 #define SHT_REL_TYPE            SHT_RELA
0009 #define Elf_Rel                 Elf64_Rela
0010 
0011 #define ELF_CLASS               ELFCLASS64
0012 #define ELF_R_SYM(val)          ELF64_R_SYM(val)
0013 #define ELF_R_TYPE(val)         ELF64_R_TYPE(val)
0014 #define ELF_ST_TYPE(o)          ELF64_ST_TYPE(o)
0015 #define ELF_ST_BIND(o)          ELF64_ST_BIND(o)
0016 #define ELF_ST_VISIBILITY(o)    ELF64_ST_VISIBILITY(o)
0017 
0018 #include "relocs.c"