Lines Matching refs:asym

661 		       asymbol *asym,  in ecoff_set_symbol_info()  argument
665 asym->the_bfd = abfd; in ecoff_set_symbol_info()
666 asym->value = ecoff_sym->value; in ecoff_set_symbol_info()
667 asym->section = &bfd_debug_section; in ecoff_set_symbol_info()
668 asym->udata.i = 0; in ecoff_set_symbol_info()
682 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
687 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
692 asym->flags = BSF_EXPORT | BSF_WEAK; in ecoff_set_symbol_info()
694 asym->flags = BSF_EXPORT | BSF_GLOBAL; in ecoff_set_symbol_info()
697 asym->flags = BSF_LOCAL; in ecoff_set_symbol_info()
707 asym->flags |= BSF_DEBUGGING; in ecoff_set_symbol_info()
711 asym->flags |= BSF_FUNCTION; in ecoff_set_symbol_info()
720 asym->flags = BSF_LOCAL; in ecoff_set_symbol_info()
723 asym->section = bfd_make_section_old_way (abfd, _TEXT); in ecoff_set_symbol_info()
724 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
727 asym->section = bfd_make_section_old_way (abfd, _DATA); in ecoff_set_symbol_info()
728 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
731 asym->section = bfd_make_section_old_way (abfd, _BSS); in ecoff_set_symbol_info()
732 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
735 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
738 asym->section = bfd_abs_section_ptr; in ecoff_set_symbol_info()
741 asym->section = bfd_und_section_ptr; in ecoff_set_symbol_info()
742 asym->flags = 0; in ecoff_set_symbol_info()
743 asym->value = 0; in ecoff_set_symbol_info()
751 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
754 asym->section = bfd_make_section_old_way (abfd, ".sdata"); in ecoff_set_symbol_info()
755 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
758 asym->section = bfd_make_section_old_way (abfd, ".sbss"); in ecoff_set_symbol_info()
759 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
762 asym->section = bfd_make_section_old_way (abfd, ".rdata"); in ecoff_set_symbol_info()
763 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
766 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
769 if (asym->value > ecoff_data (abfd)->gp_size) in ecoff_set_symbol_info()
771 asym->section = bfd_com_section_ptr; in ecoff_set_symbol_info()
772 asym->flags = 0; in ecoff_set_symbol_info()
790 asym->section = &ecoff_scom_section; in ecoff_set_symbol_info()
791 asym->flags = 0; in ecoff_set_symbol_info()
795 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
798 asym->section = bfd_und_section_ptr; in ecoff_set_symbol_info()
799 asym->flags = 0; in ecoff_set_symbol_info()
800 asym->value = 0; in ecoff_set_symbol_info()
803 asym->section = bfd_make_section_old_way (abfd, ".init"); in ecoff_set_symbol_info()
804 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
809 asym->flags = BSF_DEBUGGING; in ecoff_set_symbol_info()
812 asym->section = bfd_make_section_old_way (abfd, ".fini"); in ecoff_set_symbol_info()
813 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
816 asym->section = bfd_make_section_old_way (abfd, ".rconst"); in ecoff_set_symbol_info()
817 asym->value -= asym->section->vma; in ecoff_set_symbol_info()
838 asym->flags |= BSF_CONSTRUCTOR; in ecoff_set_symbol_info()
895 + internal_esym.asym.iss); in _bfd_ecoff_slurp_symbol_table()
896 if (!ecoff_set_symbol_info (abfd, &internal_esym.asym, in _bfd_ecoff_slurp_symbol_table()
1401 fprintf_vma (file, (bfd_vma) ecoff_ext.asym.value); in _bfd_ecoff_print_symbol()
1402 fprintf (file, " %x %x", (unsigned) ecoff_ext.asym.st, in _bfd_ecoff_print_symbol()
1403 (unsigned) ecoff_ext.asym.sc); in _bfd_ecoff_print_symbol()
1419 &ecoff_ext.asym); in _bfd_ecoff_print_symbol()
1444 fprintf_vma (file, (bfd_vma) ecoff_ext.asym.value); in _bfd_ecoff_print_symbol()
1446 (unsigned) ecoff_ext.asym.st, in _bfd_ecoff_print_symbol()
1447 (unsigned) ecoff_ext.asym.sc, in _bfd_ecoff_print_symbol()
1448 (unsigned) ecoff_ext.asym.index, in _bfd_ecoff_print_symbol()
1453 && ecoff_ext.asym.index != indexNil) in _bfd_ecoff_print_symbol()
1462 indx = ecoff_ext.asym.index; in _bfd_ecoff_print_symbol()
1482 switch (ecoff_ext.asym.st) in _bfd_ecoff_print_symbol()
1495 if (ecoff_ext.asym.sc == scText in _bfd_ecoff_print_symbol()
1496 || ecoff_ext.asym.sc == scInfo) in _bfd_ecoff_print_symbol()
1503 &aux_base[ecoff_ext.asym.index]) in _bfd_ecoff_print_symbol()
1509 if (ECOFF_IS_STAB (&ecoff_ext.asym)) in _bfd_ecoff_print_symbol()
1515 &aux_base[ecoff_ext.asym.index]) in _bfd_ecoff_print_symbol()
1542 if (! ECOFF_IS_STAB (&ecoff_ext.asym)) in _bfd_ecoff_print_symbol()
1851 esym.asym.index = indexNil; in _bfd_ecoff_bfd_copy_private_bfd_data()
2275 esym->asym.st = stGlobal; in ecoff_get_extr()
2276 esym->asym.sc = scAbs; in ecoff_get_extr()
2277 esym->asym.reserved = 0; in ecoff_get_extr()
2278 esym->asym.index = indexNil; in ecoff_get_extr()
2294 if ((esym->asym.sc == scUndefined in ecoff_get_extr()
2295 || esym->asym.sc == scSUndefined) in ecoff_get_extr()
2297 esym->asym.sc = scAbs; in ecoff_get_extr()
3286 switch (esym.asym.st) in ecoff_link_add_externals()
3303 value = esym.asym.value; in ecoff_link_add_externals()
3304 switch (esym.asym.sc) in ecoff_link_add_externals()
3396 name = ssext + esym.asym.iss; in ecoff_link_add_externals()
3421 if (esym.asym.sc == scSUndefined) in ecoff_link_add_externals()
3436 if (h->esym.asym.sc == scCommon) in ecoff_link_add_externals()
3437 h->esym.asym.sc = scSCommon; in ecoff_link_add_externals()
4148 h->esym.asym.value = 0; in ecoff_link_write_external()
4149 h->esym.asym.st = stGlobal; in ecoff_link_write_external()
4153 h->esym.asym.sc = scAbs; in ecoff_link_write_external()
4185 h->esym.asym.sc = section_storage_classes[i].sc; in ecoff_link_write_external()
4190 h->esym.asym.sc = scAbs; in ecoff_link_write_external()
4193 h->esym.asym.reserved = 0; in ecoff_link_write_external()
4194 h->esym.asym.index = indexNil; in ecoff_link_write_external()
4216 if (h->esym.asym.sc != scUndefined in ecoff_link_write_external()
4217 && h->esym.asym.sc != scSUndefined) in ecoff_link_write_external()
4218 h->esym.asym.sc = scUndefined; in ecoff_link_write_external()
4222 if (h->esym.asym.sc == scUndefined in ecoff_link_write_external()
4223 || h->esym.asym.sc == scSUndefined) in ecoff_link_write_external()
4224 h->esym.asym.sc = scAbs; in ecoff_link_write_external()
4225 else if (h->esym.asym.sc == scCommon) in ecoff_link_write_external()
4226 h->esym.asym.sc = scBss; in ecoff_link_write_external()
4227 else if (h->esym.asym.sc == scSCommon) in ecoff_link_write_external()
4228 h->esym.asym.sc = scSBss; in ecoff_link_write_external()
4229 h->esym.asym.value = (h->root.u.def.value in ecoff_link_write_external()
4234 if (h->esym.asym.sc != scCommon in ecoff_link_write_external()
4235 && h->esym.asym.sc != scSCommon) in ecoff_link_write_external()
4236 h->esym.asym.sc = scCommon; in ecoff_link_write_external()
4237 h->esym.asym.value = h->root.u.c.size; in ecoff_link_write_external()