/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 152 } 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()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | shdr.c | 284 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 …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | order.c | 140 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 D | sections.c | 368 ((shdr->sh_flags & SHF_ALLOC) == 0)) in ignore_section_processing() 435 Word sh_flags; in new_section() member 456 #define SET_SEC_INFO(d_type, d_align, sh_flags, sh_entsize) \ in new_section() argument 458 static const SEC_INFO_T info_s = { d_type, d_align, sh_flags, \ in new_section() 462 #define SET_SEC_INFO_WORD_ALIGN(d_type, sh_flags, sh_entsize) \ in new_section() argument 464 static SEC_INFO_T info_s = { d_type, 0, sh_flags, \ in new_section() 654 shdr->sh_flags = sec_info->sh_flags; in new_section() 772 shdr->sh_flags |= SHF_TLS; in ld_make_bss() 783 shdr->sh_flags |= SHF_AMD64_LARGE; in ld_make_bss() 923 shdr->sh_flags = 0; in make_comment() [all …]
|
H A D | place.c | 155 shndx = (isp->is_shdr->sh_flags & SHF_ORDERED) ? in os_attach_isp() 189 if (((isp->is_shdr->sh_flags & (SHF_MERGE | SHF_STRINGS)) != in os_attach_isp() 249 if ((isp->is_shdr->sh_flags & SHF_GROUP) && in add_comdat() 817 Xword shflagmask, shflags = shdr->sh_flags; in ld_place_section() 1218 (((shdr->sh_flags & SHF_GROUP) == 0) || in ld_place_section() 1226 (os_shdr->sh_flags & ~shflagmask)) && in ld_place_section() 1390 osp->os_shdr->sh_flags = shdr->sh_flags; in ld_place_section() 1405 if (shdr->sh_flags & SHF_INFO_LINK) in ld_place_section() 1461 ((osp->os_shdr->sh_flags & SHF_ALLOC) == 0)) { in ld_place_section() 1464 osp->os_shdr->sh_flags |= SHF_ALLOC; in ld_place_section()
|
H A D | outfile.c | 332 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()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 39 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()
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_open.c | 252 shp->sh_flags |= SMB_FL_DEBUG; in smbios_bufopen() 291 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen() 302 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen() 315 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen() 346 if ((shp->sh_flags & SMB_FL_TRUNC) && i == 0) in smbios_bufopen() 368 if (shp->sh_flags & SMB_FL_BUFALLOC) in smbios_close() 550 return ((shp->sh_flags & SMB_FL_TRUNC) != 0); in smbios_truncated()
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 95 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size() 103 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 113 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 D | kobj_reloc.c | 143 if ((shp->sh_flags & SHF_ALLOC) && in do_relocate() 144 !(shp->sh_flags & SHF_WRITE)) in do_relocate() 321 if (!(shp->sh_flags & SHF_ALLOC)) in do_relocations()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 495 sp->sh_flags = SHF_STRINGS; in fake_elf64() 514 sp->sh_flags = SHF_ALLOC; in fake_elf64() 542 sp->sh_flags = SHF_ALLOC; in fake_elf64() 568 sp->sh_flags = SHF_ALLOC | SHF_STRINGS; in fake_elf64() 592 sp->sh_flags = SHF_WRITE | SHF_ALLOC; in fake_elf64() 694 sp->sh_flags = SHF_WRITE | SHF_ALLOC | SHF_EXECINSTR; in fake_elf64()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 123 TYP(sh_flags,4); 137 TYP(sh_flags,8);
|
H A D | dwarf_elfstructs.h | 131 TYP(sh_flags,4); 145 TYP(sh_flags,8);
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 1043 if (!(sp->sh_flags & SHF_ALLOC) && in iload32() 1052 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext; in iload32() 1065 !(sp->sh_flags & SHF_WRITE) && in iload32() 1066 (sp->sh_flags & SHF_EXECINSTR)) { in iload32() 1093 if (sp->sh_flags & SHF_EXECINSTR) in iload32() 1191 if (!(sp->sh_flags & SHF_ALLOC) && in iload64() 1200 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext; in iload64() 1218 !(sp->sh_flags & SHF_WRITE) && in iload64() 1219 (sp->sh_flags & SHF_EXECINSTR)) { in iload64() 1254 if (sp->sh_flags & SHF_EXECINSTR) in iload64()
|
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_subscribe.c | 59 uint32_t sh_flags; member 128 if (!(ihdl->sh_flags & SHDL_FL_SERIALIZE)) { in fmev_shdlctl_serialize() 130 ihdl->sh_flags |= SHDL_FL_SERIALIZE; in fmev_shdlctl_serialize() 228 if (ihdl->sh_flags & SHDL_FL_SERIALIZE) in fmev_proxy_cb() 233 if (ihdl->sh_flags & SHDL_FL_SERIALIZE) in fmev_proxy_cb()
|
/illumos-gate/usr/src/cmd/ctfmerge/ |
H A D | ctfmerge.c | 128 ctfsect.cts_flags = shdr.sh_flags; in ctfmerge_elfopen() 145 symsect.cts_flags = shdr.sh_flags; in ctfmerge_elfopen() 159 strsect.cts_flags = strhdr.sh_flags; in ctfmerge_elfopen()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | smb_subr.c | 69 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | smb_dev.c | 204 if (shp->sh_flags & SMB_FL_TRUNC) in smbios_open() 208 shp->sh_flags |= SMB_FL_BUFALLOC; in smbios_open()
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_subr.c | 84 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | i386_elf.h | 64 Elf32_Word sh_flags; /* Section flags. */ member
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 369 dst->sh_flags = src->sh_flags; in shdr_to_gelf() 605 ctfsect.cts_flags = shp->sh_flags; in ctf_fdcreate_int() 613 symsect.cts_flags = shp->sh_flags; in ctf_fdcreate_int() 620 strsect.cts_flags = lhp->sh_flags; in ctf_fdcreate_int()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 512 shp->sh_flags = SHF_ALLOC; in dump_elf32() 521 shp->sh_flags = SHF_ALLOC; in dump_elf32() 530 shp->sh_flags = SHF_ALLOC; in dump_elf32() 552 shp->sh_flags = SHF_ALLOC; in dump_elf32() 649 shp->sh_flags = SHF_ALLOC; in dump_elf64() 658 shp->sh_flags = SHF_ALLOC; in dump_elf64() 667 shp->sh_flags = SHF_ALLOC; in dump_elf64() 689 shp->sh_flags = SHF_ALLOC; in dump_elf64()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | checksum.c | 139 if (!(shdr->sh_flags & SHF_ALLOC)) in elf_checksum()
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 671 EC_XWORD(p->p_shdr.sh_flags)); in print_shdr() 681 if (p->p_shdr.sh_flags & SHF_WRITE) in print_shdr() 685 if (p->p_shdr.sh_flags & SHF_ALLOC) in print_shdr() 689 if (p->p_shdr.sh_flags & SHF_EXECINSTR) in print_shdr() 694 if (p->p_shdr.sh_flags & SHF_ORDERED) in print_shdr() 696 if (p->p_shdr.sh_flags & SHF_EXCLUDE) in print_shdr() 1435 EC_XWORD(shdr0.sh_flags)); in dump_elf_header()
|