Lines Matching refs:flat
552 char *flat; in elf2flat64() local
575 flat = calloc(1, *flat_size); in elf2flat64()
576 if (!flat) in elf2flat64()
581 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64()
592 return flat; in elf2flat64()
600 char *flat; in elf2flat32() local
623 flat = calloc(1, *flat_size); in elf2flat32()
624 if (!flat) in elf2flat32()
629 char *dst = flat + le32_to_cpu(shdr->sh_addr) - min_addr; in elf2flat32()
640 return flat; in elf2flat32()
648 char *flat; in bif_add_elf() local
662 flat = elf2flat32(elf, &size, &load_addr); in bif_add_elf()
667 flat = elf2flat64(elf, &size, &load_addr); in bif_add_elf()
675 if (!flat) in bif_add_elf()
683 return bif_add_part(bf, flat, size); in bif_add_elf()