img 53 bsp/boot/common/elf.c load_elf(char *img, struct module *m)
img 60 bsp/boot/common/elf.c ehdr = (Elf32_Ehdr *)img;
img 94 bsp/boot/common/elf.c if (load_executable(img, m) != 0)
img 98 bsp/boot/common/elf.c if (load_relocatable(img, m) != 0)
img 110 bsp/boot/common/elf.c load_executable(char *img, struct module *m)
img 118 bsp/boot/common/elf.c ehdr = (Elf32_Ehdr *)img;
img 149 bsp/boot/common/elf.c memcpy((char *)load_base, img + phdr->p_offset,
img 234 bsp/boot/common/elf.c relocate_section(char *img, Elf32_Shdr *shdr)
img 257 bsp/boot/common/elf.c (Elf32_Rel *)(img + shdr->sh_offset),
img 263 bsp/boot/common/elf.c (Elf32_Rela *)(img + shdr->sh_offset),
img 275 bsp/boot/common/elf.c load_relocatable(char *img, struct module *m)
img 283 bsp/boot/common/elf.c ehdr = (Elf32_Ehdr *)img;
img 319 bsp/boot/common/elf.c memcpy((char *)sect_base, img + shdr->sh_offset,
img 339 bsp/boot/common/elf.c sect_addr[i] = img + shdr->sh_offset;
img 345 bsp/boot/common/elf.c sect_addr[i] = img + shdr->sh_offset;
img 365 bsp/boot/common/elf.c if (relocate_section(img, shdr) != 0) {