/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldentry.c | 54 ld_map_out(Ofl_desc *ofl) argument 63 if (ofl->ofl_flags & FLG_OF_RELOBJ) 82 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 118 if (!(ofl->ofl_flags & FLG_OF_RELOBJ)) 133 if (ofl->ofl_flags & FLG_OF_RELOBJ) 140 for (sav = avl_first(&ofl->ofl_symavl); sav; 141 sav = AVL_NEXT(&ofl->ofl_symavl, sav)) { 187 ld_ent_check(Ofl_desc * ofl) argument 199 for (APLIST_TRAVERSE(ofl->ofl_ents, ndx, enp)) { 213 ld_eprintf(ofl, ERR_WARNIN [all...] |
H A D | unwind.c | 319 ld_unwind_make_hdr(Ofl_desc *ofl) argument 321 int bswap = (ofl->ofl_flags1 & FLG_OF1_ENCDIFF) != 0; 334 if (ofl->ofl_unwind == NULL) 344 elfdata->d_version = ofl->ofl_dehdr->e_version; 365 if ((ofl->ofl_unwindhdr = ld_place_section(ofl, isp, NULL, 375 for (APLIST_TRAVERSE(ofl->ofl_unwind, idx1, osp)) { 421 ld_eprintf(ofl, ERR_FATAL, 487 ld_unwind_populate_hdr(Ofl_desc *ofl) argument 499 int bswap = (ofl 773 ld_unwind_register(Os_desc *osp, Ofl_desc * ofl) argument [all...] |
H A D | groups.c | 42 gpavl_loaded(Ofl_desc *ofl, Group_desc *gdp) argument 51 if ((avlt = ofl->ofl_groups) == NULL) { 56 ofl->ofl_groups = avlt; 88 ld_get_group(Ofl_desc *ofl, Is_desc *isp) argument 116 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_ELF_NOGROUPSECT), 122 ld_group_process(Is_desc *gisc, Ofl_desc *ofl) argument 139 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_FIL_INVSHLINK), 145 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_FIL_INVSHENTSIZE), 162 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_FIL_INVSHINFO), 217 ld_eprintf(ofl, ERR_FATA [all...] |
H A D | map_support.c | 353 Ofl_desc *ofl = mf->mf_ofl; local 355 for (APLIST_TRAVERSE(ofl->ofl_segs, idx, sgp2)) 438 Ofl_desc *ofl = mf->mf_ofl; local 470 if ((sdp = ld_sym_find(symname, SYM_NOHASH, &where, ofl)) == NULL) { 479 DBG_CALL(Dbg_map_size_new(ofl->ofl_lml, symname, 483 if ((sdp = ld_sym_enter(symname, sym, hval, ifl, ofl, 0, 488 DBG_CALL(Dbg_map_symbol(ofl, sdp)); 500 DBG_CALL(Dbg_map_size_old(ofl, sdp, 555 Ofl_desc *ofl = mf->mf_ofl; local 571 for (APLIST_TRAVERSE(ofl 611 Ofl_desc *ofl = mf->mf_ofl; local 720 Ofl_desc *ofl = mf->mf_ofl; local 814 Ofl_desc *ofl = mf->mf_ofl; local 1060 Ofl_desc *ofl = mf->mf_ofl; local [all...] |
H A D | entry.c | 308 * ofl - Output descriptor 315 ld_seg_lookup(Ofl_desc *ofl, const char *name, avl_index_t *where) argument 320 return (avl_find(&ofl->ofl_segs_avl, &sg, where)); 340 ld_ent_lookup(Ofl_desc *ofl, const char *name, avl_index_t *where) argument 345 return (avl_find(&ofl->ofl_ents_avl, &en, where)); 353 ld_ent_setup(Ofl_desc *ofl, Xword segalign) argument 364 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_ELF_LIBELF), 372 avl_create(&ofl->ofl_symavl, &ld_sym_avl_comp, sizeof (Sym_avlnode), 376 avl_create(&ofl->ofl_segs_avl, ofl_segs_avl_cmp, 380 avl_create(&ofl [all...] |
H A D | map_core.c | 881 * ofl - Output file descriptor 2150 * ofl - Output file descriptor 2269 ld_map_parse(const char *mapfile, Ofl_desc *ofl) argument 2282 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_STAT), mapfile, 2308 if (!ld_map_parse(path, ofl)) 2314 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_NOTREG), mapfile); 2321 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_OPEN), mapfile, 2335 mf->mf_ofl = ofl; 2342 ld_eprintf(ofl, ERR_FATAL, MSG_INTL(MSG_SYS_READ), mapfile, 2368 DBG_CALL(Dbg_map_parse(ofl 2443 sort_seg_list(Ofl_desc *ofl) argument 2609 ld_map_post_process(Ofl_desc *ofl) argument [all...] |
H A D | debug.c | 84 dbg_setup(Ofl_desc *ofl, const char *options, int phase) argument 93 Name = &ofl->ofl_name; 113 ld_eprintf(ofl, ERR_FATAL,
|
H A D | map.c | 76 Ofl_desc *ofl = mf->mf_ofl; local 81 Dbg_cap_mapfile_title(ofl->ofl_lml, mf->mf_lineno); 82 Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_CURRENT, CA_SUNW_HW_1, 142 DBG_CALL(Dbg_cap_val_entry(ofl->ofl_lml, DBG_STATE_NEW, type, value, 960 Ofl_desc *ofl = mf->mf_ofl; local 1099 ofl->ofl_flags |= FLG_OF_SYMINFO; 1103 ofl->ofl_flags |= FLG_OF_SYMINFO; 1107 ofl->ofl_flags |= FLG_OF_SYMINFO; 1111 ofl->ofl_flags |= FLG_OF_SYMINFO; 1112 ofl 1218 Ofl_desc *ofl = mf->mf_ofl; local [all...] |
H A D | _libld.h | 244 Sym_desc *(* ms_reg_find)(Sym * sym, Ofl_desc * ofl); 552 * Non-TLS symbols are counted by ofl->ofl_dynsymsortcnt, while TLS symbols are 553 * counted by ofl->ofl_dyntlssortcnt. This computation is done inline in 573 _cnt_var = &ofl->ofl_dynsymsortcnt; \ 575 _cnt_var = &ofl->ofl_dyntlssortcnt; \
|
H A D | map_v2.c | 2754 Ofl_desc *ofl = mf->mf_ofl; local 2787 ofl->ofl_flags |= FLG_OF_SYMINFO; 2795 ofl->ofl_flags |= FLG_OF_SYMINFO; 2798 if (!(ofl->ofl_flags & FLG_OF_EXEC)) { 2805 ofl->ofl_flags |= FLG_OF_SYMINFO; 2806 ofl->ofl_dtflags_1 |= DF_1_SYMINTPOSE; 2810 ofl->ofl_flags |= FLG_OF_SYMINFO; 2811 ofl->ofl_flags1 |= 2820 ofl->ofl_flags |= FLG_OF_SYMINFO;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | map.c | 101 Dbg_map_size_old(Ofl_desc *ofl, Sym_desc *sdp, const char *segname, argument 105 Lm_list *lml = ofl->ofl_lml; 118 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, 124 Dbg_map_symbol(Ofl_desc *ofl, Sym_desc *sdp) argument 127 Lm_list *lml = ofl->ofl_lml; 135 ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine, 237 Dbg_map_ent(Lm_list *lml, Ent_desc *enp, Ofl_desc *ofl, Lineno lineno) argument 244 Dbg_ent_entry(lml, ofl 270 Dbg_map_seg(Ofl_desc *ofl, dbg_state_t dbg_state, int ndx, Sg_desc *sgp, Lineno lineno) argument 287 Dbg_map_seg_order(Ofl_desc *ofl, uchar_t osabi, Half mach, dbg_state_t dbg_state, Lineno lineno) argument [all...] |
H A D | got.c | 49 Dbg_got_display(Ofl_desc *ofl, Off goff, int stage, argument 52 Lm_list *lml = ofl->ofl_lml; 53 Gottable *gtp = ofl->ofl_gottable; 60 if (ofl->ofl_gotcnt == m_got_xnumber) 64 dbg_print(lml, MSG_INTL(MSG_GOT_INFO), EC_WORD(ofl->ofl_gotcnt)); 69 qsort((char *)gtp, ofl->ofl_gotcnt, sizeof (Gottable), 77 gptr = (Xword *)ofl->ofl_osgot->os_outdata->d_buf; 79 for (gotndx = 0; gotndx < ofl->ofl_gotcnt; gotndx++, gtp++, gptr++) {
|
H A D | segments.c | 106 Dbg_seg_entry(Ofl_desc *ofl, int ndx, Sg_desc *sgp) argument 111 Dbg_seg_desc_entry(ofl->ofl_lml, ofl->ofl_dehdr->e_ident[EI_OSABI], 112 ofl->ofl_dehdr->e_machine, ndx, sgp, TRUE); 141 Dbg_seg_os(Ofl_desc *ofl, Os_desc *osp, int ndx) argument 144 Lm_list *lml = ofl->ofl_lml; 156 Elf_shdr(lml, ofl->ofl_dehdr->e_ident[EI_OSABI], 157 ofl->ofl_dehdr->e_machine, osp->os_shdr);
|
H A D | sections.c | 324 Dbg_sec_order_list(Ofl_desc *ofl, int flag) argument 329 Lm_list *lml = ofl->ofl_lml; 347 for (APLIST_TRAVERSE(ofl->ofl_ordered, idx1, osp)) {
|
H A D | files.c | 468 Dbg_file_output(Ofl_desc *ofl) argument 483 oname = (char *)ofl->ofl_name; 499 (void) write(fd, ofl->ofl_nehdr, ofl->ofl_size);
|
H A D | relocate.c | 294 Dbg_reloc_out(Ofl_desc *ofl, int caller, Word type, void *reloc, argument 302 Elf_reloc_entry_1(ofl->ofl_lml, caller, MSG_ORIG(MSG_STR_EMPTY), 303 ofl->ofl_dehdr->e_machine, type, reloc, secname, symname,
|