Lines Matching refs:mainsym
194 symbolS *mainsym = *symbol_get_tc (symp); in shmedia_md_end() local
198 if (mainsym != NULL) in shmedia_md_end()
206 symseg = S_GET_SEGMENT (mainsym); in shmedia_md_end()
214 if (S_GET_OTHER (mainsym) != STO_SH5_ISA32) in shmedia_md_end()
217 symp->sy_value.X_add_symbol = mainsym; in shmedia_md_end()
220 S_SET_SEGMENT (symp, S_GET_SEGMENT (mainsym)); in shmedia_md_end()
222 copy_symbol_attributes (symp, mainsym); in shmedia_md_end()
233 (mainsym)); in shmedia_md_end()
235 symbol_set_frag (symp, symbol_get_frag (mainsym)); in shmedia_md_end()
236 copy_symbol_attributes (symp, mainsym); in shmedia_md_end()
245 if (S_IS_WEAK (mainsym)) in shmedia_md_end()
247 else if (S_IS_EXTERNAL (mainsym)) in shmedia_md_end()
256 if (S_IS_WEAK (mainsym)) in shmedia_md_end()
258 else if (S_IS_EXTERNAL (mainsym)) in shmedia_md_end()
283 symbolS *mainsym = *symbol_get_tc (symp); in shmedia_frob_file_before_adjust() local
285 if (mainsym != NULL in shmedia_frob_file_before_adjust()
286 && S_GET_OTHER (mainsym) != STO_SH5_ISA32 in shmedia_frob_file_before_adjust()
287 && (S_IS_EXTERNAL (mainsym) || S_IS_WEAK (mainsym))) in shmedia_frob_file_before_adjust()
290 symp->sy_value.X_add_symbol = mainsym; in shmedia_frob_file_before_adjust()
298 copy_symbol_attributes (symp, mainsym); in shmedia_frob_file_before_adjust()