Lines Matching refs:text_len
59 abi_ulong text_len; /* Length of text segment */ member
115 abi_ulong text_len; in calc_reloc() local
123 text_len = p[id].text_len; in calc_reloc()
125 if (!flat_reloc_valid(r, start_brk - start_data + text_len)) { in calc_reloc()
128 (int) r,(int)(start_brk-start_code),(int)text_len); in calc_reloc()
132 if (r < text_len) /* In text segment */ in calc_reloc()
135 addr = r - text_len + start_data; in calc_reloc()
199 abi_ulong text_len, data_len, bss_len, stack_len, flags; in load_flat_file() local
209 text_len = ntohl(hdr->data_start); in load_flat_file()
263 text_len + data_len + extra + indx_len - 1); in load_flat_file()
277 textpos = target_mmap(0, text_len, PROT_READ|PROT_EXEC, in load_flat_file()
306 reloc = datapos + (ntohl(hdr->reloc_start) - text_len); in load_flat_file()
310 textpos = target_mmap(0, text_len + data_len + extra + indx_len, in load_flat_file()
323 text_len, 0); in load_flat_file()
344 (int) start_code, (int) (textpos + text_len), in load_flat_file()
350 text_len -= sizeof(struct flat_hdr); /* the real code len */ in load_flat_file()
357 libinfo[id].text_len = text_len; in load_flat_file()
541 info->end_code = libinfo[0].start_code + libinfo[0].text_len; in load_flt_binary()
549 info->data_offset = info->start_data - libinfo[0].text_len; in load_flt_binary()