Lines Matching defs:native

675       if (coff_symbol_ptr && coff_symbol_ptr->native)
677 combined_entry_type *s = coff_symbol_ptr->native;
719 if (coff_symbol_ptr && coff_symbol_ptr->native)
722 combined_entry_type *s = coff_symbol_ptr->native;
773 combined_entry_type *native,
790 if (native->u.syment.n_sclass == C_FILE
791 && native->u.syment.n_numaux > 0)
797 native->u.syment._n._n_n._n_offset =
799 native->u.syment._n._n_n._n_zeroes = 0;
803 strncpy (native->u.syment._n._n_name, ".file", SYMNMLEN);
805 auxent = &(native + 1)->u.auxent;
831 strncpy (native->u.syment._n._n_name, symbol->name, SYMNMLEN);
833 else if (!bfd_coff_symname_in_debug (abfd, &native->u.syment))
835 native->u.syment._n._n_n._n_offset = (*string_size_p
837 native->u.syment._n._n_n._n_zeroes = 0;
873 native->u.syment._n._n_n._n_offset =
875 native->u.syment._n._n_n._n_zeroes = 0;
892 combined_entry_type *native,
898 unsigned int numaux = native->u.syment.n_numaux;
899 int type = native->u.syment.n_type;
900 int class = native->u.syment.n_sclass;
904 if (native->u.syment.n_sclass == C_FILE)
909 native->u.syment.n_scnum = N_DEBUG;
912 native->u.syment.n_scnum = N_ABS;
915 native->u.syment.n_scnum = N_UNDEF;
918 native->u.syment.n_scnum =
921 coff_fix_symbol_name (abfd, symbol, native, string_size_p,
928 bfd_coff_swap_sym_out (abfd, &native->u.syment, buf);
933 if (native->u.syment.n_numaux > 0)
942 for (j = 0; j < native->u.syment.n_numaux; j++)
945 &((native + j + 1)->u.auxent),
947 native->u.syment.n_numaux,
974 combined_entry_type *native;
977 native = &dummy;
978 native->u.syment.n_type = T_NULL;
979 native->u.syment.n_flags = 0;
982 native->u.syment.n_scnum = N_UNDEF;
983 native->u.syment.n_value = symbol->value;
987 native->u.syment.n_scnum = N_UNDEF;
988 native->u.syment.n_value = symbol->value;
1001 native->u.syment.n_scnum =
1003 native->u.syment.n_value = (symbol->value
1006 native->u.syment.n_value += symbol->section->output_section->vma;
1013 native->u.syment.n_flags = bfd_asymbol_bfd (&c->symbol)->flags;
1017 native->u.syment.n_type = 0;
1019 native->u.syment.n_sclass = C_STAT;
1021 native->u.syment.n_sclass = obj_pe (abfd) ? C_NT_WEAK : C_WEAKEXT;
1023 native->u.syment.n_sclass = C_EXT;
1024 native->u.syment.n_numaux = 0;
1026 return coff_write_symbol (abfd, symbol, native, written, string_size_p,
1030 /* Write a native symbol to a COFF file. */
1040 combined_entry_type *native = symbol->native;
1051 if (native->u.syment.n_numaux)
1053 union internal_auxent *a = &((native + 1)->u.auxent);
1075 return coff_write_symbol (abfd, &(symbol->symbol), native, written,
1127 || c_symbol->native == (combined_entry_type *) NULL)
1197 || c_symbol->native == NULL)
1203 &c_symbol->native->u.syment))
1208 else if (c_symbol->native->u.syment.n_sclass == C_FILE
1209 && c_symbol->native->u.syment.n_numaux > 0)
1744 new->native = 0;
1767 new->native = bfd_zalloc (abfd, amt);
1768 if (!new->native)
1784 if (coffsymbol (symbol)->native != NULL
1785 && coffsymbol (symbol)->native->fix_value)
1786 ret->value = coffsymbol (symbol)->native->u.syment.n_value -
1800 if (csym == NULL || csym->native == NULL)
1806 *psyment = csym->native->u.syment;
1808 if (csym->native->fix_value)
1831 || csym->native == NULL
1832 || indx >= csym->native->u.syment.n_numaux)
1838 ent = csym->native + indx + 1;
1878 coffsymbol (symbol)->native ? "n" : "g",
1883 if (coffsymbol (symbol)->native)
1887 combined_entry_type *combined = coffsymbol (symbol)->native;
2004 coffsymbol (symbol)->native ? "n" : "g",
2173 if (coff->native)
2175 combined_entry_type *s = coff->native;
2278 else if (csym->native == NULL)
2280 /* This is an alien symbol which no native coff backend data.
2281 We cheat here by creating a fake native entry for it and
2285 combined_entry_type * native;
2286 bfd_size_type amt = sizeof (* native);
2288 native = bfd_zalloc (abfd, amt);
2289 if (native == NULL)
2292 native->u.syment.n_type = T_NULL;
2293 native->u.syment.n_sclass = class;
2297 native->u.syment.n_scnum = N_UNDEF;
2298 native->u.syment.n_value = symbol->value;
2302 native->u.syment.n_scnum = N_UNDEF;
2303 native->u.syment.n_value = symbol->value;
2307 native->u.syment.n_scnum =
2309 native->u.syment.n_value = (symbol->value
2312 native->u.syment.n_value += symbol->section->output_section->vma;
2316 native->u.syment.n_flags = bfd_asymbol_bfd (& csym->symbol)->flags;
2319 csym->native = native;
2322 csym->native->u.syment.n_sclass = class;