scc

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

elftypes.h (673B)


      1 /* See http://www.sco.com/developers/gabi/latest/contents.html */
      2 
      3 #include <stdint.h>
      4 
      5 typedef uint32_t Elf32_Addr;	/* Unsigned program address */
      6 typedef uint32_t Elf32_Off;	/* Unsigned file offset */
      7 typedef int32_t Elf32_Sword;	/* Signed large integer */
      8 typedef uint32_t Elf32_Word;	/* Unsigned large integer */
      9 typedef uint16_t Elf32_Half;	/* Unsigned medium integer */
     10 typedef uint64_t Elf32_Lword;
     11 
     12 typedef uint64_t Elf64_Addr;
     13 typedef uint64_t Elf64_Off;
     14 typedef int32_t Elf64_Shalf;
     15 
     16 typedef int32_t Elf64_Sword;
     17 typedef uint32_t Elf64_Word;
     18 
     19 typedef int64_t Elf64_Sxword;
     20 typedef uint64_t Elf64_Xword;
     21 typedef uint64_t Elf64_Lword;
     22 
     23 typedef uint16_t Elf64_Half;