/titanic_41/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 | place.c | 52 Shdr *shdr = isp->is_shdr; in set_addralign() 154 shndx = (isp->is_shdr->sh_flags & SHF_ORDERED) ? in os_attach_isp() 155 isp->is_shdr->sh_info : isp->is_shdr->sh_link; in os_attach_isp() 188 if (((isp->is_shdr->sh_flags & (SHF_MERGE | SHF_STRINGS)) != in os_attach_isp() 209 if ((isp->is_shdr->sh_entsize > 1) || in os_attach_isp() 210 (isp->is_shdr->sh_addralign > 1)) { in os_attach_isp() 248 if ((isp->is_shdr->sh_flags & SHF_GROUP) && in add_comdat() 596 *shdr = *isp->is_shdr; in isp_convert_type() 597 isp->is_shdr = shdr; in isp_convert_type() 668 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 | 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() 197 sshdr = isc->is_shdr; in ld_group_process()
|
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 | files.c | 175 isp->is_shdr = shdr; in process_section() 829 cnum = (Word)(cisp->is_shdr->sh_size / cisp->is_shdr->sh_entsize); in process_cap() 904 Word info = cisp->is_shdr->sh_info; in process_cap() 1167 Shdr *shdr = isp->is_shdr; in process_capinfo() 1663 shdr = isc->is_shdr; in array_process() 1694 if ((isp == NULL) || ((isp->is_shdr->sh_type != SHT_SYMTAB) && in process_sym_shndx() 1695 (isp->is_shdr->sh_type != SHT_DYNSYM))) { in process_sym_shndx() 1713 if (isc->is_shdr->sh_link > isc->is_scnndx) { in sym_shndx_process() 1714 Is_desc *isp = ifl->ifl_isdesc[isc->is_shdr->sh_link]; in sym_shndx_process() 1716 if ((isp == NULL) || ((isp->is_shdr->sh_type != SHT_SYMTAB) && in sym_shndx_process() [all …]
|
H A D | syms.c | 208 sifshdr = isp->is_shdr; in ld_sym_nodirect() 223 symshdr = ifl->ifl_isdesc[sifshdr->sh_link]->is_shdr; in ld_sym_nodirect() 505 (sdp->sd_isc->is_shdr->sh_type == SHT_NOBITS)) in ld_sym_enter() 1299 if ((isp == NULL) || (isp->is_shdr == NULL) || in ld_sym_validate() 1300 ((isp->is_shdr->sh_flags & SHF_TLS) == 0)) { in ld_sym_validate() 1342 if (((isp = sdp->sd_isc) != 0) && isp->is_shdr && in ld_sym_validate() 1343 ((isp->is_shdr->sh_flags & SHF_ALLOC) == 0)) { in ld_sym_validate() 1860 if ((sdp->sd_isc->is_shdr->sh_flags & (SHF_WRITE | SHF_ALLOC)) == in issue_badaddr_msg() 1871 EC_XWORD(sdp->sd_isc->is_shdr->sh_size), in issue_badaddr_msg() 1930 _sdp->sd_isc && _sdp->sd_isc->is_shdr && \ in ld_sym_process() [all …]
|
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 | sections.c | 181 (isp->is_shdr->sh_size > 0))) && in isdesc_discarded() 364 ((shdr = isc->is_shdr) == NULL) || in ignore_section_processing() 661 isec->is_shdr = shdr; in new_section() 705 data->d_align = tmpl_isp->is_shdr->sh_addralign; in new_section_from_template() 713 *shdr = *tmpl_isp->is_shdr; in new_section_from_template() 724 isec->is_shdr = shdr; in new_section_from_template() 2078 xisec->is_shdr->sh_size = (Xword)xsize; in make_symtab() 2229 dynshdr = dynsymisp->is_shdr; in make_dyn_shndx() 2516 if (risp->is_shdr->sh_flags & SHF_GROUP) { in make_reloc() 2866 if (isp->is_shdr->sh_size == 0) in ld_make_strmerge() [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() 859 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs() 863 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs() 1239 (rsp->rel_isdesc->is_shdr->sh_type == SHT_SUNW_dof)) && in ld_reloc_local()
|
H A D | ldentry.c | 125 EC_XWORD(isp->is_shdr->sh_size), in ld_map_out()
|
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() 1132 if (sym->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs() 1149 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs() 1154 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs() 1605 (rsp->rel_isdesc->is_shdr->sh_type == SHT_SUNW_dof)) && in ld_reloc_local()
|
H A D | machrel.intel.c | 854 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC) in ld_do_activerelocs() 858 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS) in ld_do_activerelocs() 1224 (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 | 3216 sdp = ifl->ifl_oldndx[isp->is_shdr->sh_info]; in update_ogroup()
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/sgs/include/ |
H A D | libld.h | 911 Shdr *is_shdr; /* the elf section header */ member
|