Lines Matching defs:nsym

55 sym_null(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
61 sym_visibility_diag(Error err, Sym_desc *sdp, Sym *osym, Sym *nsym,
73 ifl->ifl_name, conv_sym_other(nsym->st_other, &inv_nbuf));
120 sym_visibility(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl)
127 wnvis = nvis = ELF_ST_VISIBILITY(nsym->st_other);
152 (nsym->st_shndx != SHN_UNDEF) && (wnvis == STV_SINGLETON))
160 (nsym->st_shndx == SHN_UNDEF) && (wovis == STV_SINGLETON))
189 nsym, ifl, ofl);
192 nsym, ifl, ofl);
202 nsym, ifl, ofl);
205 nsym, ifl, ofl);
216 nsym, ifl, ofl);
219 nsym, ifl, ofl);
235 sym_visibility_diag(ERR_WARNING, sdp, osym, nsym,
243 sym_visibility_diag(ERR_WARNING, sdp, osym, nsym,
268 sym_typecheck(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
272 uchar_t ntype = ELF_ST_TYPE(nsym->st_info);
279 (*ld_targ.t_ms.ms_mach_sym_typecheck)(sdp, nsym, ifl, ofl))
300 sym_mach_check(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
307 (void) (*ld_targ.t_ms.ms_mach_sym_typecheck)(sdp, nsym,
316 sym_promote(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
319 Word shndx = nsym->st_shndx;
321 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
348 (ELF_ST_BIND(nsym->st_info) == STB_GLOBAL))
358 sym_override(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
376 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
390 *osym = *nsym;
400 if (ELF_ST_VISIBILITY(nsym->st_other) == STV_PROTECTED)
415 if (nsym->st_shndx == SHN_UNDEF) {
454 if (((nsym->st_shndx == SHN_UNDEF) ||
456 (nsym->st_shndx == SHN_COMMON))) &&
457 (ELF_ST_BIND(nsym->st_info) == STB_GLOBAL))
510 (nsym->st_shndx != SHN_UNDEF) &&
520 sym_twoundefs(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
526 uchar_t nbind = ELF_ST_BIND(nsym->st_info);
527 uchar_t ntype = ELF_ST_TYPE(nsym->st_info);
540 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
543 sym_typecheck(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
550 sym_tworeals(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
557 uchar_t ntype = ELF_ST_TYPE(nsym->st_info);
558 uchar_t nbind = ELF_ST_BIND(nsym->st_info);
584 (*ld_targ.t_ms.ms_mach_sym_typecheck)(sdp, nsym, ifl, ofl))
600 } else if ((otype == STT_OBJECT) && (osym->st_size != nsym->st_size)) {
606 EC_XWORD(nsym->st_size));
637 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
643 sym_promote(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
652 sym_realtent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
659 uchar_t ntype = ELF_ST_TYPE(nsym->st_info);
660 uchar_t nbind = ELF_ST_BIND(nsym->st_info);
666 uchar_t nvis = ELF_ST_VISIBILITY(nsym->st_other);
686 sym_promote(sdp, nsym, ifl, ofl, ndx,
706 sym_override(sdp, nsym, ifl, ofl, ndx,
713 sym_override(sdp, nsym, ifl, ofl, ndx,
740 } else if (osym->st_size != nsym->st_size) {
750 ((otent && (osym->st_size > nsym->st_size)) ||
751 (ntent && (osym->st_size < nsym->st_size)))) {
755 ifl->ifl_name, EC_XWORD(nsym->st_size));
765 ifl->ifl_name, EC_XWORD(nsym->st_size));
799 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
815 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
821 sym_promote(sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
830 sym_twotent(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl,
835 uchar_t nbind = ELF_ST_BIND(nsym->st_info);
848 (nsym->st_shndx == SHN_X86_64_LCOMMON)) {
855 (nsym->st_shndx == SHN_COMMON)) {
859 sym_override(sdp, nsym, ifl, ofl, ndx, nshndx,
874 if ((osym->st_value != nsym->st_value) &&
879 (nsym->st_shndx == SHN_COMMON)) ||
884 (nsym->st_shndx == SHN_X86_64_LCOMMON))) {
886 (nsym->st_shndx == SHN_COMMON))) {
896 if (osym->st_value < nsym->st_value) {
898 balign = nsym->st_value;
900 salign = nsym->st_value;
918 ifl->ifl_name, EC_XWORD(nsym->st_value));
946 if (osym->st_size != nsym->st_size) {
954 ifl->ifl_name, EC_XWORD(nsym->st_size));
981 if (osym->st_size > nsym->st_size) {
985 sym_override(sdp, nsym, ifl, ofl, ndx,
989 if (osym->st_size < nsym->st_size) {
990 size = (size_t)nsym->st_size;
993 sym_promote(sdp, nsym, ifl, ofl, ndx,
998 sym_override(sdp, nsym, ifl, ofl, ndx,
1004 if (osym->st_size < nsym->st_size) {
1005 sym_override(sdp, nsym, ifl, ofl, ndx,
1032 sym_override(sdp, nsym, ifl, ofl, ndx,
1035 sym_promote(sdp, nsym, ifl, ofl, ndx,
1082 ld_sym_resolve(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, int ndx,
1127 vis = sym_visibility(sdp, nsym, ifl, ofl);
1133 (nsym->st_shndx == SHN_COMMON)) {
1139 (nsym->st_shndx == SHN_X86_64_LCOMMON)) {
1143 } else if ((nsym->st_shndx == SHN_UNDEF) ||
1144 (nsym->st_shndx == SHN_SUNW_IGNORE)) {
1164 osym, nsym, sdp, ifl));
1173 if ((ofl->ofl_flags & FLG_OF_GENMAP) && (nsym->st_shndx != SHN_UNDEF) &&
1182 Action[row][column](sdp, nsym, ifl, ofl, ndx, nshndx, nsdflags);
1222 (nsym->st_shndx != SHN_UNDEF))