forked from M-Labs/artiq
1
0
Fork 0

runtime/elf_loader: add alignment comment

This commit is contained in:
Sebastien Bourdeauducq 2015-04-23 19:06:23 +08:00
parent 459da723d3
commit d99976dc37
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ typedef void * (*symbol_resolver)(const char *);
typedef int (*symbol_callback)(const char *, void *); typedef int (*symbol_callback)(const char *, void *);
void *find_symbol(const struct symbol *symbols, const char *name); void *find_symbol(const struct symbol *symbols, const char *name);
/* elf_data must be aligned on a 32-bit boundary */
int load_elf(symbol_resolver resolver, symbol_callback callback, void *elf_data, int elf_length, void *dest, int dest_length); int load_elf(symbol_resolver resolver, symbol_callback callback, void *elf_data, int elf_length, void *dest, int dest_length);
#endif /* __ELF_LOADER_H */ #endif /* __ELF_LOADER_H */