/titanic_51/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 208 * 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)) { in process_phdr() 256 (p.p_type == PT_LOAD) && !(Fflag)) { in process_phdr() 261 if ((p.p_type == PT_LOAD) && nflag) { in process_phdr() 269 if (!(p.p_type == PT_LOAD) && nflag) { in process_phdr() 277 if ((p.p_type == PT_LOAD) && Fflag && !nflag) { in process_phdr() 284 if ((Fflag) && !(nflag) && (!(p.p_type == PT_LOAD))) { in process_phdr()
|
/titanic_51/usr/src/cmd/sgs/libld/common/ |
H A D | entry.c | 128 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) in ld_ent_setup() 483 case PT_LOAD: in ld_ent_setup()
|
H A D | outfile.c | 229 if (oscn && (phdr->p_type == PT_LOAD)) { in pad_outfile() 276 if (phdr->p_type == PT_LOAD) in pad_outfile() 319 if ((fixalign == TRUE) && (ptype == PT_LOAD) && (shidx == 1)) in create_outsec() 503 if ((ptype == PT_LOAD) && (ptloadidx == 0)) { in ld_create_outfile() 545 ((ptype == PT_LOAD) && in ld_create_outfile() 611 if ((fixalign == TRUE) && (ptype == PT_LOAD) && in ld_create_outfile() 871 if (_phdr->p_type == PT_LOAD) { in ld_create_outfile()
|
H A D | map.c | 235 * from a RW PT_LOAD segment. in map_equal_flags() 239 !(sgp->sg_phdr.p_type == PT_LOAD && in map_equal_flags() 296 * Segment type. Users are permitted to define PT_LOAD, in map_equal() 307 { MSG_ORIG(MSG_MAP_LOAD), PT_LOAD, FLG_SG_P_TYPE }, in map_equal() 483 * Empty segments can be used to define PT_LOAD segment reservations, or in map_equal() 486 * PT_LOAD reservations are only allowed within executables, as the in map_equal() 488 * process loading. In addition, PT_LOAD reservations must have an in map_equal() 508 if (sgp->sg_phdr.p_type == PT_LOAD) { in map_equal() 529 sgp->sg_phdr.p_type = PT_LOAD; in map_equal() 542 (sgp->sg_phdr.p_type != PT_LOAD)) { in map_equal() [all...] |
H A D | ldentry.c | 86 if (sgp->sg_phdr.p_type != PT_LOAD) in ld_map_out()
|
H A D | map_support.c | 630 sgp->sg_phdr.p_type = PT_LOAD; in ld_map_seg_insert() 633 if (sgp->sg_phdr.p_type == PT_LOAD) { in ld_map_seg_insert() 655 case PT_LOAD: in ld_map_seg_insert()
|
/titanic_51/usr/src/tools/btxld/ |
H A D | elfh.c | 73 htole32(PT_LOAD), /* p_type */ 83 htole32(PT_LOAD), /* p_type */
|
/titanic_51/usr/src/cmd/sgs/libconv/common/ |
H A D | phdr.msg | 31 @ MSG_PT_LOAD "[ PT_LOAD ]" # 1 32 @ MSG_PT_LOAD_CF "PT_LOAD"
|
/titanic_51/usr/src/tools/elfextract/ |
H A D | elfextract.c | 49 * Extract the PT_LOAD bits and format them into a .s 84 * Find the PT_LOAD section in extract32() 90 if (phdr->p_type != PT_LOAD) in extract32() 117 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); in extract32() 154 * Find the PT_LOAD section in extract64() 160 if (phdr->p_type != PT_LOAD) in extract64() 187 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); in extract64()
|
/titanic_51/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 157 hdr.text_phdr.p_type = PT_LOAD; in ksyms_snapshot() 162 hdr.data_phdr.p_type = PT_LOAD; in ksyms_snapshot()
|
/titanic_51/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 170 if (pptr->p_type == PT_LOAD) { in __rtld() 228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0)) in __rtld()
|
/titanic_51/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 170 if (pptr->p_type == PT_LOAD) { in __rtld() 228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0)) in __rtld()
|
/titanic_51/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 131 * at this point we only care about PT_LOAD segments in dboot_elfload64() 133 if (phdr->p_type != PT_LOAD) in dboot_elfload64() 152 dboot_printf("Skipping PT_LOAD segment for " in dboot_elfload64()
|
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 180 #define PT_LOAD 1 macro
|
/titanic_51/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtld.4.x.c | 415 if (pptr->p_type == PT_LOAD) { 474 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
|
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 96 #define PT_LOAD 1 /* Loadable segment. */ macro
|
/titanic_51/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 91 if (phdr.p_type == PT_LOAD) { in rli_func()
|
/titanic_51/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 100 * Find the physical load address of the 1st PT_LOAD segment. 178 * Find the 1:1 mapped PT_LOAD section in patch64() 185 * Find the low memory 1:1 PT_LOAD section! in patch64() 187 if (phdr->p_type != PT_LOAD) in patch64() 197 * Make sure the multiboot header is part of the first PT_LOAD in patch64() 204 "PT_LOAD wasn't 1st PT_LOAD\n", pname, fname); in patch64() 217 " in 1st PT_LOAD\n", pname, fname); in patch64() 242 (void) fprintf(stderr, "%s: %s: Didn't find 1:1 mapped PT_LOAD " in patch64()
|
/titanic_51/usr/src/boot/sys/boot/arm/at91/boot2/ |
H A D | boot2.c | 192 if (ep[j].p_type == PT_LOAD) in load()
|
/titanic_51/usr/src/boot/sys/boot/sparc64/boot1/ |
H A D | boot1.c | 434 if (ph.p_type != PT_LOAD) in loadzfs() 482 if (ph.p_type != PT_LOAD) in load()
|
/titanic_51/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 113 gpp->p_type = PT_LOAD; in gelf_sect_init() 308 * If both p_type fields are PT_LOAD, we want to sort by vaddr. in gelf_phdr_compare() 311 if (lhs->p_type == PT_LOAD && rhs->p_type == PT_LOAD) { in gelf_phdr_compare() 326 * If the p_type fields don't match, we need to make sure that PT_LOAD in gelf_phdr_compare() 331 if (lhs->p_type == PT_LOAD) in gelf_phdr_compare() 334 if (rhs->p_type == PT_LOAD) in gelf_phdr_compare() 341 * If the p_type is the same but neither is PT_LOAD, then in gelf_phdr_compare() 387 * PT_LOAD; increment gf_npload so we know how many are loadable. in gelf_phdrs_init() 391 if (gpp->p_type != PT_LOAD) in gelf_phdrs_init() [all...] |
/titanic_51/usr/src/lib/libproc/common/ |
H A D | Pidle.c | 267 if (php->p_type != PT_LOAD) in Pgrab_file()
|
/titanic_51/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 386 case PT_LOAD: in elfexec() 956 if (phdrp->p_type == PT_LOAD) { in elfsize() 1239 * According to the ELF specification, since PT_LOAD sections in mapelfexec() 1241 * guaranteed to be the first PT_LOAD section. in mapelfexec() 1245 if (phdr->p_type == PT_LOAD) { in mapelfexec() 1258 case PT_LOAD: in mapelfexec() 1936 v[i].p_type = PT_LOAD; in elfcore()
|
/titanic_51/usr/src/cmd/sgs/link_audit/common/ |
H A D | who.c | 68 if ((phdr->p_type == PT_LOAD) && in add_object()
|
/titanic_51/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 260 if (ph[i].p_type == PT_LOAD && fo >= ph[i].p_offset && in __fex_sym()
|