Lines Matching refs:GET_LE
24 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
26 if (GET_LE(&hdr->e_type) != ET_DYN) in BITSFUNC()
30 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
31 if (GET_LE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
35 if (GET_LE(&pt[i].p_offset) != 0 || in BITSFUNC()
36 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
39 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
42 load_size = GET_LE(&pt[i].p_memsz); in BITSFUNC()
44 } else if (GET_LE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
45 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
46 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
47 GET_LE(&pt[i].p_memsz); in BITSFUNC()
61 GET_LE(&dyn[i].d_tag) != DT_NULL; i++) { in BITSFUNC()
62 typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag); in BITSFUNC()
69 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
70 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
71 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
72 for (i = 0; i < GET_LE(&hdr->e_shnum); i++) { in BITSFUNC()
73 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
74 GET_LE(&hdr->e_shentsize) * i; in BITSFUNC()
75 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
78 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
86 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
87 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
91 i < GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC()
94 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
95 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
97 GET_LE(&strtab_hdr->sh_offset) + in BITSFUNC()
98 GET_LE(&sym->st_name); in BITSFUNC()
113 syms[k] = GET_LE(&sym->st_value); in BITSFUNC()
166 (unsigned long)GET_LE(&alt_sec->sh_offset)); in BITSFUNC()
168 (unsigned long)GET_LE(&alt_sec->sh_size)); in BITSFUNC()