Home
last modified time | relevance | path

Searched refs:is_shdr (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dorder.c188 isp2_ndx = isp1->is_shdr->sh_link; in validate_shf_ordered_dest()
196 if (isp1->is_shdr->sh_flags != isp2->is_shdr->sh_flags) { in validate_shf_ordered_dest()
214 if ((error = is_keyshndx_ok(ifl, isp2->is_shdr->sh_info)) != 0) in validate_shf_ordered_dest()
296 Xword shflags = isp->is_shdr->sh_flags; in ld_process_ordered()
310 isp->is_shdr->sh_info : isp->is_shdr->sh_link; in ld_process_ordered()
439 if (s1->is_shdr->sh_flags & SHF_ORDERED) in comp()
440 ndx1 = s1->is_shdr->sh_info; in comp()
442 ndx1 = s1->is_shdr->sh_link; in comp()
444 if (s2->is_shdr->sh_flags & SHF_ORDERED) in comp()
445 ndx2 = s2->is_shdr->sh_info; in comp()
[all …]
H A Dgroups.c103 if (isp->is_shdr->sh_type == SHT_GROUP) { in ld_get_group()
166 Shdr *sshdr, *gshdr = gisc->is_shdr; in ld_group_process()
199 sshdr = isc->is_shdr; in ld_group_process()
303 memcpy(new_shdr, gisc->is_shdr, sizeof (Shdr)); in ld_group_process()
304 gisc->is_shdr = new_shdr; in ld_group_process()
314 gisc->is_shdr->sh_size -= sizeof (Word); in ld_group_process()
H A Dplace.c53 Shdr *shdr = isp->is_shdr; in set_addralign()
155 shndx = (isp->is_shdr->sh_flags & SHF_ORDERED) ? in os_attach_isp()
156 isp->is_shdr->sh_info : isp->is_shdr->sh_link; in os_attach_isp()
189 if (((isp->is_shdr->sh_flags & (SHF_MERGE | SHF_STRINGS)) != in os_attach_isp()
210 if ((isp->is_shdr->sh_entsize > 1) || in os_attach_isp()
211 (isp->is_shdr->sh_addralign > 1)) { in os_attach_isp()
249 if ((isp->is_shdr->sh_flags & SHF_GROUP) && in add_comdat()
669 *shdr = *isp->is_shdr; in isp_convert_type()
670 isp->is_shdr = shdr; in isp_convert_type()
816 Shdr *shdr = isp->is_shdr; in ld_place_section()
H A Drelocate.c125 rsize = irel->is_shdr->sh_size; in is_disp_copied()
126 entsize = irel->is_shdr->sh_entsize; in is_disp_copied()
133 if (irel->is_shdr->sh_type == SHT_RELA) in is_disp_copied()
248 if (rld->rel_isdesc->is_shdr) in disp_scansyms()
1806 (isp->is_shdr->sh_type != rep_isp->is_shdr->sh_type) || in sloppy_comdat_reloc()
2002 Shdr *is_shdr = reld->rel_isdesc->is_shdr; in process_reld() local
2137 shdr = rsect->is_shdr; in reloc_section()
2225 indx = risp->is_shdr->sh_info; in reloc_segments()
2264 Shdr *rshdr = rsect->is_shdr; in get_move_entry()
2274 mshdr = misp->is_shdr; in get_move_entry()
[all …]
H A Doutfile.c547 (isp->is_shdr->sh_size > 0)))) { in ld_create_outfile()
576 (isp->is_shdr->sh_size == 0)) { in ld_create_outfile()
622 (isp->is_shdr->sh_flags & SHF_TLS)) { in ld_create_outfile()
627 isp->is_shdr->sh_addralign); in ld_create_outfile()
643 if (isp->is_shdr->sh_type == SHT_NOBITS) { in ld_create_outfile()
644 Xword sz = isp->is_shdr->sh_size; in ld_create_outfile()
H A Dsunwmove.c183 if (isp->is_shdr->sh_entsize == 0) { in ld_process_move()
190 num = isp->is_shdr->sh_size / isp->is_shdr->sh_entsize; in ld_process_move()
H A Dversion.c566 Shdr *vershdr = isp->is_shdr; in ld_vers_sym_process()
572 symshdr = ifl->ifl_isdesc[vershdr->sh_link]->is_shdr; in ld_vers_sym_process()
632 num = isp->is_shdr->sh_info; in ld_vers_def_process()
633 str = (char *)ifl->ifl_isdesc[isp->is_shdr->sh_link]->is_indata->d_buf; in ld_vers_def_process()
836 num = isp->is_shdr->sh_info; in ld_vers_need_process()
837 str = (char *)ifl->ifl_isdesc[isp->is_shdr->sh_link]->is_indata->d_buf; in ld_vers_need_process()
H A Dfiles.c194 isp->is_shdr = shdr; in process_section()
860 cnum = (Word)(cisp->is_shdr->sh_size / cisp->is_shdr->sh_entsize); in process_cap()
936 Word info = cisp->is_shdr->sh_info; in process_cap()
1207 Shdr *shdr = isp->is_shdr; in process_capinfo()
1704 shdr = isc->is_shdr; in array_process()
1736 (isp->is_shdr->sh_type != SHT_DYNSYM))) { in process_sym_shndx()
1754 if (isc->is_shdr->sh_link > isc->is_scnndx) { in sym_shndx_process()
1762 EC_XWORD(isc->is_shdr->sh_link)); in sym_shndx_process()
2403 Shdr *shdr = isc->is_shdr; in rel_process()
2857 (isp->is_shdr->sh_type != SHT_GROUP)) in process_elf()
[all …]
H A Dsyms.c211 sifshdr = isp->is_shdr; in ld_sym_nodirect()
226 symshdr = ifl->ifl_isdesc[sifshdr->sh_link]->is_shdr; in ld_sym_nodirect()
543 (sdp->sd_isc->is_shdr->sh_type == SHT_NOBITS)) in ld_sym_enter()
1435 if ((isp == NULL) || (isp->is_shdr == NULL) || in ld_sym_validate()
1436 ((isp->is_shdr->sh_flags & SHF_TLS) == 0)) { in ld_sym_validate()
1478 if (((isp = sdp->sd_isc) != 0) && isp->is_shdr && in ld_sym_validate()
2008 EC_XWORD(sdp->sd_isc->is_shdr->sh_size), in issue_badaddr_msg()
2067 _sdp->sd_isc && _sdp->sd_isc->is_shdr && \ in ld_sym_process()
2073 Shdr *shdr = isc->is_shdr; in ld_sym_process()
2120 strsize = ifl->ifl_isdesc[ndx]->is_shdr->sh_size; in ld_sym_process()
[all …]
H A Dsections.c184 (isp->is_shdr->sh_size > 0))) && in isdesc_discarded()
367 ((shdr = isc->is_shdr) == NULL) || in ignore_section_processing()
664 isec->is_shdr = shdr; in new_section()
716 *shdr = *tmpl_isp->is_shdr; in new_section_from_template()
727 isec->is_shdr = shdr; in new_section_from_template()
2107 xisec->is_shdr->sh_size = (Xword)xsize; in make_symtab()
2258 dynshdr = dynsymisp->is_shdr; in make_dyn_shndx()
2545 if (risp->is_shdr->sh_flags & SHF_GROUP) { in make_reloc()
2926 if (isp->is_shdr->sh_size == 0) in ld_strmerge_sec()
3436 cnt = (isp->is_shdr->sh_size / isp->is_shdr->sh_entsize); in ld_make_sections()
[all …]
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()
877 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs()
1266 (rsp->rel_isdesc->is_shdr->sh_type == SHT_SUNW_dof)) && in ld_reloc_local()
H A Dldentry.c129 EC_XWORD(isp->is_shdr->sh_size), in ld_map_out()
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()
1174 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs()
1639 (rsp->rel_isdesc->is_shdr->sh_type == SHT_SUNW_dof)) && in ld_reloc_local()
H A Dmachrel.intel.c883 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs()
887 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs()
1266 (rsp->rel_isdesc->is_shdr->sh_type == SHT_SUNW_dof)) && in ld_reloc_local()
H A Dunwind.c363 isp->is_shdr = shdr; in ld_unwind_make_hdr()
H A Dresolve.c1156 if (isp && (isp->is_shdr->sh_type == SHT_NOBITS)) {
H A Dupdate.c3295 sdp = ifl->ifl_oldndx[isp->is_shdr->sh_info]; in update_ogroup()
3835 (sdp->sd_isc->is_shdr->sh_type == SHT_NOBITS)) { in check_mapfile_assertions()
3843 (sdp->sd_isc->is_shdr->sh_type != SHT_NOBITS)) { in check_mapfile_assertions()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsections.c176 if ((isp->is_shdr->sh_entsize > 1) || in Dbg_sec_unsup_strmerge()
177 (isp->is_shdr->sh_addralign > 1)) { in Dbg_sec_unsup_strmerge()
182 EC_XWORD(isp->is_shdr->sh_addralign), in Dbg_sec_unsup_strmerge()
183 EC_XWORD(isp->is_shdr->sh_entsize)); in Dbg_sec_unsup_strmerge()
305 if (isp->is_shdr->sh_type == SHT_GROUP) { in Dbg_sec_group()
379 if (isp1->is_shdr->sh_flags & SHF_ORDERED) { in Dbg_sec_order_list()
380 link = isp1->is_shdr->sh_info; in Dbg_sec_order_list()
383 link = isp1->is_shdr->sh_link; in Dbg_sec_order_list()
H A Dunused.c70 EC_XWORD(isp->is_shdr->sh_size), isp->is_file->ifl_name, str); in Dbg_unused_sec()
H A Drelocate.c194 Elf_reloc_title(lml, ELF_DBG_LD, risp->is_shdr->sh_type); in Dbg_reloc_proc()
/illumos-gate/usr/src/cmd/sgs/include/
H A Dlibld.h920 Shdr *is_shdr; /* the elf section header */ member