Home
last modified time | relevance | path

Searched refs:sh_flags (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_41/usr/src/cmd/sgs/size/common/
H A Dprocess.c152 } else if ((!(shdr.sh_flags & SHF_ALLOC)) && in process()
155 } else if ((!(shdr.sh_flags & SHF_ALLOC)) && !(nflag)) { in process()
157 } else if ((shdr.sh_flags & SHF_ALLOC) && in process()
158 (!(shdr.sh_flags & SHF_WRITE)) && in process()
162 } else if ((shdr.sh_flags & SHF_ALLOC) && in process()
163 (shdr.sh_flags & SHF_WRITE) && in process()
167 } else if ((shdr.sh_flags & SHF_WRITE) && in process()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dorder.c140 if (ifl->ifl_isdesc[keyshndx]->is_shdr->sh_flags & ALL_SHF_ORDER) in is_keyshndx_ok()
196 if (isp1->is_shdr->sh_flags != isp2->is_shdr->sh_flags) { in validate_shf_ordered_dest()
296 Xword shflags = isp->is_shdr->sh_flags; in ld_process_ordered()
439 if (s1->is_shdr->sh_flags & SHF_ORDERED) in comp()
444 if (s2->is_shdr->sh_flags & SHF_ORDERED) in comp()
H A Dsections.c365 ((shdr->sh_flags & SHF_ALLOC) == 0)) in ignore_section_processing()
432 Word sh_flags; in new_section() member
453 #define SET_SEC_INFO(d_type, d_align, sh_flags, sh_entsize) \ in new_section() argument
455 static const SEC_INFO_T info_s = { d_type, d_align, sh_flags, \ in new_section()
459 #define SET_SEC_INFO_WORD_ALIGN(d_type, sh_flags, sh_entsize) \ in new_section() argument
461 static SEC_INFO_T info_s = { d_type, 0, sh_flags, \ in new_section()
651 shdr->sh_flags = sec_info->sh_flags; in new_section()
769 shdr->sh_flags |= SHF_TLS; in ld_make_bss()
780 shdr->sh_flags |= SHF_AMD64_LARGE; in ld_make_bss()
920 shdr->sh_flags = 0; in make_comment()
[all …]
H A Dplace.c154 shndx = (isp->is_shdr->sh_flags & SHF_ORDERED) ? in os_attach_isp()
188 if (((isp->is_shdr->sh_flags & (SHF_MERGE | SHF_STRINGS)) != in os_attach_isp()
248 if ((isp->is_shdr->sh_flags & SHF_GROUP) && in add_comdat()
669 Xword shflagmask, shflags = shdr->sh_flags; in ld_place_section()
1017 (os_shdr->sh_flags & ~shflagmask)) && in ld_place_section()
1172 osp->os_shdr->sh_flags = shdr->sh_flags; in ld_place_section()
1187 if (shdr->sh_flags & SHF_INFO_LINK) in ld_place_section()
1243 ((osp->os_shdr->sh_flags & SHF_ALLOC) == 0)) { in ld_place_section()
1246 osp->os_shdr->sh_flags |= SHF_ALLOC; in ld_place_section()
H A Doutfile.c332 osp->os_shdr->sh_flags &= ~(ALL_SHF_ORDER|SHF_GROUP); in create_outsec()
341 (osp->os_shdr->sh_flags & SHF_TLS) && in create_outsec()
622 (isp->is_shdr->sh_flags & SHF_TLS)) { in ld_create_outfile()
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/
H A Dshdr.c284 conv_sec_flags(osabi, mach, shdr->sh_flags, in print_shdr()
288 EC_XWORD(shdr->sh_flags)); in print_shdr()
500 Word sh_flags = 0; in cmd_body() local
505 sh_flags |= in cmd_body()
511 sh_flags = ~sh_flags; in cmd_body()
515 sh_flags &= shdr->sh_flags; in cmd_body()
517 sh_flags |= shdr->sh_flags; in cmd_body()
520 if (shdr->sh_flags == sh_flags) { in cmd_body()
526 shdr->sh_flags, 0, &buf1)); in cmd_body()
533 shdr->sh_flags, 0, &buf1), in cmd_body()
[all …]
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dshdr.c39 conv_sec_flags(osabi, mach, shdr->sh_flags, 0, &sec_flags_buf)); in Elf_shdr()
55 conv_sec_linkinfo(shdr->sh_link, shdr->sh_flags, &inv_buf1), in Elf_shdr()
56 conv_sec_linkinfo(shdr->sh_info, shdr->sh_flags, &inv_buf2)); in Elf_shdr()
/titanic_41/usr/src/common/smbios/
H A Dsmb_open.c244 shp->sh_flags |= SMB_FL_DEBUG; in smbios_bufopen()
283 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
294 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
307 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
338 if ((shp->sh_flags & SMB_FL_TRUNC) && i == 0) in smbios_bufopen()
360 if (shp->sh_flags & SMB_FL_BUFALLOC) in smbios_close()
542 return ((shp->sh_flags & SMB_FL_TRUNC) != 0); in smbios_truncated()
/titanic_41/usr/src/uts/intel/ia32/krtld/
H A Dkobj_isa.c97 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size()
105 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
/titanic_41/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c97 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size()
105 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
/titanic_41/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c113 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size()
121 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
H A Dkobj_reloc.c193 if ((shp->sh_flags & SHF_ALLOC) && in do_relocate()
194 !(shp->sh_flags & SHF_WRITE)) in do_relocate()
376 if (!(shp->sh_flags & SHF_ALLOC)) in do_relocations()
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c493 sp->sh_flags = SHF_STRINGS; in fake_elf64()
512 sp->sh_flags = SHF_ALLOC; in fake_elf64()
540 sp->sh_flags = SHF_ALLOC; in fake_elf64()
566 sp->sh_flags = SHF_ALLOC | SHF_STRINGS; in fake_elf64()
590 sp->sh_flags = SHF_WRITE | SHF_ALLOC; in fake_elf64()
686 sp->sh_flags = SHF_WRITE | SHF_ALLOC | SHF_EXECINSTR; in fake_elf64()
/titanic_41/usr/src/lib/libctf/common/
H A Dctf_lib.c144 dst->sh_flags = src->sh_flags; in shdr_to_gelf()
376 ctfsect.cts_flags = shp->sh_flags; in ctf_fdopen()
384 symsect.cts_flags = shp->sh_flags; in ctf_fdopen()
391 strsect.cts_flags = lhp->sh_flags; in ctf_fdopen()
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c1167 if (!(sp->sh_flags & SHF_ALLOC) && in iload32()
1180 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext; in iload32()
1193 !(sp->sh_flags & SHF_WRITE) && in iload32()
1194 (sp->sh_flags & SHF_EXECINSTR)) { in iload32()
1221 if (sp->sh_flags & SHF_EXECINSTR) in iload32()
1329 if (!(sp->sh_flags & SHF_ALLOC) &&
1338 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext;
1361 !(sp->sh_flags & SHF_WRITE) &&
1362 (sp->sh_flags & SHF_EXECINSTR)) {
1397 if (sp->sh_flags & SHF_EXECINSTR)
/titanic_41/usr/src/lib/fm/libfmevent/common/
H A Dfmev_subscribe.c55 uint32_t sh_flags; member
124 if (!(ihdl->sh_flags & SHDL_FL_SERIALIZE)) { in fmev_shdlctl_serialize()
126 ihdl->sh_flags |= SHDL_FL_SERIALIZE; in fmev_shdlctl_serialize()
230 if (ihdl->sh_flags & SHDL_FL_SERIALIZE) in fmev_proxy_cb()
235 if (ihdl->sh_flags & SHDL_FL_SERIALIZE) in fmev_proxy_cb()
/titanic_41/usr/src/uts/i86pc/os/
H A Dsmb_dev.c175 if (shp->sh_flags & SMB_FL_TRUNC) in smbios_open()
179 shp->sh_flags |= SMB_FL_BUFALLOC; in smbios_open()
/titanic_41/usr/src/uts/common/os/
H A Dsmb_subr.c67 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
/titanic_41/usr/src/lib/libsmbios/common/
H A Dsmb_subr.c86 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
H A Dsmb_lib.c99 shp->sh_flags |= SMB_FL_BUFALLOC; in smb_fileopen()
194 shp->sh_flags |= SMB_FL_BUFALLOC; in smb_biosopen()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h64 Elf32_Word sh_flags; /* Section flags. */ member
/titanic_41/usr/src/uts/sun/io/
H A Dsocal.c2438 prq->spr_soc_hdr.sh_flags = SOC_FC_HEADER | SOC_UNSOLICITED | in socal_establish_pool()
2527 drq->sdr_soc_hdr.sh_flags = SOC_UNSOLICITED | SOC_NO_RESPONSE; in socal_add_pool_buffer()
2582 if (sp->sr_soc_hdr.sh_flags & SOC_PORT_B) in socal_transport()
2767 if (sp->sr_soc_hdr.sh_flags & SOC_PORT_B) in socal_transport_poll()
2918 sdr->sdr_soc_hdr.sh_flags = SOC_PORT_B; in socal_lilp_map()
2961 scr->scr_soc_hdr.sh_flags = SOC_PORT_B; in socal_force_lip()
3026 scr->scr_soc_hdr.sh_flags = SOC_PORT_B; in socal_abort_cmd()
3058 scr->scr_soc_hdr.sh_flags = SOC_PORT_B; in socal_bypass_dev()
3346 port = srp->sr_soc_hdr.sh_flags & SOC_PORT_B; in socal_intr_solicited()
3433 (fcalpkt->fcal_socal_request.sr_soc_hdr.sh_flags in socal_intr_solicited()
[all …]
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dchecksum.c139 if (!(shdr->sh_flags & SHF_ALLOC)) in elf_checksum()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_link.c513 shp->sh_flags = SHF_ALLOC; in dump_elf32()
522 shp->sh_flags = SHF_ALLOC; in dump_elf32()
531 shp->sh_flags = SHF_ALLOC; in dump_elf32()
553 shp->sh_flags = SHF_ALLOC; in dump_elf32()
650 shp->sh_flags = SHF_ALLOC; in dump_elf64()
659 shp->sh_flags = SHF_ALLOC; in dump_elf64()
668 shp->sh_flags = SHF_ALLOC; in dump_elf64()
690 shp->sh_flags = SHF_ALLOC; in dump_elf64()
/titanic_41/usr/src/cmd/sgs/dump/common/
H A Ddump.c666 EC_XWORD(p->p_shdr.sh_flags)); in print_shdr()
676 if (p->p_shdr.sh_flags & SHF_WRITE) in print_shdr()
680 if (p->p_shdr.sh_flags & SHF_ALLOC) in print_shdr()
684 if (p->p_shdr.sh_flags & SHF_EXECINSTR) in print_shdr()
689 if (p->p_shdr.sh_flags & SHF_ORDERED) in print_shdr()
691 if (p->p_shdr.sh_flags & SHF_EXCLUDE) in print_shdr()
1434 EC_XWORD(shdr0.sh_flags)); in dump_elf_header()

1234