Home
last modified time | relevance | path

Searched refs:SHF_ALLOC (Results 1 – 25 of 44) 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,
205 SHF_ALLOC + SHF_AMD64_LARGE, lrodata, 0),
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),
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.c368 ((shdr->sh_flags & SHF_ALLOC) == 0)) in ignore_section_processing()
480 SET_SEC_INFO_WORD_ALIGN(ELF_T_BYTE, SHF_ALLOC, 0) in new_section()
578 SET_SEC_INFO_WORD_ALIGN(ELF_T_WORD, SHF_ALLOC, in new_section()
596 SHF_ALLOC | SHF_WRITE, sizeof (Move)); in new_section()
607 SHF_ALLOC | SHF_INFO_LINK, sizeof (Syminfo)); in new_section()
623 SET_SEC_INFO_WORD_ALIGN(ELF_T_BYTE, SHF_ALLOC, in new_section()
978 shdr->sh_flags |= SHF_ALLOC; in make_dynamic()
2434 shdr->sh_flags |= SHF_ALLOC; in make_dynstr()
2487 sh_flags = SHF_ALLOC; in make_reloc()
2491 sh_flags = SHF_ALLOC; in make_reloc()
[all …]
H A Dmap.c703 if (enp->ec_attrmask & SHF_ALLOC) { in map_colon()
709 enp->ec_attrmask |= SHF_ALLOC; in map_colon()
711 enp->ec_attrbits |= SHF_ALLOC; in map_colon()
H A Dmachrel.sparc.c664 if (psym->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_perform_outreloc()
670 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_perform_outreloc()
1152 if (sym->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs()
1169 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs()
H A Dmachrel.amd.c332 if (psym->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_perform_outreloc()
338 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_perform_outreloc()
873 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs()
H A Dplace.c1461 ((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 Dunwind.c353 shdr->sh_flags = SHF_ALLOC; in ld_unwind_make_hdr()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c179 { MSG_ORIG(MSG_PHDRNAM_DYN), SHT_DYNAMIC, SHF_ALLOC,
183 { MSG_ORIG(MSG_PHDRNAM_DYNSTR), SHT_STRTAB, SHF_ALLOC,
187 { MSG_ORIG(MSG_PHDRNAM_DYNSYM), SHT_DYNSYM, SHF_ALLOC,
195 { MSG_ORIG(MSG_PHDRNAM_HASH), SHT_HASH, SHF_ALLOC,
215 { MSG_ORIG(MSG_PHDRNAM_VER), SHT_SUNW_verdef, SHF_ALLOC,
219 { MSG_ORIG(MSG_PHDRNAM_VER), SHT_SUNW_versym, SHF_ALLOC,
227 { MSG_ORIG(MSG_PHDRNAM_CAP), SHT_SUNW_cap, SHF_ALLOC,
243 { MSG_ORIG(MSG_PHDRNAM_MOVE), SHT_SUNW_move, SHF_ALLOC,
247 { MSG_ORIG(MSG_PHDRNAM_REL), SHT_REL, SHF_ALLOC,
251 { MSG_ORIG(MSG_PHDRNAM_RELA), SHT_RELA, SHF_ALLOC,
[all …]
/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()
162 } else if ((shdr.sh_flags & SHF_ALLOC) && in process()
/illumos-gate/usr/src/tools/btxld/
H A Delfh.c112 htole32(SHF_EXECINSTR | SHF_ALLOC), /* sh_flags */
124 htole32(SHF_ALLOC | SHF_WRITE), /* sh_flags */
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c514 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/uts/sparc/krtld/
H A Dkobj_reloc.c143 if ((shp->sh_flags & SHF_ALLOC) && in do_relocate()
321 if (!(shp->sh_flags & SHF_ALLOC)) in do_relocations()
H A Dkobj_isa.c113 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size()
/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/uts/intel/amd64/krtld/
H A Dkobj_isa.c95 if (!(shp->sh_flags & SHF_ALLOC)) in get_progbits_size()
H A Dkobj_reloc.c332 if (!(shp->sh_flags & SHF_ALLOC)) in do_relocations()
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c200 { "SHF_ALLOC", SHF_ALLOC, SHF_ALLOC }, in dump_shdr()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c148 SHT_NOBITS, SHF_ALLOC | SHF_EXECINSTR, 0),
150 SHT_NOBITS, SHF_WRITE | SHF_ALLOC, 0),
152 SHT_NOBITS, SHF_WRITE | SHF_ALLOC, 0),
/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/uts/common/ctf/
H A Dctf_mod.c138 ctfsect.cts_flags = SHF_ALLOC; in ctf_modopen()
/illumos-gate/usr/src/cmd/sgs/include/i386/
H A Dmachdep_x86.h201 #define M_PLT_SHF_FLAGS (SHF_ALLOC | SHF_EXECINSTR)
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsections.c499 { SHF_ALLOC, ALL, MSG_SHF_ALLOC_CF }, in conv_sec_flags_strings()
515 { SHF_ALLOC, ALL, MSG_SHF_ALLOC_NF }, in conv_sec_flags_strings()
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c706 if (shdr.sh_flags & SHF_ALLOC && ess->es_has_phdr) { in elfsign_adjustoffsets()
736 if (shdr.sh_flags & SHF_ALLOC && ess->es_has_phdr) { in elfsign_adjustoffsets()
937 } else if (!(shdr.sh_flags & SHF_ALLOC)) { in elfsign_hash_common()
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c160 if ((shdr.sh_flags & SHF_ALLOC) && in look_in_sections()

12