Home | History | Annotate | Download | only in elf2bb

Lines Matching refs:be16toh

149 	dprintf(("%04x sections, offset %08x\n", be16toh(eh->e_shnum),
151 if (be16toh(eh->e_type) != ET_REL)
153 argv[0], be16toh(eh->e_type));
154 if (be16toh(eh->e_machine) != EM_68K)
156 be16toh(eh->e_machine));
162 be32toh(sh[be16toh(eh->e_shstrndx)].sh_offset));
167 for (i = 0; i < be16toh(eh->e_shnum); ++i) {
254 sect_offset = malloc(be16toh(eh->e_shnum) * sizeof(uint32_t));
255 for (i = 0, l = 0; i < be16toh(eh->e_shnum); ++i) {
308 for (i = 0; i < be16toh(eh->e_shnum); ++i) {
319 for (n = 0; n < be16toh(eh->e_shnum); ++n) {
485 if (be16toh(s->st_shndx) < 0xf000)
486 value += o[be16toh(s->st_shndx)];
488 printf("eval: %x\n", be16toh(s->st_shndx));