| /freebsd-12.1/sys/i386/linux/ |
| H A D | imgact_linux.c | 92 (u_long)a_out->a_text, (u_long)a_out->a_data, bss_size); in exec_linux_imgact() 99 a_out->a_entry >= virtual_offset + a_out->a_text || in exec_linux_imgact() 100 a_out->a_text & PAGE_MASK || a_out->a_data & PAGE_MASK) in exec_linux_imgact() 104 if (a_out->a_data + a_out->a_text > imgp->attr->va_size) in exec_linux_imgact() 110 if (a_out->a_text > maxtsiz || in exec_linux_imgact() 142 a_out->a_text + a_out->a_data + bss_size, 0, VMFS_NO_SPACE, in exec_linux_imgact() 148 a_out->a_text + a_out->a_data, UIO_USERSPACE, 0, in exec_linux_imgact() 173 a_out->a_text + a_out->a_data, in exec_linux_imgact() 182 (u_long)a_out->a_text + (u_long)a_out->a_data); in exec_linux_imgact() 196 vmaddr = virtual_offset + a_out->a_text + a_out->a_data; in exec_linux_imgact() [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | imgact_aout.c | 191 if (a_out->a_text) { in exec_aout_imgact() 225 a_out->a_entry >= virtual_offset + a_out->a_text || in exec_aout_imgact() 228 a_out->a_text & PAGE_MASK || a_out->a_data & PAGE_MASK in exec_aout_imgact() 233 virtual_offset + a_out->a_text + a_out->a_data + bss_size > UINT_MAX in exec_aout_imgact() 239 if (a_out->a_data + a_out->a_text > imgp->attr->va_size) in exec_aout_imgact() 247 a_out->a_text > maxtsiz || in exec_aout_imgact() 286 text_end = virtual_offset + a_out->a_text; in exec_aout_imgact() 302 file_offset + a_out->a_text, in exec_aout_imgact() 326 vmspace->vm_tsize = a_out->a_text >> PAGE_SHIFT; in exec_aout_imgact() 330 (virtual_offset + a_out->a_text); in exec_aout_imgact()
|
| H A D | imgact_gzip.c | 168 if (gz->a_out.a_text) { in do_aout_hdr() 200 gz->a_out.a_entry >= gz->virtual_offset + gz->a_out.a_text || in do_aout_hdr() 203 gz->a_out.a_text & PAGE_MASK || gz->a_out.a_data & PAGE_MASK) { in do_aout_hdr() 212 gz->a_out.a_text > maxtsiz || in do_aout_hdr() 225 gz->file_end = gz->file_offset + gz->a_out.a_text + gz->a_out.a_data; in do_aout_hdr() 254 gz->a_out.a_text + gz->a_out.a_data, in do_aout_hdr() 271 vmaddr = gz->virtual_offset + gz->a_out.a_text + in do_aout_hdr() 282 vmspace->vm_tsize = gz->a_out.a_text >> PAGE_SHIFT; in do_aout_hdr() 286 (gz->virtual_offset + gz->a_out.a_text); in do_aout_hdr()
|
| /freebsd-12.1/contrib/binutils/gas/config/ |
| H A D | aout_gnu.h | 78 unsigned char a_text[4]; member 95 unsigned a_text; /* length of text, in bytes */ member 188 #define N_DATOFF(x) ( N_TXTOFF(x) + (x).a_text ) 214 (N_MAGIC(x)==OMAGIC? (N_TXTADDR(x)+(x).a_text) \ 215 : (N_SEGSIZE(x) + ((N_TXTADDR(x)+(x).a_text-1) & ~(N_SEGSIZE(x)-1))))
|
| /freebsd-12.1/sys/sys/ |
| H A D | imgact_aout.h | 81 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \ 86 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) 95 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text)) 116 uint32_t a_text; /* text segment size */ member
|
| /freebsd-12.1/usr.bin/gprof/ |
| H A D | aout.c | 177 textspace = (u_char *) malloc( xbuf.a_text ); in gettextspace() 180 xbuf.a_text ); in gettextspace() 184 if ( fread( textspace , 1 , xbuf.a_text , nfile ) != xbuf.a_text ) { in gettextspace()
|
| /freebsd-12.1/contrib/binutils/include/aout/ |
| H A D | aout64.h | 205 ? (x).a_text - EXEC_BYTES_SIZE \ 207 ? (x).a_text \ 209 ? (x).a_text - EXEC_BYTES_SIZE /* No padding. */ \ 210 : (x).a_text /* A page of padding. */ )))
|
| H A D | encap.h | 133 (SEGMENT_SIZE + ((N_TXTADDR(x)+(x).a_text-1) & ~(SEGMENT_SIZE-1))) : \ 134 (N_TXTADDR(x)+(x).a_text))
|
| /freebsd-12.1/usr.bin/elf2aout/ |
| H A D | elf2aout.c | 52 u_int32_t a_text; member 143 a.a_text = htoxe32(filesz); in main()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | i386aout.c | 30 #define N_TXTSIZE(x) ((x).a_text)
|
| H A D | bout.c | 85 execp->a_text = GET_WORD (abfd, bytes->e_text); in bout_swap_exec_header_in() 110 PUT_WORD (abfd, execp->a_text , bytes->e_text); in bout_swap_exec_header_out() 157 obj_textsec (abfd)->size = execp->a_text; in b_out_callback() 404 exec_hdr (abfd)->a_text = obj_textsec (abfd)->size; in b_out_write_object_contents()
|
| H A D | libaout.h | 223 bfd_vma a_text; /* Length of text, in bytes. */ member
|
| H A D | aoutx.h | 384 execp->a_text = GET_WORD (abfd, bytes->e_text); in NAME() 416 PUT_WORD (abfd, execp->a_text , bytes->e_text); in NAME() 939 execp->a_text = obj_textsec (abfd)->size; in adjust_o_magic() 1027 execp->a_text = obj_textsec (abfd)->size; in adjust_z_magic() 1029 execp->a_text += adata (abfd).exec_bytes_size; in adjust_z_magic() 1097 execp->a_text = obj_textsec (abfd)->size; in adjust_n_magic()
|
| H A D | ChangeLog-9193 | 5594 * aoutf1.h (sunos4_write_object_contents): Don't override a_text 6783 to decide if the exec header counts in a_text (text segment size). 7062 * libaout.h (WRITE_HEADERS): Set header's a_text field always.
|
| H A D | ChangeLog-0203 | 5271 written into the output file and included in a_text.
|
| /freebsd-12.1/usr.sbin/kgzip/ |
| H A D | kgzcmp.c | 228 xcopy(idi, ido, le32toh(a->a_text), N_TXTOFF(*a)); in ld_aout() 229 addr += le32toh(a->a_text); in ld_aout()
|
| /freebsd-12.1/contrib/gdb/include/ |
| H A D | bout.h | 91 #define N_DATOFF(x) ( N_TXTOFF(x) + (x).a_text )
|
| /freebsd-12.1/stand/i386/isoboot/ |
| H A D | isoboot.c | 360 if (xfsread(ino, p, hdr.ex.a_text)) in load() 362 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load()
|
| /freebsd-12.1/usr.bin/ldd/ |
| H A D | sods.c | 226 printf(" a_text = 0x%lx\n", (long)ex->a_text); in dump_file() 363 && (unsigned long)r->r_address < origin + ex->a_text + ex->a_data in dump_rels()
|
| /freebsd-12.1/stand/i386/boot2/ |
| H A D | boot2.c | 308 if (xfsread(ino, p, hdr.ex.a_text)) in load() 310 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load()
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_misc.c | 372 if (a_out->a_text & PAGE_MASK || a_out->a_data & PAGE_MASK) { in linux_uselib() 378 if (a_out->a_data + a_out->a_text > attr.va_size) { in linux_uselib() 389 if (a_out->a_text > maxtsiz || in linux_uselib() 429 &vmaddr, a_out->a_text + a_out->a_data, 0, VMFS_NO_SPACE, in linux_uselib() 435 a_out->a_text + a_out->a_data, UIO_USERSPACE, 0, in linux_uselib() 459 a_out->a_text + a_out->a_data, VM_PROT_ALL, VM_PROT_ALL, in linux_uselib() 479 vmaddr = trunc_page(a_out->a_entry) + a_out->a_text + in linux_uselib()
|
| /freebsd-12.1/stand/i386/gptboot/ |
| H A D | gptboot.c | 421 if (xfsread(ino, p, hdr.ex.a_text)) in load() 423 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load()
|
| /freebsd-12.1/usr.sbin/btxld/ |
| H A D | btxld.c | 358 hdr->text = le32toh(ex->a_text); in gethdr() 413 ex.a_text = htole32(hdr->text); in puthdr()
|
| /freebsd-12.1/stand/i386/zfsboot/ |
| H A D | zfsboot.c | 952 if (xfsread(&dn, &off, p, hdr.ex.a_text)) in load() 954 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load()
|