* xcoffread.c (xcoff_next_symbol_text): New function.

(read_xcoff_symtab): Set next_symbol_text_func to it.
	Move raw_symbol outside of read_xcoff_symtab.
This commit is contained in:
Jim Kingdon 1994-03-30 22:38:58 +00:00
parent 326e32d7ce
commit afbdbbd78e
1 changed files with 3 additions and 3 deletions

View File

@ -985,10 +985,10 @@ xcoff_next_symbol_text ()
{"Unexpected symbol continuation", 0, 0};
bfd_coff_swap_sym_in (current_objfile->obfd, raw_symbol, &symbol);
if (symbol->n_zeroes)
if (symbol.n_zeroes)
complain (&msg);
else if (symbol->n_sclass & 0x80)
return debugsec + symbol->n_offset;
else if (symbol.n_sclass & 0x80)
return debugsec + symbol.n_offset;
else
complain (&msg);
raw_symbol += coff_data (current_objfile->obfd)->local_symesz;