|
|
static u32 | align (u32 x, int align) |
| |
|
static struct loosy_t * | create_loosy (struct erl_record_t *erl, u8 *reloc, int type) |
| |
|
static void | destroy_loosy (struct loosy_t *l) |
| |
|
static void | r_destroy_loosy (struct loosy_t *l) |
| |
|
static struct symbol_t * | create_symbol (struct erl_record_t *provider, u32 address) |
| |
|
static void | destroy_symbol (struct symbol_t *s) |
| |
|
static struct erl_record_t * | allocate_erl_record () |
| |
|
static void | destroy_erl_record (struct erl_record_t *erl) |
| |
|
static int | apply_reloc (u8 *reloc, int type, u32 addr) |
| |
|
struct symbol_t * | erl_find_local_symbol (const char *symbol, struct erl_record_t *erl) |
| |
|
static struct symbol_t * | r_find_symbol (const char *symbol, struct erl_record_t *erl) |
| |
|
struct symbol_t * | erl_find_symbol (const char *symbol) |
| |
|
static struct dependancy_t * | add_dependancy (struct erl_record_t *depender, struct erl_record_t *provider) |
| |
|
static void | destroy_dependancy (struct dependancy_t *d) |
| |
|
static void | r_destroy_dependancy_r (struct erl_record_t *erl, struct dependancy_t *d) |
| |
|
static void | destroy_dependancy_r (struct erl_record_t *erl) |
| |
|
static void | add_loosy (struct erl_record_t *erl, u8 *reloc, int type, const char *symbol) |
| |
|
static int | fix_loosy (struct erl_record_t *provider, const char *symbol, u32 address) |
| |
|
static int | is_local (const char *symbol) |
| |
|
static int | add_symbol (struct erl_record_t *erl, const char *symbol, u32 address) |
| |
|
int | erl_add_global_symbol (const char *symbol, u32 address) |
| |
|
static int | read_erl (int elf_handle, u8 *elf_mem, u32 addr, struct erl_record_t **p_erl_record) |
| |
|
static struct erl_record_t * | _init_load_erl_wrapper_from_file (char *erl_id) |
| |
|
static struct erl_record_t * | load_erl (const char *fname, u8 *elf_mem, u32 addr, int argc, char **argv) |
| |
|
struct erl_record_t * | _init_load_erl_from_file (const char *fname, char *erl_id) |
| |
|
struct erl_record_t * | load_erl_from_file (const char *fname, int argc, char **argv) |
| |
|
struct erl_record_t * | load_erl_from_mem (u8 *mem, int argc, char **argv) |
| |
|
struct erl_record_t * | load_erl_from_mem_to_addr (u8 *mem, u32 addr, int argc, char **argv) |
| |
|
struct erl_record_t * | load_erl_from_file_to_addr (const char *fname, u32 addr, int argc, char **argv) |
| |
|
struct erl_record_t * | _init_load_erl_from_file_to_addr (const char *fname, u32 addr, char *erl_id) |
| |
|
void | r_unload_dependancies (char **d) |
| |
|
int | unload_erl (struct erl_record_t *erl) |
| |
|
struct erl_record_t * | erl_resolve (u32 address) |
| |
|
struct erl_record_t * | find_erl (const char *name) |
| |
|
void | erl_flush_symbols (struct erl_record_t *erl) |
| |
The relocatable elf loader/linker.
Definition in file erl.c.