• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching defs:native

680       if (coff_symbol_ptr && coff_symbol_ptr->native)
682 combined_entry_type *s = coff_symbol_ptr->native;
724 if (coff_symbol_ptr && coff_symbol_ptr->native)
727 combined_entry_type *s = coff_symbol_ptr->native;
778 combined_entry_type *native,
795 if (native->u.syment.n_sclass == C_FILE
796 && native->u.syment.n_numaux > 0)
802 native->u.syment._n._n_n._n_offset =
804 native->u.syment._n._n_n._n_zeroes = 0;
808 strncpy (native->u.syment._n._n_name, ".file", SYMNMLEN);
810 auxent = &(native + 1)->u.auxent;
836 strncpy (native->u.syment._n._n_name, symbol->name, SYMNMLEN);
838 else if (!bfd_coff_symname_in_debug (abfd, &native->u.syment))
840 native->u.syment._n._n_n._n_offset = (*string_size_p
842 native->u.syment._n._n_n._n_zeroes = 0;
878 native->u.syment._n._n_n._n_offset =
880 native->u.syment._n._n_n._n_zeroes = 0;
897 combined_entry_type *native,
903 unsigned int numaux = native->u.syment.n_numaux;
904 int type = native->u.syment.n_type;
905 int class = native->u.syment.n_sclass;
909 if (native->u.syment.n_sclass == C_FILE)
914 native->u.syment.n_scnum = N_DEBUG;
917 native->u.syment.n_scnum = N_ABS;
920 native->u.syment.n_scnum = N_UNDEF;
923 native->u.syment.n_scnum =
926 coff_fix_symbol_name (abfd, symbol, native, string_size_p,
933 bfd_coff_swap_sym_out (abfd, &native->u.syment, buf);
938 if (native->u.syment.n_numaux > 0)
947 for (j = 0; j < native->u.syment.n_numaux; j++)
950 &((native + j + 1)->u.auxent),
952 native->u.syment.n_numaux,
979 combined_entry_type *native;
982 native = &dummy;
983 native->u.syment.n_type = T_NULL;
984 native->u.syment.n_flags = 0;
987 native->u.syment.n_scnum = N_UNDEF;
988 native->u.syment.n_value = symbol->value;
992 native->u.syment.n_scnum = N_UNDEF;
993 native->u.syment.n_value = symbol->value;
1006 native->u.syment.n_scnum =
1008 native->u.syment.n_value = (symbol->value
1011 native->u.syment.n_value += symbol->section->output_section->vma;
1018 native->u.syment.n_flags = bfd_asymbol_bfd (&c->symbol)->flags;
1022 native->u.syment.n_type = 0;
1024 native->u.syment.n_sclass = C_STAT;
1026 native->u.syment.n_sclass = obj_pe (abfd) ? C_NT_WEAK : C_WEAKEXT;
1028 native->u.syment.n_sclass = C_EXT;
1029 native->u.syment.n_numaux = 0;
1031 return coff_write_symbol (abfd, symbol, native, written, string_size_p,
1035 /* Write a native symbol to a COFF file. */
1045 combined_entry_type *native = symbol->native;
1056 if (native->u.syment.n_numaux)
1058 union internal_auxent *a = &((native + 1)->u.auxent);
1080 return coff_write_symbol (abfd, &(symbol->symbol), native, written,
1132 || c_symbol->native == (combined_entry_type *) NULL)
1202 || c_symbol->native == NULL)
1208 &c_symbol->native->u.syment))
1213 else if (c_symbol->native->u.syment.n_sclass == C_FILE
1214 && c_symbol->native->u.syment.n_numaux > 0)
1751 new->native = 0;
1774 new->native = bfd_zalloc (abfd, amt);
1775 if (!new->native)
1791 if (coffsymbol (symbol)->native != NULL
1792 && coffsymbol (symbol)->native->fix_value)
1793 ret->value = coffsymbol (symbol)->native->u.syment.n_value -
1807 if (csym == NULL || csym->native == NULL)
1813 *psyment = csym->native->u.syment;
1815 if (csym->native->fix_value)
1838 || csym->native == NULL
1839 || indx >= csym->native->u.syment.n_numaux)
1845 ent = csym->native + indx + 1;
1885 coffsymbol (symbol)->native ? "n" : "g",
1890 if (coffsymbol (symbol)->native)
1894 combined_entry_type *combined = coffsymbol (symbol)->native;
2011 coffsymbol (symbol)->native ? "n" : "g",
2180 if (coff->native)
2182 combined_entry_type *s = coff->native;
2285 else if (csym->native == NULL)
2287 /* This is an alien symbol which no native coff backend data.
2288 We cheat here by creating a fake native entry for it and
2292 combined_entry_type * native;
2293 bfd_size_type amt = sizeof (* native);
2295 native = bfd_zalloc (abfd, amt);
2296 if (native == NULL)
2299 native->u.syment.n_type = T_NULL;
2300 native->u.syment.n_sclass = class;
2304 native->u.syment.n_scnum = N_UNDEF;
2305 native->u.syment.n_value = symbol->value;
2309 native->u.syment.n_scnum = N_UNDEF;
2310 native->u.syment.n_value = symbol->value;
2314 native->u.syment.n_scnum =
2316 native->u.syment.n_value = (symbol->value
2319 native->u.syment.n_value += symbol->section->output_section->vma;
2323 native->u.syment.n_flags = bfd_asymbol_bfd (& csym->symbol)->flags;
2326 csym->native = native;
2329 csym->native->u.syment.n_sclass = class;