Lines Matching refs:ld_targ

47 #define	IS_PLT(X)	RELTAB_IS_PLT(X, ld_targ.t_mr.mr_reloc_table)
49 RELTAB_IS_GOT_RELATIVE(X, ld_targ.t_mr.mr_reloc_table)
50 #define IS_GOT_PC(X) RELTAB_IS_GOT_PC(X, ld_targ.t_mr.mr_reloc_table)
51 #define IS_GOTPCREL(X) RELTAB_IS_GOTPCREL(X, ld_targ.t_mr.mr_reloc_table)
52 #define IS_GOT_BASED(X) RELTAB_IS_GOT_BASED(X, ld_targ.t_mr.mr_reloc_table)
53 #define IS_GOT_OPINS(X) RELTAB_IS_GOT_OPINS(X, ld_targ.t_mr.mr_reloc_table)
55 RELTAB_IS_GOT_REQUIRED(X, ld_targ.t_mr.mr_reloc_table)
56 #define IS_PC_RELATIVE(X) RELTAB_IS_PC_RELATIVE(X, ld_targ.t_mr.mr_reloc_table)
58 RELTAB_IS_ADD_RELATIVE(X, ld_targ.t_mr.mr_reloc_table)
59 #define IS_REGISTER(X) RELTAB_IS_REGISTER(X, ld_targ.t_mr.mr_reloc_table)
60 #define IS_NOTSUP(X) RELTAB_IS_NOTSUP(X, ld_targ.t_mr.mr_reloc_table)
62 RELTAB_IS_SEG_RELATIVE(X, ld_targ.t_mr.mr_reloc_table)
63 #define IS_EXTOFFSET(X) RELTAB_IS_EXTOFFSET(X, ld_targ.t_mr.mr_reloc_table)
65 RELTAB_IS_SEC_RELATIVE(X, ld_targ.t_mr.mr_reloc_table)
66 #define IS_TLS_INS(X) RELTAB_IS_TLS_INS(X, ld_targ.t_mr.mr_reloc_table)
67 #define IS_TLS_GD(X) RELTAB_IS_TLS_GD(X, ld_targ.t_mr.mr_reloc_table)
68 #define IS_TLS_LD(X) RELTAB_IS_TLS_LD(X, ld_targ.t_mr.mr_reloc_table)
69 #define IS_TLS_IE(X) RELTAB_IS_TLS_IE(X, ld_targ.t_mr.mr_reloc_table)
70 #define IS_TLS_LE(X) RELTAB_IS_TLS_LE(X, ld_targ.t_mr.mr_reloc_table)
71 #define IS_LOCALBND(X) RELTAB_IS_LOCALBND(X, ld_targ.t_mr.mr_reloc_table)
72 #define IS_SIZE(X) RELTAB_IS_SIZE(X, ld_targ.t_mr.mr_reloc_table)
109 ld_targ.t_m.m_r_copy, 0, &inv_buf),
149 ld_targ.t_m.m_mach)) == 0)
168 ld_targ.t_m.m_mach),
197 ld_targ.t_m.m_mach), 0, &inv_buf),
823 arsp->rel_isdesc->is_shdr->sh_type, ld_targ.t_m.m_mach, arsp));
859 if ((gnp = (*ld_targ.t_mr.mr_find_got_ndx)(sdp->sd_GOTndxs,
863 if ((*ld_targ.t_mr.mr_assign_got_ndx)(&(sdp->sd_GOTndxs), NULL,
897 rsp->rel_rtype = ld_targ.t_m.m_r_relative;
899 if ((*ld_targ.t_mr.mr_add_outrel)
911 rsp->rel_rtype = ld_targ.t_m.m_r_glob_dat;
912 if ((*ld_targ.t_mr.mr_add_outrel)(FLG_REL_GOT,
918 if ((*ld_targ.t_mr.mr_assign_got_ndx)(&(sdp->sd_GOTndxs), gnp,
937 switch (ld_targ.t_m.m_mach) {
971 (*ld_targ.t_mr.mr_assign_plt_ndx)(sdp, ofl);
984 rsp->rel_rtype = ld_targ.t_m.m_r_jmp_slot;
985 if ((*ld_targ.t_mr.mr_add_outrel)(FLG_REL_PLT, rsp, ofl) ==
998 rsp->rel_rtype = ld_targ.t_m.m_r_relative;
999 if ((*ld_targ.t_mr.mr_add_outrel)(FLG_REL_ADVAL, rsp, ofl) ==
1046 return ((*ld_targ.t_mr.mr_add_outrel)(NULL, rsp, ofl));
1069 return ((*ld_targ.t_mr.mr_add_outrel)(NULL, rsp, ofl));
1086 return ((*ld_targ.t_mr.mr_add_outrel)(NULL, rsp, ofl));
1220 w2align = ld_targ.t_m.m_word_align * 2;
1222 _sdp->sd_sym->st_value = ld_targ.t_m.m_word_align;
1256 rsp->rel_rtype = ld_targ.t_m.m_r_copy;
1257 if ((*ld_targ.t_mr.mr_add_outrel)(FLG_REL_BSS, rsp, ofl) ==
1276 ld_targ.t_m.m_r_copy, 0, &inv_buf),
1305 return ((*ld_targ.t_mr.mr_add_outrel)(NULL, rsp, ofl));
1388 return ((*ld_targ.t_mr.mr_add_outrel)(oflags, rsp, ofl));
1470 return ((*ld_targ.t_mr.mr_reloc_TLS)(local, rsp, ofl));
1484 DBG_CALL(Dbg_reloc_in(ofl->ofl_lml, ELF_DBG_LD, ld_targ.t_m.m_mach,
1485 ld_targ.t_m.m_rel_sht_type, (void *)reloc, isname, isscnndx,
1641 if (ld_targ.t_mr.mr_reloc_register == NULL) {
1645 return ((*ld_targ.t_mr.mr_reloc_register)(reld, isp, ofl));
1655 if (ld_targ.t_mr.mr_reloc_GOTOP == NULL) {
1659 return ((*ld_targ.t_mr.mr_reloc_GOTOP)(local, reld, ofl));
1666 return ((*ld_targ.t_mr.mr_reloc_local)(reld, ofl));
1676 return ((*ld_targ.t_mr.mr_add_outrel)(NULL, reld, ofl));
1896 if (rtype >= ld_targ.t_m.m_r_num) {
1913 ld_targ.t_m.m_mach, isp->is_shdr->sh_type,
1916 if (ld_targ.t_mr.mr_reloc_register == NULL) {
1920 return ((*ld_targ.t_mr.mr_reloc_register)(reld, isp, ofl));
1947 if (rtype == ld_targ.t_m.m_r_none) {
1949 ld_targ.t_m.m_mach, ld_targ.t_m.m_rel_sht_type,
2180 rsndx = (*ld_targ.t_mr.mr_init_rel)(&reld,
2339 rsndx = (*ld_targ.t_mr.mr_init_rel)(&reld,
2434 ofl->ofl_gotcnt = ld_targ.t_m.m_got_xnumber;
2502 if ((ld_targ.t_mr.mr_allocate_got != NULL) &&
2503 ((*ld_targ.t_mr.mr_allocate_got)(ofl) == S_ERROR))
2590 ld_targ.t_m.m_rel_sht_type));
2599 if ((*ld_targ.t_mr.mr_perform_outreloc)
2605 if ((orsp->rel_rtype == ld_targ.t_m.m_r_relative) ||
2606 (orsp->rel_rtype == ld_targ.t_m.m_r_register)) {
2619 (*ld_targ.t_mr.mr_calc_got_offset)(orsp, ofl);
2621 if (orsp->rel_rtype == ld_targ.t_m.m_r_register) {
2643 if ((*ld_targ.t_mr.mr_perform_outreloc)
2696 if ((*ld_targ.t_mr.mr_do_activerelocs)(ofl) == S_ERROR)
2769 if ((*ld_targ.t_mr.mr_fillin_gotplt)(ofl) == S_ERROR)
2779 ld_targ.t_m.m_got_xnumber, ld_targ.t_m.m_got_entsize));
2816 if ((orsp->rel_rtype == ld_targ.t_m.m_r_register) || (!osp) ||
2860 if ((*ld_targ.t_mr.mr_assign_got_ndx)(&(sdp->sd_GOTndxs), gnp,
2869 if ((*ld_targ.t_mr.mr_add_outrel)(rflags, rsp, ofl) == S_ERROR)
2891 if ((*ld_targ.t_mr.mr_add_outrel)(rflags, rsp, ofl) ==
3002 if (ld_targ.t_m.m_mach ==
3008 if (ld_targ.t_m.m_mach == EM_AMD64)
3041 rep = &ld_targ.t_mr.mr_reloc_table[rsp->rel_rtype];
3078 conv_reloc_type(ld_targ.t_m.m_mach, rsp->rel_rtype,
3106 rep = &ld_targ.t_mr.mr_reloc_table[rsp->rel_rtype];
3141 conv_reloc_type(ld_targ.t_m.m_mach, rsp->rel_rtype,