/titanic_44/usr/src/cmd/sgs/libld/common/ |
H A D | machrel.sparc.c | 54 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() 73 ld_calc_got_offset(Rel_desc * rdesc, Ofl_desc * ofl) in ld_calc_got_offset() 120 ld_mach_eflags(Ehdr *ehdr, Ofl_desc *ofl) in ld_mach_eflags() 172 ld_mach_make_dynamic(Ofl_desc *ofl, size_t *cnt) in ld_mach_make_dynamic() 184 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) in ld_mach_update_odynamic() 199 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 278 plt_far_entry(Ofl_desc *ofl, Xword pltndx, Xword *roffset, Sxword *raddend) in plt_far_entry() 394 plt_entry(Ofl_desc *ofl, Xword pltndx, Xword *roffset, Sxword *raddend) in plt_entry() 504 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 527 plt_entry(Ofl_desc * ofl, Xword pltndx, Xword *roffset, Sxword *raddend) in plt_entry() [all …]
|
H A D | machrel.intel.c | 47 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() 63 ld_calc_got_offset(Rel_desc *rdesc, Ofl_desc *ofl) in ld_calc_got_offset() 107 ld_mach_eflags(Ehdr *ehdr, Ofl_desc *ofl) in ld_mach_eflags() 113 ld_mach_make_dynamic(Ofl_desc *ofl, size_t *cnt) in ld_mach_make_dynamic() 125 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) in ld_mach_update_odynamic() 138 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 163 plt_entry(Ofl_desc * ofl, Word rel_off, Sym_desc * sdp) in plt_entry() 225 ld_perform_outreloc(Rel_desc * orsp, Ofl_desc * ofl, Boolean *remain_seen) in ld_perform_outreloc() 441 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() 723 ld_do_activerelocs(Ofl_desc *ofl) in ld_do_activerelocs() [all …]
|
H A D | files.c | 53 ifl_verify(Ehdr *ehdr, Ofl_desc *ofl, Rej_desc *rej) in ifl_verify() 84 ifl_setup(const char *name, Ehdr *ehdr, Elf *elf, Word flags, Ofl_desc *ofl, in ifl_setup() 164 Word ndx, int ident, Ofl_desc *ofl) in process_section() 238 sf1_cap(Ofl_desc *ofl, Xword val, Ifl_desc *ifl, Is_desc *cisp) in sf1_cap() 371 hw_cap(Ofl_desc *ofl, Xword tag, Xword val) in hw_cap() 419 str_cap(Ofl_desc *ofl, char *pstr, ofl_flag_t flags, Xword tag, Caplist *list) in str_cap() 470 id_cap(Ofl_desc *ofl, char *pstr, oc_flag_t flags) in id_cap() 505 ld_cap_move_symtoobj(Ofl_desc *ofl) in ld_cap_move_symtoobj() 554 get_cap_group(Objcapset *ocapset, Word cnum, Ofl_desc *ofl, Is_desc *isp) in get_cap_group() 695 ld_cap_add_family(Ofl_desc *ofl, Sym_desc *lsdp, Sym_desc *csdp, Cap_group *cgp, in ld_cap_add_family() [all …]
|
H A D | sections.c | 44 remove_local(Ofl_desc *ofl, Sym_desc *sdp, int allow_ldynsym) in remove_local() 70 remove_scoped(Ofl_desc *ofl, Sym_desc *sdp, int allow_ldynsym) in remove_scoped() 95 ignore_sym(Ofl_desc *ofl, Ifl_desc *ifl, Sym_desc *sdp, int allow_ldynsym) in ignore_sym() 204 adjust_os_count(Ofl_desc *ofl) in adjust_os_count() 271 ignore_section_processing(Ofl_desc *ofl) in ignore_section_processing() 426 new_section(Ofl_desc *ofl, Word shtype, const char *shname, Xword entcnt, in new_section() 691 new_section_from_template(Ofl_desc *ofl, Is_desc *tmpl_isp, size_t size, in new_section_from_template() 743 ld_make_bss(Ofl_desc *ofl, Xword size, Xword align, uint_t ident) in ld_make_bss() 819 make_array(Ofl_desc *ofl, Word shtype, const char *sectname, APlist *alp) in make_array() 905 make_comment(Ofl_desc *ofl) in make_comment() [all …]
|
H A D | args.c | 246 ld_rescan_archives(Ofl_desc *ofl, int isgrp, int end_arg_ndx) in ld_rescan_archives() 298 check_flags(Ofl_desc * ofl, int argc) in check_flags() 711 createargv(Ofl_desc *ofl, int *usage) in createargv() 842 guidance_parse(Ofl_desc *ofl, char *optarg) in guidance_parse() 932 assdeflib_parse(Ofl_desc *ofl, char *optarg) in assdeflib_parse() 971 parseopt_pass1(Ofl_desc *ofl, int argc, char **argv, int *usage) in parseopt_pass1() 1714 parseopt_pass2(Ofl_desc *ofl, int argc, char **argv) in parseopt_pass2() 1923 process_flags_com(Ofl_desc *ofl, int argc, char **argv, int *usage) in process_flags_com() 1956 ld_process_flags(Ofl_desc *ofl, int argc, char **argv) in ld_process_flags() 1989 process_files_com(Ofl_desc *ofl, int argc, char **argv) in process_files_com() [all …]
|
H A D | ldlibs.c | 62 compat_YL_YU(Ofl_desc *ofl, char *path, int index) in compat_YL_YU() 91 process_lib_path(Ofl_desc *ofl, APlist **apl, char *path, Boolean subsflag) in process_lib_path() 158 ld_add_libdir(Ofl_desc *ofl, const char *path) in ld_add_libdir() 178 find_lib_name(const char *dir, const char *file, Ofl_desc *ofl, Rej_desc *rej, in find_lib_name() 284 ld_find_library(const char *name, Ofl_desc *ofl) in ld_find_library() 371 ld_lib_setup(Ofl_desc *ofl) in ld_lib_setup()
|
H A D | machrel.amd.c | 74 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() 94 ld_calc_got_offset(Rel_desc *rdesc, Ofl_desc *ofl) in ld_calc_got_offset() 140 ld_mach_eflags(Ehdr *ehdr, Ofl_desc *ofl) in ld_mach_eflags() 146 ld_mach_make_dynamic(Ofl_desc *ofl, size_t *cnt) in ld_mach_make_dynamic() 158 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) in ld_mach_update_odynamic() 171 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 194 plt_entry(Ofl_desc * ofl, Sym_desc * sdp) in plt_entry() 281 ld_perform_outreloc(Rel_desc * orsp, Ofl_desc * ofl, Boolean *remain_seen) in ld_perform_outreloc() 536 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() 751 ld_do_activerelocs(Ofl_desc *ofl) in ld_do_activerelocs() [all …]
|
H A D | support.c | 65 ld_sup_loadso(Ofl_desc *ofl, const char *obj) in ld_sup_loadso() 143 ld_sup_start(Ofl_desc *ofl, const Half etype, const char *caller) in ld_sup_start() 156 ld_sup_atexit(Ofl_desc *ofl, int ecode) in ld_sup_atexit() 169 ld_sup_open(Ofl_desc *ofl, const char **opath, const char **ofile, int *ofd, in ld_sup_open() 231 ld_sup_file(Ofl_desc *ofl, const char *ifile, const Elf_Kind ekind, int flags, in ld_sup_file() 254 ld_sup_input_section(Ofl_desc *ofl, Ifl_desc *ifl, const char *sname, in ld_sup_input_section() 302 ld_sup_section(Ofl_desc *ofl, const char *scn, Shdr *shdr, Word ndx, in ld_sup_section() 316 ld_sup_input_done(Ofl_desc *ofl) in ld_sup_input_done()
|
H A D | relocate.c | 91 is_disp_copied(Ofl_desc *ofl, Copy_rel *crp) in is_disp_copied() 234 Ofl_desc *ofl) in disp_scansyms() 336 ld_disp_errmsg(const char *msg, Rel_desc *rsp, Ofl_desc *ofl) in ld_disp_errmsg() 378 disp_inspect(Ofl_desc *ofl, Rel_desc *rld, Boolean rlocal) in disp_inspect() 475 ld_add_rel_cache(Ofl_desc *ofl, Rel_cache *rcp) in ld_add_rel_cache() 549 ld_add_rel_aux(Ofl_desc *ofl, Rel_desc *rdesc) in ld_add_rel_aux() 604 ld_reloc_enter(Ofl_desc *ofl, Rel_cache *rcp, Rel_desc *rdesc, Word flags) in ld_reloc_enter() 734 ld_reloc_set_aux_osdesc(Ofl_desc *ofl, Rel_desc *rdesc, Os_desc *osp) in ld_reloc_set_aux_osdesc() 742 ld_reloc_set_aux_usym(Ofl_desc *ofl, Rel_desc *rdesc, Sym_desc *sdp) in ld_reloc_set_aux_usym() 795 ld_add_actrel(Word flags, Rel_desc *rsp, Ofl_desc *ofl) in ld_add_actrel() [all …]
|
H A D | machsym.sparc.c | 59 Ofl_desc *ofl) in ld_reg_check_sparc() 127 Ofl_desc *ofl) in ld_mach_sym_typecheck_sparc() 161 ld_is_regsym_sparc(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, in ld_is_regsym_sparc() 224 ld_reg_find_sparc(Sym *sym, Ofl_desc *ofl) in ld_reg_find_sparc() 233 ld_reg_enter_sparc(Sym_desc *sdp, Ofl_desc *ofl) in ld_reg_enter_sparc()
|
H A D | libs.c | 65 process_member(Ar_mem *amp, const char *name, Sym_desc *sdp, Ofl_desc *ofl) in process_member() 187 ld_ar_setup(const char *name, Elf *elf, Ofl_desc *ofl) in ld_ar_setup() 321 ar_member_name(const char *name, Elf *arelf, Ofl_desc *ofl) in ar_member_name() 343 ar_member_path(const char *name, const char *arname, Ofl_desc *ofl) in ar_member_path() 378 ar_input(int fd, Ar_desc *adp, Ofl_desc *ofl, Elf *arelf, in ar_input() 454 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) in ar_extract_bysym() 730 ar_extract_all(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl, in ar_extract_all() 828 ld_process_archive(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl) in ld_process_archive()
|
H A D | resolve.c | 55 sym_null(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_null() 62 Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility_diag() 120 sym_visibility(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility() 268 sym_typecheck(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_typecheck() 300 sym_mach_check(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_mach_check() 316 sym_promote(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_promote() 358 sym_override(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_override() 520 sym_twoundefs(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_twoundefs() 550 sym_tworeals(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_tworeals() 652 sym_realtent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_realtent() [all …]
|
H A D | version.c | 88 vers_visit_children(Ofl_desc *ofl, Ver_desc *vp, int flag) in vers_visit_children() 171 ld_vers_check_defs(Ofl_desc *ofl) in ld_vers_check_defs() 337 ld_vers_check_need(Ofl_desc *ofl) in ld_vers_check_need() 463 vers_select(Ofl_desc *ofl, Ifl_desc *ifl, Ver_desc *vdp, const char *ref) in vers_select() 477 vers_index(Ofl_desc *ofl, Ifl_desc *ifl, int avail) in vers_index() 563 ld_vers_sym_process(Ofl_desc *ofl, Is_desc *isp, Ifl_desc *ifl) in ld_vers_sym_process() 596 ld_vers_def_process(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl) in ld_vers_def_process() 818 ld_vers_need_process(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl) in ld_vers_need_process() 894 ld_vers_promote(Sym_desc *sdp, Word ndx, Ifl_desc *ifl, Ofl_desc *ofl) in ld_vers_promote() 953 ld_vers_base(Ofl_desc *ofl) in ld_vers_base() [all …]
|
H A D | order.c | 169 validate_shf_ordered_dest(Ofl_desc *ofl, Ifl_desc *ifl, Word ndx, in validate_shf_ordered_dest() 271 place_unordered(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info) in place_unordered() 292 ld_process_ordered(Ofl_desc *ofl, Ifl_desc *ifl, Place_path_info *path_info, in ld_process_ordered() 389 ld_sec_validate(Ofl_desc *ofl) in ld_sec_validate() 463 ld_sort_ordered(Ofl_desc *ofl) in ld_sort_ordered()
|
H A D | syms.c | 77 string(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, size_t strsize, in string() 197 ld_sym_nodirect(Is_desc *isp, Ifl_desc *ifl, Ofl_desc *ofl) in ld_sym_nodirect() 291 ld_sym_find(const char *name, Word hash, avl_index_t *where, Ofl_desc *ofl) in ld_sym_find() 328 Ofl_desc *ofl, Word ndx, Word shndx, sd_flag_t sdflags, avl_index_t *where) in ld_sym_enter() 636 sd_flag_t sdflags_u, sd_flag_t sdflags, Ofl_desc *ofl) in sym_add_spec() 845 sym_undef_entry(Ofl_desc *ofl, Sym_desc *sdp, Type type, ofl_flag_t ofl_flag, in sym_undef_entry() 893 ld_sym_spec(Ofl_desc *ofl) in ld_sym_spec() 976 sym_cap_vis(const char *name, Word hash, Sym *sym, Ofl_desc *ofl) in sym_cap_vis() 1020 ld_sym_adjust_vis(Sym_desc *sdp, Ofl_desc *ofl) in ld_sym_adjust_vis() 1087 ensure_sym_local(Ofl_desc *ofl, Sym_desc *sdp, const char *str) in ensure_sym_local() [all …]
|
H A D | place.c | 50 set_addralign(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) in set_addralign() 113 os_attach_isp(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp, int mapfile_sort) in os_attach_isp() 236 add_comdat(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) in add_comdat() 453 ld_place_path_info_init(Ofl_desc *ofl, Ifl_desc *ifl, Place_path_info *info) in ld_place_path_info_init() 607 eh_frame_muldef(Ofl_desc *ofl, Is_desc *isp) in eh_frame_muldef() 660 ld_place_section(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info, in ld_place_section()
|
H A D | groups.c | 42 gpavl_loaded(Ofl_desc *ofl, Group_desc *gdp) in gpavl_loaded() 88 ld_get_group(Ofl_desc *ofl, Is_desc *isp) in ld_get_group() 163 ld_group_process(Is_desc *gisc, Ofl_desc *ofl) in ld_group_process()
|
H A D | sunwmove.c | 36 make_mvsections(Ofl_desc *ofl) in make_mvsections() 96 append_move_desc(Ofl_desc *ofl, Sym_desc *sdp, Move *mvp, Is_desc *isp) in append_move_desc() 169 ld_process_move(Ofl_desc *ofl) in ld_process_move()
|
H A D | ldmain.c | 79 ld_eprintf(Ofl_desc *ofl, Error error, const char *format, ...) in ld_eprintf() 148 Ofl_desc *ofl; in ld_main() local 519 ld_ofl_cleanup(Ofl_desc *ofl) in ld_ofl_cleanup()
|
H A D | update.c | 99 dynsort_dupwarn(Ofl_desc *ofl, Sym *ldynsym, const char *str, in dynsort_dupwarn() 140 update_osym(Ofl_desc *ofl) in update_osym() 2065 update_odynamic(Ofl_desc *ofl) in update_odynamic() 2598 update_overdef(Ofl_desc *ofl) in update_overdef() 2727 update_oversym(Ofl_desc *ofl) in update_oversym() 2749 update_overneed(Ofl_desc *ofl) in update_overneed() 2870 update_osyminfo(Ofl_desc *ofl) in update_osyminfo() 2939 update_oehdr(Ofl_desc * ofl) in update_oehdr() 3001 expand_move(Ofl_desc *ofl, Sym_desc *sdp, Move *mvp) in expand_move() 3056 update_move(Ofl_desc *ofl) in update_move() [all …]
|
H A D | outfile.c | 78 ld_open_outfile(Ofl_desc * ofl) in ld_open_outfile() 185 pad_outfile(Ofl_desc *ofl) in pad_outfile() 287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, in create_outsec() 368 ld_create_outfile(Ofl_desc *ofl) in ld_create_outfile()
|
H A D | exit.c | 43 ld_exit(Ofl_desc *ofl) in ld_exit() 136 ld_init_sighandler(Ofl_desc *ofl) in ld_init_sighandler()
|
/titanic_44/usr/src/cmd/sgs/liblddbg/common/ |
H A D | statistics.c | 64 rel_cache_statistics(Ofl_desc *ofl, const char *title, APlist *alp) in rel_cache_statistics() 95 rel_aux_cache_statistics(Ofl_desc *ofl) in rel_aux_cache_statistics() 120 Dbg_statistics_ld(Ofl_desc *ofl) in Dbg_statistics_ld() 161 Dbg_statistics_ar(Ofl_desc *ofl) in Dbg_statistics_ar()
|
H A D | syms.c | 232 Dbg_syms_entered(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_entered() 283 Dbg_syms_cap_convert(Ofl_desc *ofl, Word ndx, const char *name, Sym *sym) in Dbg_syms_cap_convert() 301 Dbg_syms_cap_local(Ofl_desc *ofl, Word ndx, const char *name, Sym *sym, in Dbg_syms_cap_local() 370 Dbg_syms_ignore(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_ignore() 383 Dbg_syms_old(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_old() 397 Dbg_syms_new(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_new() 413 Dbg_syms_updated(Ofl_desc *ofl, Sym_desc *sdp, const char *name) in Dbg_syms_updated() 442 Dbg_syms_resolving(Ofl_desc *ofl, Word ndx, const char *name, int row, in Dbg_syms_resolving() 467 Dbg_syms_resolved(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_resolved() 484 Dbg_syms_copy_reloc(Ofl_desc *ofl, Sym_desc *sdp, Word align) in Dbg_syms_copy_reloc() [all …]
|
H A D | map.c | 101 Dbg_map_size_old(Ofl_desc *ofl, Sym_desc *sdp, const char *segname, in Dbg_map_size_old() 124 Dbg_map_symbol(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_map_symbol() 237 Dbg_map_ent(Lm_list *lml, Ent_desc *enp, Ofl_desc *ofl, Lineno lineno) in Dbg_map_ent() 270 Dbg_map_seg(Ofl_desc *ofl, dbg_state_t dbg_state, int ndx, Sg_desc *sgp, in Dbg_map_seg() 287 Dbg_map_seg_order(Ofl_desc *ofl, uchar_t osabi, Half mach, in Dbg_map_seg_order()
|