Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "relocs.h"
0003 
0004 #define ELF_BITS 32
0005 
0006 #define ELF_MACHINE     EM_386
0007 #define ELF_MACHINE_NAME    "i386"
0008 #define SHT_REL_TYPE        SHT_REL
0009 #define Elf_Rel         ElfW(Rel)
0010 
0011 #define ELF_CLASS       ELFCLASS32
0012 #define ELF_R_SYM(val)      ELF32_R_SYM(val)
0013 #define ELF_R_TYPE(val)     ELF32_R_TYPE(val)
0014 #define ELF_ST_TYPE(o)      ELF32_ST_TYPE(o)
0015 #define ELF_ST_BIND(o)      ELF32_ST_BIND(o)
0016 #define ELF_ST_VISIBILITY(o)    ELF32_ST_VISIBILITY(o)
0017 
0018 #include "relocs.c"