Show
Ignore:
Timestamp:
05/01/08 15:14:08 (7 months ago)
Author:
mwhitworth
Message:

Add new defines for module loading code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/include/elf.h

    r378 r380  
    9292}PACKED; 
    9393 
     94/* Section types. */ 
     95#define SEC_TYPE_SYMTAB         2 
     96#define SEC_TYPE_STRTAB         3 
     97 
     98/* Section flags. */ 
     99#define SEC_FLAGS_EXEC          4 
     100 
    94101struct ElfSectionHeader 
    95102{ 
     
    106113}PACKED; 
    107114 
     115#define STN_UNDEF       0 
     116 
     117#define ELF_ST_TYPE(val) ((val) & 0xF) 
     118 
     119#define STT_FUNC        2 
     120 
    108121struct ElfSymbol 
    109122{