Lines Matching refs:native
720 if (coff_symbol_ptr && coff_symbol_ptr->native)
722 combined_entry_type *s = coff_symbol_ptr->native;
769 if (coff_symbol_ptr && coff_symbol_ptr->native)
772 combined_entry_type *s = coff_symbol_ptr->native;
821 coff_fix_symbol_name (abfd, symbol, native, string_size_p, in coff_fix_symbol_name() argument
825 combined_entry_type *native;
842 if (native->u.syment.n_sclass == C_FILE
843 && native->u.syment.n_numaux > 0)
849 native->u.syment._n._n_n._n_offset =
851 native->u.syment._n._n_n._n_zeroes = 0;
855 strncpy (native->u.syment._n._n_name, ".file", SYMNMLEN);
857 auxent = &(native + 1)->u.auxent;
886 strncpy (native->u.syment._n._n_name, symbol->name, SYMNMLEN);
888 else if (!bfd_coff_symname_in_debug (abfd, &native->u.syment))
890 native->u.syment._n._n_n._n_offset = (*string_size_p
892 native->u.syment._n._n_n._n_zeroes = 0;
928 native->u.syment._n._n_n._n_offset =
930 native->u.syment._n._n_n._n_zeroes = 0;
945 coff_write_symbol (abfd, symbol, native, written, string_size_p, in coff_write_symbol() argument
949 combined_entry_type *native;
955 unsigned int numaux = native->u.syment.n_numaux;
956 int type = native->u.syment.n_type;
957 int class = native->u.syment.n_sclass;
961 if (native->u.syment.n_sclass == C_FILE)
967 native->u.syment.n_scnum = N_DEBUG;
971 native->u.syment.n_scnum = N_ABS;
975 native->u.syment.n_scnum = N_UNDEF;
979 native->u.syment.n_scnum =
983 coff_fix_symbol_name (abfd, symbol, native, string_size_p,
990 bfd_coff_swap_sym_out (abfd, &native->u.syment, buf);
995 if (native->u.syment.n_numaux > 0)
1004 for (j = 0; j < native->u.syment.n_numaux; j++)
1007 &((native + j + 1)->u.auxent),
1011 native->u.syment.n_numaux,
1040 combined_entry_type *native; local
1043 native = &dummy;
1044 native->u.syment.n_type = T_NULL;
1045 native->u.syment.n_flags = 0;
1048 native->u.syment.n_scnum = N_UNDEF;
1049 native->u.syment.n_value = symbol->value;
1053 native->u.syment.n_scnum = N_UNDEF;
1054 native->u.syment.n_value = symbol->value;
1067 native->u.syment.n_scnum =
1069 native->u.syment.n_value = (symbol->value
1072 native->u.syment.n_value += symbol->section->output_section->vma;
1079 native->u.syment.n_flags = bfd_asymbol_bfd (&c->symbol)->flags;
1083 native->u.syment.n_type = 0;
1085 native->u.syment.n_sclass = C_STAT;
1087 native->u.syment.n_sclass = obj_pe (abfd) ? C_NT_WEAK : C_WEAKEXT;
1089 native->u.syment.n_sclass = C_EXT;
1090 native->u.syment.n_numaux = 0;
1092 return coff_write_symbol (abfd, symbol, native, written, string_size_p,
1108 combined_entry_type *native = symbol->native; local
1118 if (native->u.syment.n_numaux)
1120 union internal_auxent *a = &((native + 1)->u.auxent);
1146 lineno[count].u.offset += native->u.syment.n_value;
1161 return coff_write_symbol (abfd, &(symbol->symbol), native, written,
1215 || c_symbol->native == (combined_entry_type *) NULL)
1286 || c_symbol->native == NULL)
1293 &c_symbol->native->u.syment))
1299 else if (c_symbol->native->u.syment.n_sclass == C_FILE
1300 && c_symbol->native->u.syment.n_numaux > 0)
1435 csym = coff_symbol_from (abfd, sym)->native;
1453 coff_symbol_from (abfd, sym)->native = csym = f->e;
1908 new->native = 0;
1930 new->native = (combined_entry_type *) bfd_zalloc (abfd, amt);
1931 if (!new->native)
1948 if (coffsymbol (symbol)->native != NULL
1949 && coffsymbol (symbol)->native->fix_value)
1951 ret->value = coffsymbol (symbol)->native->u.syment.n_value -
1967 if (csym == NULL || csym->native == NULL)
1973 *psyment = csym->native->u.syment;
1975 if (csym->native->fix_value)
1999 || csym->native == NULL
2000 || indx >= csym->native->u.syment.n_numaux)
2006 ent = csym->native + indx + 1;
2047 coffsymbol (symbol)->native ? "n" : "g",
2052 if (coffsymbol (symbol)->native)
2056 combined_entry_type *combined = coffsymbol (symbol)->native;
2180 coffsymbol (symbol)->native ? "n" : "g",
2352 if (coff->native)
2354 combined_entry_type *s = coff->native;
2449 else if (csym->native == NULL)
2456 combined_entry_type * native; local
2457 bfd_size_type amt = sizeof (* native);
2459 native = (combined_entry_type *) bfd_zalloc (abfd, amt);
2460 if (native == NULL)
2463 native->u.syment.n_type = T_NULL;
2464 native->u.syment.n_sclass = class;
2468 native->u.syment.n_scnum = N_UNDEF;
2469 native->u.syment.n_value = symbol->value;
2473 native->u.syment.n_scnum = N_UNDEF;
2474 native->u.syment.n_value = symbol->value;
2478 native->u.syment.n_scnum =
2480 native->u.syment.n_value = (symbol->value
2483 native->u.syment.n_value += symbol->section->output_section->vma;
2487 native->u.syment.n_flags = bfd_asymbol_bfd (& csym->symbol)->flags;
2490 csym->native = native;
2494 csym->native->u.syment.n_sclass = class;