scc

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

elftypes.h (606B)


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