Home
last modified time | relevance | path

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

1234

/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dshdr.c288 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()
535 sh_flags, 0, &buf2)); in cmd_body()
[all …]
/illumos-gate/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.c435 Word sh_flags; in new_section() member
654 shdr->sh_flags = sec_info->sh_flags; in new_section()
772 shdr->sh_flags |= SHF_TLS; in ld_make_bss()
923 shdr->sh_flags = 0; in make_comment()
978 shdr->sh_flags |= SHF_ALLOC; in make_dynamic()
986 shdr->sh_flags |= SHF_WRITE; in make_dynamic()
1344 shdr->sh_flags |= SHF_WRITE; in ld_make_got()
2460 Xword sh_flags; in make_reloc() local
2479 sh_flags = osp->os_shdr->sh_flags; in make_reloc()
2487 sh_flags = SHF_ALLOC; in make_reloc()
[all …]
H A Dplace.c155 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 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()
/illumos-gate/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()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_open.c251 shp->sh_flags |= SMB_FL_DEBUG; in smbios_bufopen()
290 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
301 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
314 shp->sh_flags |= SMB_FL_TRUNC; in smbios_bufopen()
345 if ((shp->sh_flags & SMB_FL_TRUNC) && i == 0) in smbios_bufopen()
367 if (shp->sh_flags & SMB_FL_BUFALLOC) in smbios_close()
549 return ((shp->sh_flags & SMB_FL_TRUNC) != 0); in smbios_truncated()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c95 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 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.c143 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 DPsymtab_machelf32.c495 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 Ddw_elfstructs.h123 TYP(sh_flags,4);
137 TYP(sh_flags,8);
H A Ddwarf_elfstructs.h131 TYP(sh_flags,4);
145 TYP(sh_flags,8);
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c1043 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 Dfmev_subscribe.c59 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 Dctfmerge.c128 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 Dsmb_subr.c69 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dsmb_dev.c204 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 Dsmb_subr.c84 if (!(shp->sh_flags & SMB_FL_DEBUG)) in smb_dprintf()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h64 Elf32_Word sh_flags; /* Section flags. */ member
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c369 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 Ddt_link.c512 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 Dchecksum.c139 if (!(shdr->sh_flags & SHF_ALLOC)) in elf_checksum()
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c671 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()

1234