/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() 188 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() [all …]
|
H A D | groups.c | 103 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 D | place.c | 53 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 D | relocate.c | 124 trel = ifl->ifl_isdesc[irel->is_shdr->sh_info]; in is_disp_copied() 125 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() 249 value += rld->rel_isdesc->is_shdr->sh_offset; in disp_scansyms() 429 if (sdp->sd_isc && sdp->sd_isc->is_shdr) in disp_inspect() 430 value += sdp->sd_isc->is_shdr->sh_offset; in disp_inspect() 823 arsp->rel_isdesc->is_shdr->sh_type, ld_targ.t_m.m_mach, arsp)); in ld_add_actrel() 1228 ((shdr = _sdp->sd_isc->is_shdr) != NULL) && in reloc_exec() [all …]
|
H A D | outfile.c | 547 (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 D | sunwmove.c | 183 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 D | version.c | 566 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 D | files.c | 194 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() 1735 if ((isp == NULL) || ((isp->is_shdr->sh_type != SHT_SYMTAB) && in process_sym_shndx() 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() 1755 Is_desc *isp = ifl->ifl_isdesc[isc->is_shdr->sh_link]; in sym_shndx_process() 1757 if ((isp == NULL) || ((isp->is_shdr->sh_type != SHT_SYMTAB) && in sym_shndx_process() [all …]
|
H A D | syms.c | 211 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() 1479 ((isp->is_shdr->sh_flags & SHF_ALLOC) == 0)) { in ld_sym_validate() 1997 if ((sdp->sd_isc->is_shdr->sh_flags & (SHF_WRITE | SHF_ALLOC)) == in issue_badaddr_msg() 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() [all …]
|
H A D | sections.c | 184 (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() 708 data->d_align = tmpl_isp->is_shdr->sh_addralign; in new_section_from_template() 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() [all …]
|
H A D | machrel.amd.c | 332 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 D | machrel.sparc.c | 664 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 D | ldentry.c | 129 EC_XWORD(isp->is_shdr->sh_size), in ld_map_out()
|
H A D | machrel.intel.c | 883 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 D | unwind.c | 363 isp->is_shdr = shdr; in ld_unwind_make_hdr()
|
H A D | resolve.c | 1156 if (isp && (isp->is_shdr->sh_type == SHT_NOBITS)) {
|
H A D | update.c | 3295 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 D | sections.c | 176 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 D | unused.c | 70 EC_XWORD(isp->is_shdr->sh_size), isp->is_file->ifl_name, str); in Dbg_unused_sec()
|
H A D | relocate.c | 194 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 D | libld.h | 920 Shdr *is_shdr; /* the elf section header */ member
|