> In qemu-1.0:hw/loader.c, load_elf() calls load_elf64() or load_elf32().
> But where is the function definition/body of load_elf32()?

It is in hw/elf_ops.h:190

static int glue(load_elf, SZ)(const char *name, int fd,
                             uint64_t (*translate_fn)(void *, uint64_t),
                             void *translate_opaque,
                             int must_swab, uint64_t *pentry,
                             uint64_t *lowaddr, uint64_t *highaddr,
                             int elf_machine, int clear_lsb)

--
Thanks.
-- Max

Reply via email to