Searched refs:PT_LOAD (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/tools/btxld/
H A Delfh.c73 htole32(PT_LOAD), /* p_type */
83 htole32(PT_LOAD), /* p_type */
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dprocess.c208 * of type PT_LOAD; the second number is the file size of all writable
209 * segments whose type is PT_LOAD; the third number is the memory size
210 * minus the file size of all writable segments of type PT_LOAD.
253 (p.p_type == PT_LOAD) && !(Fflag)) {
256 (p.p_type == PT_LOAD) && !(Fflag)) {
261 if ((p.p_type == PT_LOAD) && nflag) {
269 if (!(p.p_type == PT_LOAD) && nflag) {
277 if ((p.p_type == PT_LOAD) && Fflag && !nflag) {
284 if ((Fflag) && !(nflag) && (!(p.p_type == PT_LOAD))) {
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dentry.c128 SG_DESC_INIT(SGID_TEXT, PT_LOAD, PF_R + PF_X, MSG_ORIG(MSG_ENT_TEXT),
132 SG_DESC_INIT(SGID_DATA, PT_LOAD, 0, MSG_ORIG(MSG_ENT_DATA),
136 SG_DESC_INIT(SGID_BSS, PT_LOAD, 0, MSG_ORIG(MSG_ENT_BSS),
141 SG_DESC_INIT(SGID_LRODATA, PT_LOAD, PF_R, MSG_ORIG(MSG_ENT_LRODATA),
145 SG_DESC_INIT(SGID_LDATA, PT_LOAD, 0, MSG_ORIG(MSG_ENT_LDATA),
468 if (phdr->p_type == PT_LOAD)
483 case PT_LOAD:
H A Doutfile.c229 if (oscn && (phdr->p_type == PT_LOAD)) {
276 if (phdr->p_type == PT_LOAD)
319 if ((fixalign == TRUE) && (ptype == PT_LOAD) && (shidx == 1))
503 if ((ptype == PT_LOAD) && (ptloadidx == 0)) {
545 ((ptype == PT_LOAD) &&
611 if ((fixalign == TRUE) && (ptype == PT_LOAD) &&
871 if (_phdr->p_type == PT_LOAD) {
H A Dldentry.c86 if (sgp->sg_phdr.p_type != PT_LOAD)
H A Dmap.c235 * from a RW PT_LOAD segment.
239 !(sgp->sg_phdr.p_type == PT_LOAD &&
296 * Segment type. Users are permitted to define PT_LOAD,
307 { MSG_ORIG(MSG_MAP_LOAD), PT_LOAD, FLG_SG_P_TYPE },
483 * Empty segments can be used to define PT_LOAD segment reservations, or
486 * PT_LOAD reservations are only allowed within executables, as the
488 * process loading. In addition, PT_LOAD reservations must have an
508 if (sgp->sg_phdr.p_type == PT_LOAD) {
529 sgp->sg_phdr.p_type = PT_LOAD;
542 (sgp->sg_phdr.p_type != PT_LOAD)) {
[all...]
H A Dmap_support.c630 sgp->sg_phdr.p_type = PT_LOAD;
633 if (sgp->sg_phdr.p_type == PT_LOAD) {
655 case PT_LOAD:
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c49 * Extract the PT_LOAD bits and format them into a .s
84 * Find the PT_LOAD section
90 if (phdr->p_type != PT_LOAD)
117 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname);
154 * Find the PT_LOAD section
160 if (phdr->p_type != PT_LOAD)
187 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname);
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c131 * at this point we only care about PT_LOAD segments
133 if (phdr->p_type != PT_LOAD)
152 dboot_printf("Skipping PT_LOAD segment for "
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c170 if (pptr->p_type == PT_LOAD) {
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c170 if (pptr->p_type == PT_LOAD) {
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c157 hdr.text_phdr.p_type = PT_LOAD;
162 hdr.data_phdr.p_type = PT_LOAD;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h96 #define PT_LOAD 1 /* Loadable segment. */ macro
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h180 #define PT_LOAD 1 macro
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c91 if (phdr.p_type == PT_LOAD) {
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c50 * Find the physical load address of the 1st PT_LOAD segment.
103 * Find the 1:1 mapped PT_LOAD section
110 * Find the low memory 1:1 PT_LOAD section!
112 if (phdr->p_type != PT_LOAD)
122 * Make sure the multiboot header is part of the first PT_LOAD
129 "PT_LOAD wasn't 1st PT_LOAD\n", pname, fname);
154 (void) fprintf(stderr, "%s: %s: Didn't find 1:1 mapped PT_LOAD "
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c415 if (pptr->p_type == PT_LOAD) {
474 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/
H A Dboot2.c192 if (ep[j].p_type == PT_LOAD)
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c434 if (ph.p_type != PT_LOAD)
482 if (ph.p_type != PT_LOAD)
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c260 if (ph[i].p_type == PT_LOAD && fo >= ph[i].p_offset &&
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dwho.c68 if ((phdr->p_type == PT_LOAD) &&
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Drdelf.c375 if ((phdr.p_type == PT_LOAD) && !(phdr.p_flags & PF_W)) {
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dobject.c317 if (phdr[phnum].p_type != PT_LOAD)
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dboot2.c197 if (ep[j].p_type == PT_LOAD)
/illumos-gate/usr/src/lib/libproc/common/
H A DPidle.c268 if (php->p_type != PT_LOAD)

Completed in 243 milliseconds

123