Lines Matching refs:GET_LE
23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
25 if (GET_LE(&hdr->e_type) != ET_DYN) in BITSFUNC()
29 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
30 if (GET_LE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
34 if (GET_LE(&pt[i].p_offset) != 0 || in BITSFUNC()
35 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
38 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
41 load_size = GET_LE(&pt[i].p_memsz); in BITSFUNC()
43 } else if (GET_LE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
44 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
45 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
46 GET_LE(&pt[i].p_memsz); in BITSFUNC()
60 GET_LE(&dyn[i].d_tag) != DT_NULL; i++) { in BITSFUNC()
61 typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag); in BITSFUNC()
68 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
69 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
70 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
71 for (i = 0; i < GET_LE(&hdr->e_shnum); i++) { in BITSFUNC()
72 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
73 GET_LE(&hdr->e_shentsize) * i; in BITSFUNC()
74 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
77 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
85 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
86 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
88 syms_nr = GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC()
92 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
93 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
95 GET_LE(&strtab_hdr->sh_offset) + in BITSFUNC()
96 GET_LE(&sym->st_name); in BITSFUNC()
111 syms[k] = GET_LE(&sym->st_value); in BITSFUNC()
164 (unsigned long)GET_LE(&alt_sec->sh_offset)); in BITSFUNC()
166 (unsigned long)GET_LE(&alt_sec->sh_size)); in BITSFUNC()