Lines Matching refs:isec

443 	Is_desc		*isec;  in new_section()  local
661 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section()
663 isec->is_name = shname; in new_section()
664 isec->is_shdr = shdr; in new_section()
665 isec->is_indata = data; in new_section()
668 *ret_isec = isec; in new_section()
699 Is_desc *isec; in new_section_from_template() local
724 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section_from_template()
726 isec->is_name = tmpl_isp->is_name; in new_section_from_template()
727 isec->is_shdr = shdr; in new_section_from_template()
728 isec->is_indata = data; in new_section_from_template()
731 *ret_isec = isec; in new_section_from_template()
750 Is_desc *isec; in ld_make_bss() local
760 &isec, &shdr, &data) == S_ERROR) in ld_make_bss()
770 isec->is_name = MSG_ORIG(MSG_SCN_TBSS); in ld_make_bss()
771 ofl->ofl_istlsbss = isec; in ld_make_bss()
775 isec->is_name = MSG_ORIG(MSG_SCN_BSS); in ld_make_bss()
776 ofl->ofl_isbss = isec; in ld_make_bss()
781 isec->is_name = MSG_ORIG(MSG_SCN_LBSS); in ld_make_bss()
782 ofl->ofl_islbss = isec; in ld_make_bss()
791 if ((osp = ld_place_section(ofl, isec, NULL, ident, NULL)) == in ld_make_bss()
827 Is_desc *isec; in make_array() local
842 if (new_section(ofl, shtype, sectname, entcount, &isec, &shdr, &data) == in make_array()
849 if (ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_array, NULL) == in make_array()
853 osp = isec->is_osdesc; in make_array()
866 reld.rel_isdesc = isec; in make_array()
891 if (ld_process_sym_reloc(ofl, &reld, (Rel *)&reloc, isec, in make_array()
912 Is_desc *isec; in make_comment() local
915 &isec, &shdr, &data) == S_ERROR) in make_comment()
926 return ((uintptr_t)ld_place_section(ofl, isec, NULL, in make_comment()
944 Is_desc *isec; in make_dynamic() local
969 &isec, &shdr, &data) == S_ERROR) in make_dynamic()
989 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_dynamic, NULL); in make_dynamic()
1334 Is_desc *isec; in ld_make_got() local
1339 &isec, &shdr, &data) == S_ERROR) in ld_make_got()
1348 ofl->ofl_osgot = ld_place_section(ofl, isec, NULL, in ld_make_got()
1366 Is_desc *isec; in make_interp() local
1398 &isec, &shdr, &data) == S_ERROR) in make_interp()
1406 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_interp, NULL); in make_interp()
1421 Is_desc *isec; in make_sym_sec() local
1427 if (new_section(ofl, stype, sectname, 0, &isec, &shdr, &data) == in make_sym_sec()
1431 return (ld_place_section(ofl, isec, NULL, ident, NULL)); in make_sym_sec()
1616 Is_desc *isec; in make_cap() local
1714 if (new_section(ofl, shtype, shname, size, &isec, in make_cap()
1899 if ((ofl->ofl_oscap = ld_place_section(ofl, isec, in make_cap()
1922 ofl->ofl_capchaincnt, &isec, &shdr, in make_cap()
1926 ofl->ofl_oscapchain = ld_place_section(ofl, isec, in make_cap()
1945 Is_desc *isec; in make_plt() local
1958 &isec, &shdr, &data) == S_ERROR) in make_plt()
1969 ofl->ofl_osplt = ld_place_section(ofl, isec, NULL, in make_plt()
1989 Is_desc *isec; in make_hash() local
1999 &isec, &shdr, &data) == S_ERROR) in make_hash()
2007 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_hash, NULL); in make_hash()
2047 Is_desc *isec; in make_symtab() local
2057 &isec, &shdr, &data) == S_ERROR) in make_symtab()
2064 if ((ofl->ofl_ossymtab = ld_place_section(ofl, isec, NULL, in make_symtab()
2128 Is_desc *isec, *lisec; in make_dynsym() local
2158 &isec, &shdr, &data) == S_ERROR) in make_dynsym()
2170 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_dynsym, NULL); in make_dynsym()
2210 Is_desc *isec; in make_dynsort() local
2220 &isec, &shdr, &data) == S_ERROR) in make_dynsort()
2223 if ((ofl->ofl_osdynsymsort = ld_place_section(ofl, isec, NULL, in make_dynsort()
2232 ofl->ofl_dyntlssortcnt, &isec, &shdr, &data) == S_ERROR) in make_dynsort()
2235 if ((ofl->ofl_osdyntlssort = ld_place_section(ofl, isec, NULL, in make_dynsort()
2252 Is_desc *isec; in make_dyn_shndx() local
2262 &isec, &shdr, &data) == S_ERROR) in make_dyn_shndx()
2265 if ((*ret_os = ld_place_section(ofl, isec, NULL, in make_dyn_shndx()
2307 Is_desc *isec; in make_shstrtab() local
2311 0, &isec, &shdr, &data) == S_ERROR) in make_shstrtab()
2319 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_note, NULL); in make_shstrtab()
2340 Is_desc *isec; in make_strtab() local
2355 0, &isec, &shdr, &data) == S_ERROR) in make_strtab()
2363 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_strtab, NULL); in make_strtab()
2375 Is_desc *isec; in make_dynstr() local
2429 0, &isec, &shdr, &data) == S_ERROR) in make_dynstr()
2442 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_dynstr, NULL); in make_dynstr()
2458 Is_desc *isec; in make_reloc() local
2502 if (new_section(ofl, ld_targ.t_m.m_rel_sht_type, sectname, 0, &isec, in make_reloc()
2520 rosp = ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_rel, NULL); in make_reloc()
2572 Is_desc *isec; in make_verneed() local
2579 0, &isec, &shdr, &data) == S_ERROR) in make_verneed()
2587 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_version, NULL); in make_verneed()
2602 Is_desc *isec; in make_verdef() local
2626 0, &isec, &shdr, &data) == S_ERROR) in make_verdef()
2634 ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_version, NULL); in make_verdef()
2646 Is_desc *isec; in ld_make_parexpn_data() local
2650 &isec, &shdr, &data) == S_ERROR) in ld_make_parexpn_data()
2669 ofl->ofl_isparexpn = isec; in ld_make_parexpn_data()
2670 osp = ld_place_section(ofl, isec, NULL, ld_targ.t_id.id_data, NULL); in ld_make_parexpn_data()
2689 Is_desc *isec; in ld_make_sunwmove() local
2696 mv_nums, &isec, &shdr, &data) == S_ERROR) in ld_make_sunwmove()
2716 if ((ofl->ofl_osmove = ld_place_section(ofl, isec, NULL, 0, NULL)) == in ld_make_sunwmove()
3184 Is_desc *isec = ld_os_first_isdesc(osp); in update_data_size() local
3185 Elf_Data *data = isec->is_indata; in update_data_size()
3478 Is_desc *isec; in ld_make_data() local
3481 &isec, &shdr, &data) == S_ERROR) in ld_make_data()
3488 if (aplist_append(&ofl->ofl_mapdata, isec, AL_CNT_OFL_MAPSECS) == NULL) in ld_make_data()
3491 return (isec); in ld_make_data()
3503 Is_desc *isec; in ld_make_text() local
3513 &isec, &shdr, &data) == S_ERROR) in ld_make_text()
3539 if (aplist_append(&ofl->ofl_maptext, isec, AL_CNT_OFL_MAPSECS) == NULL) in ld_make_text()
3542 return (isec); in ld_make_text()