Subversion Repositories HelenOS

Rev

Rev 2745 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2745 Rev 3222
Line 112... Line 112...
112
#define EE_OK           0   /* No error */
112
#define EE_OK           0   /* No error */
113
#define EE_INVALID      1   /* Invalid ELF image */
113
#define EE_INVALID      1   /* Invalid ELF image */
114
#define EE_MEMORY       2   /* Cannot allocate address space */
114
#define EE_MEMORY       2   /* Cannot allocate address space */
115
#define EE_INCOMPATIBLE     3   /* ELF image is not compatible with current architecture */
115
#define EE_INCOMPATIBLE     3   /* ELF image is not compatible with current architecture */
116
#define EE_UNSUPPORTED      4   /* Non-supported ELF (e.g. dynamic ELFs) */
116
#define EE_UNSUPPORTED      4   /* Non-supported ELF (e.g. dynamic ELFs) */
-
 
117
#define EE_LOADER       5   /* The image is actually a program loader */
117
#define EE_IRRECOVERABLE    5
118
#define EE_IRRECOVERABLE    6
118
 
119
 
119
/**
120
/**
120
 * ELF section types
121
 * ELF section types
121
 */
122
 */
122
#define SHT_NULL        0
123
#define SHT_NULL        0
Line 336... Line 337...
336
typedef struct elf64_symbol elf_symbol_t;
337
typedef struct elf64_symbol elf_symbol_t;
337
#endif
338
#endif
338
 
339
 
339
extern char *elf_error(unsigned int rc);
340
extern char *elf_error(unsigned int rc);
340
 
341
 
-
 
342
/* Interpreter string used to recognize the program loader */
-
 
343
#define ELF_INTERP_ZSTR "kernel"
-
 
344
#define ELF_INTERP_ZLEN  sizeof(ELF_INTERP_ZSTR)
-
 
345
 
341
#endif
346
#endif
342
 
347
 
343
/** @}
348
/** @}
344
 */
349
 */