/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | _libld.h | 212 Ofl_desc *); 240 Ifl_desc *, Ofl_desc *); 242 Ifl_desc *, Ofl_desc *); 897 extern void ld_ent_check(Ofl_desc *); 901 extern int ld_exit(Ofl_desc *); 923 extern void ld_map_out(Ofl_desc *); 935 Ofl_desc *); 953 Ofl_desc *, Boolean *); 991 Ofl_desc *); 1015 Ofl_desc *); [all …]
|
H A D | machsym.sparc.h | 56 extern const char *ld_is_regsym_sparc(Ofl_desc *, Ifl_desc *, Sym *, 59 Ifl_desc *, Ofl_desc *); 61 Ifl_desc *, Ofl_desc *); 62 extern int ld_reg_enter_sparc(Sym_desc *, Ofl_desc *); 63 extern Sym_desc * ld_reg_find_sparc(Sym *, Ofl_desc *);
|
H A D | support.c | 65 ld_sup_loadso(Ofl_desc *ofl, const char *obj) in ld_sup_loadso() 142 ld_sup_start(Ofl_desc *ofl, const Half etype, const char *caller) in ld_sup_start() 155 ld_sup_atexit(Ofl_desc *ofl, int ecode) in ld_sup_atexit() 168 ld_sup_open(Ofl_desc *ofl, const char **opath, const char **ofile, int *ofd, in ld_sup_open() 230 ld_sup_file(Ofl_desc *ofl, const char *ifile, const Elf_Kind ekind, int flags, in ld_sup_file() 253 ld_sup_input_section(Ofl_desc *ofl, Ifl_desc *ifl, const char *sname, in ld_sup_input_section() 301 ld_sup_section(Ofl_desc *ofl, const char *scn, Shdr *shdr, Word ndx, in ld_sup_section() 315 ld_sup_input_done(Ofl_desc *ofl) in ld_sup_input_done()
|
H A D | sections.c | 908 make_comment(Ofl_desc *ofl) in make_comment() 939 make_dynamic(Ofl_desc *ofl) in make_dynamic() 1330 ld_make_got(Ofl_desc *ofl) in ld_make_got() 1362 make_interp(Ofl_desc *ofl) in make_interp() 1941 make_plt(Ofl_desc *ofl) in make_plt() 1985 make_hash(Ofl_desc *ofl) in make_hash() 2043 make_symtab(Ofl_desc *ofl) in make_symtab() 2124 make_dynsym(Ofl_desc *ofl) in make_dynsym() 2336 make_strtab(Ofl_desc *ofl) in make_strtab() 2371 make_dynstr(Ofl_desc *ofl) in make_dynstr() [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 | 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 | exit.c | 43 ld_exit(Ofl_desc *ofl) in ld_exit() 85 static Ofl_desc *Ofl = NULL; 136 ld_init_sighandler(Ofl_desc *ofl) in ld_init_sighandler()
|
H A D | machrel.sparc.c | 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() 199 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 504 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl) in ld_calc_plt_addr() 855 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() 1008 gotop_fixups(Ofl_desc *ofl, Rel_desc *arsp) in gotop_fixups() 1067 ld_do_activerelocs(Ofl_desc *ofl) in ld_do_activerelocs() 1617 ld_reloc_local(Rel_desc *rsp, Ofl_desc *ofl) in ld_reloc_local() 1888 ld_assign_got(Ofl_desc *ofl, Sym_desc *sdp) in ld_assign_got() 2035 ld_allocate_got(Ofl_desc * ofl) in ld_allocate_got() [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 | files.c | 183 Word ndx, int ident, Ofl_desc *ofl) in process_section() 531 ld_cap_move_symtoobj(Ofl_desc *ofl) in ld_cap_move_symtoobj() 1321 Word ndx, int ident, Ofl_desc *ofl) in process_input() 1336 Word ndx, int ident, Ofl_desc *ofl) in process_reloc() 1361 Word ndx, int ident, Ofl_desc *ofl) in process_strtab() 1416 Word ndx, int ident, Ofl_desc *ofl) in invalid_section() 1570 Word ndx, int ident, Ofl_desc *ofl) in process_progbits() 2477 Word ndx, Ofl_desc *ofl) in process_exclude() 3495 Ofl_desc *ofl, Rej_desc *rej) in ld_process_mem() 3519 Ofl_desc *ofl, Rej_desc *rej) in process_req_lib() [all …]
|
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() 549 ld_add_rel_aux(Ofl_desc *ofl, Rel_desc *rdesc) in ld_add_rel_aux() 933 ld_reloc_plt(Rel_desc *rsp, Ofl_desc *ofl) in ld_reloc_plt() 1028 reloc_exec(Rel_desc *rsp, Ofl_desc *ofl) in reloc_exec() 1291 reloc_generic(Rel_desc *rsp, Ofl_desc *ofl) in reloc_generic() 2200 reloc_segments(int wr_flag, Ofl_desc *ofl) in reloc_segments() 2393 reloc_movesections(Ofl_desc *ofl) in reloc_movesections() 2418 ld_reloc_init(Ofl_desc *ofl) in ld_reloc_init() 2560 do_sorted_outrelocs(Ofl_desc *ofl) in do_sorted_outrelocs() [all …]
|
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() 322 ar_member_name(const char *name, Elf *arelf, Ofl_desc *ofl) in ar_member_name() 344 ar_member_path(const char *name, const char *arname, Ofl_desc *ofl) in ar_member_path() 379 ar_input(int fd, Ar_desc *adp, Ofl_desc *ofl, Elf *arelf, in ar_input() 455 Ofl_desc *ofl, Boolean *found, Rej_desc *rej) in ar_extract_bysym() 731 ar_extract_all(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl, in ar_extract_all() 826 ld_process_archive(const char *name, int fd, Ar_desc *adp, Ofl_desc *ofl) in ld_process_archive()
|
H A D | machrel.amd.c | 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() 551 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() 765 ld_do_activerelocs(Ofl_desc *ofl) in ld_do_activerelocs() 1248 ld_reloc_local(Rel_desc * rsp, Ofl_desc * ofl) in ld_reloc_local() 1467 ld_assign_plt_ndx(Sym_desc * sdp, Ofl_desc *ofl) in ld_assign_plt_ndx() [all …]
|
H A D | machrel.intel.c | 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() 467 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() 752 ld_do_activerelocs(Ofl_desc *ofl) in ld_do_activerelocs() 1249 ld_reloc_local(Rel_desc * rsp, Ofl_desc * ofl) in ld_reloc_local() 1483 ld_assign_plt_ndx(Sym_desc * sdp, Ofl_desc *ofl) in ld_assign_plt_ndx() [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 | 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() 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() 830 sym_twotent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, [all …]
|
H A D | ldmain.c | 81 ld_eprintf(Ofl_desc *ofl, Error error, const char *format, ...) in ld_eprintf() 148 Ofl_desc *ofl; in ld_main() 159 if ((ofl = libld_calloc(1, sizeof (Ofl_desc))) == NULL) in ld_main() 529 ld_ofl_cleanup(Ofl_desc *ofl) in ld_ofl_cleanup()
|
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 | args.c | 138 static uintptr_t process_files_com(Ofl_desc *, int, char **); 254 ld_rescan_archives(Ofl_desc *ofl, int isgrp, int end_arg_ndx) in ld_rescan_archives() 306 check_flags(Ofl_desc * ofl, int argc) in check_flags() 745 createargv(Ofl_desc *ofl, int *usage) in createargv() 876 guidance_parse(Ofl_desc *ofl, char *optarg) in guidance_parse() 967 assdeflib_parse(Ofl_desc *ofl, char *optarg) in assdeflib_parse() 1821 parseopt_pass2(Ofl_desc *ofl, int argc, char **argv) in parseopt_pass2() 2063 ld_process_flags(Ofl_desc *ofl, int argc, char **argv) in ld_process_flags() 2096 process_files_com(Ofl_desc *ofl, int argc, char **argv) in process_files_com() 2156 ld_process_files(Ofl_desc *ofl, int argc, char **argv) in ld_process_files() [all …]
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | debug.h | 869 extern void Dbg_file_output(Ofl_desc *); 911 extern void Dbg_map_symbol(Ofl_desc *, Sym_desc *); 961 extern void Dbg_sec_order_list(Ofl_desc *, int); 968 extern void Dbg_seg_entry(Ofl_desc *, int, Sg_desc *); 970 extern void Dbg_seg_os(Ofl_desc *, Os_desc *, int); 976 extern void Dbg_statistics_ar(Ofl_desc *); 977 extern void Dbg_statistics_ld(Ofl_desc *); 1001 extern void Dbg_syms_cap_title(Ofl_desc *); 1011 extern void Dbg_syms_ignore(Ofl_desc *, Sym_desc *); 1016 extern void Dbg_syms_old(Ofl_desc *, Sym_desc *); [all …]
|
H A D | libld.h | 1600 extern uintptr_t ld_create_outfile(Ofl_desc *); 1601 extern uintptr_t ld_ent_setup(Ofl_desc *, Xword); 1602 extern uintptr_t ld_init_strings(Ofl_desc *); 1604 extern uintptr_t ld_make_sections(Ofl_desc *); 1605 extern void ld_ofl_cleanup(Ofl_desc *); 1607 size_t, Ofl_desc *, Rej_desc *); 1608 extern uintptr_t ld_reloc_init(Ofl_desc *); 1609 extern uintptr_t ld_reloc_process(Ofl_desc *); 1610 extern uintptr_t ld_sym_validate(Ofl_desc *); 1611 extern uintptr_t ld_update_outfile(Ofl_desc *);
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | syms.c | 225 Dbg_syms_entered(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_entered() 294 Dbg_syms_cap_local(Ofl_desc *ofl, Word ndx, const char *name, Sym *sym, in Dbg_syms_cap_local() 363 Dbg_syms_ignore(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_ignore() 376 Dbg_syms_old(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_old() 390 Dbg_syms_new(Ofl_desc *ofl, Sym *sym, Sym_desc *sdp) in Dbg_syms_new() 406 Dbg_syms_updated(Ofl_desc *ofl, Sym_desc *sdp, const char *name) in Dbg_syms_updated() 435 Dbg_syms_resolving(Ofl_desc *ofl, Word ndx, const char *name, int row, in Dbg_syms_resolving() 460 Dbg_syms_resolved(Ofl_desc *ofl, Sym_desc *sdp) in Dbg_syms_resolved() 477 Dbg_syms_copy_reloc(Ofl_desc *ofl, Sym_desc *sdp, Word align) in Dbg_syms_copy_reloc() 517 Dbg_syms_reduce(Ofl_desc *ofl, int which, Sym_desc *sdp, int idx, in Dbg_syms_reduce() [all …]
|
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 | 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()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 58 Ofl_desc *ofl; in elf_obj_init() 72 if ((ofl = calloc(1, sizeof (Ofl_desc))) == NULL) in elf_obj_init() 188 (Ofl_desc *)ELFPRV(olmp), &rej) == (Ifl_desc *)S_ERROR) { in elf_obj_file() 233 Ofl_desc *ofl = (Ofl_desc *)ELFPRV(lmp); in elf_obj_fini()
|