Home
last modified time | relevance | path

Searched refs:SHF_WRITE (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dentry.c204 EC_DESC_INIT(NULL, 0, SHF_ALLOC + SHF_WRITE + SHF_AMD64_LARGE,
207 EC_DESC_INIT(NULL, 0, SHF_ALLOC + SHF_WRITE, SHF_ALLOC, text, 0),
228 EC_DESC_INIT(MSG_ORIG(MSG_SCN_TDATA), 0, SHF_ALLOC + SHF_WRITE,
229 SHF_ALLOC + SHF_WRITE, bss, 0),
231 EC_DESC_INIT(NULL, SHT_NOBITS, SHF_ALLOC + SHF_WRITE,
232 SHF_ALLOC + SHF_WRITE, bss, 0),
235 EC_DESC_INIT(NULL, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_AMD64_LARGE,
236 SHF_ALLOC + SHF_WRITE + SHF_AMD64_LARGE, data, 0),
238 EC_DESC_INIT(NULL, 0, SHF_ALLOC + SHF_WRITE + SHF_AMD64_LARGE,
239 SHF_ALLOC + SHF_WRITE + SHF_AMD64_LARGE, ldata, 0),
[all …]
H A Dsections.c550 SET_SEC_INFO(ELF_T_BYTE, 0, SHF_ALLOC | SHF_WRITE, 0) in new_section()
556 SET_SEC_INFO(ELF_T_ADDR, sizeof (Addr), SHF_ALLOC | SHF_WRITE, in new_section()
596 SHF_ALLOC | SHF_WRITE, sizeof (Move)); in new_section()
986 shdr->sh_flags |= SHF_WRITE; in make_dynamic()
1344 shdr->sh_flags |= SHF_WRITE; in ld_make_got()
2653 shdr->sh_flags |= SHF_WRITE; in ld_make_parexpn_data()
3486 shdr->sh_flags |= SHF_WRITE; in ld_make_data()
H A Dmap.c715 if (enp->ec_attrmask & SHF_WRITE) { in map_colon()
721 enp->ec_attrmask |= SHF_WRITE; in map_colon()
723 enp->ec_attrbits |= SHF_WRITE; in map_colon()
H A Dplace.c897 shflags |= SHF_WRITE; in ld_place_section()
H A Dsyms.c1997 if ((sdp->sd_isc->is_shdr->sh_flags & (SHF_WRITE | SHF_ALLOC)) == in issue_badaddr_msg()
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dprocess.c158 (!(shdr.sh_flags & SHF_WRITE)) && in process()
163 (shdr.sh_flags & SHF_WRITE) && in process()
167 } else if ((shdr.sh_flags & SHF_WRITE) && in process()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c103 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
/illumos-gate/usr/src/tools/btxld/
H A Delfh.c124 htole32(SHF_ALLOC | SHF_WRITE), /* sh_flags */
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c121 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; in get_progbits_size()
H A Dkobj_reloc.c144 !(shp->sh_flags & SHF_WRITE)) in do_relocate()
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c199 { "SHF_WRITE", SHF_WRITE, SHF_WRITE }, in dump_shdr()
/illumos-gate/usr/src/cmd/sgs/include/sparc/
H A Dmachdep_sparc.h185 #define M_PLT_SHF_FLAGS (SHF_ALLOC | SHF_WRITE | SHF_EXECINSTR)
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsections.c498 { SHF_WRITE, ALL, MSG_SHF_WRITE_CF }, in conv_sec_flags_strings()
514 { SHF_WRITE, ALL, MSG_SHF_WRITE_NF }, in conv_sec_flags_strings()
H A Dsections.msg264 @ MSG_SHF_WRITE_CF "SHF_WRITE" # 0x01
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c1052 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext; in iload32()
1065 !(sp->sh_flags & SHF_WRITE) && in iload32()
1200 spp = (sp->sh_flags & SHF_WRITE)? &edata: &etext; in iload64()
1218 !(sp->sh_flags & SHF_WRITE) && in iload64()
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c592 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/uts/common/fs/objfs/
H A Dobjfs_data.c150 SHT_NOBITS, SHF_WRITE | SHF_ALLOC, 0),
152 SHT_NOBITS, SHF_WRITE | SHF_ALLOC, 0),
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h639 #define SHF_WRITE 0x01 /* sh_flags */ macro
/illumos-gate/usr/src/boot/sys/sys/
H A Delf_common.h465 #define SHF_WRITE 0x1 /* Section contains writable data. */ macro
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c610 shdr->sh_flags = SHF_ALLOC | SHF_WRITE; in rt_dldump()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c896 (shp->sh_flags & SHF_WRITE) != 0) { in init_xen_module()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c911 if (shp->sh_flags & SHF_WRITE) { in load_linker()
2393 if ((shp->sh_flags & SHF_WRITE) == 0) in get_progbits()
2412 if (shp->sh_flags & SHF_WRITE) { in get_progbits()
2421 if ((shp->sh_flags & SHF_WRITE) == 0) in get_progbits()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c945 sec->shdr->sh_flags |= SHF_WRITE; in get_data()
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c681 if (p->p_shdr.sh_flags & SHF_WRITE) in print_shdr()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c118 if (shp->sh_flags & SHF_WRITE) in gelf_sect_init()

12