Changeset 87bc11f in mainline for uspace/lib/c/include/elf/elf_mod.h
- Timestamp:
- 2019-05-18T21:43:08Z (6 years ago)
- Children:
- d49194d
- Parents:
- 985e0f15
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-05-17 14:27:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-05-18 21:43:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/elf/elf_mod.h
r985e0f15 r87bc11f 42 42 #include <stdint.h> 43 43 #include <loader/pcb.h> 44 45 /**46 * ELF error return codes47 */48 #define EE_OK 0 /* No error */49 #define EE_INVALID 1 /* Invalid ELF image */50 #define EE_MEMORY 2 /* Cannot allocate address space */51 #define EE_INCOMPATIBLE 3 /* ELF image is not compatible with current architecture */52 #define EE_UNSUPPORTED 4 /* Non-supported ELF (e.g. dynamic ELFs) */53 #define EE_IRRECOVERABLE 554 #define EE_IO 6 /* Could not read file. */55 44 56 45 typedef enum { … … 110 99 } elf_ld_t; 111 100 112 extern const char *elf_error(unsigned int); 113 extern int elf_load_file(int, eld_flags_t, elf_finfo_t *); 114 extern int elf_load_file_name(const char *, eld_flags_t, elf_finfo_t *); 101 extern errno_t elf_load_file(int, eld_flags_t, elf_finfo_t *); 102 extern errno_t elf_load_file_name(const char *, eld_flags_t, elf_finfo_t *); 115 103 116 104 #endif
Note:
See TracChangeset
for help on using the changeset viewer.