* 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:
parent
326e32d7ce
commit
afbdbbd78e
|
@ -985,10 +985,10 @@ xcoff_next_symbol_text ()
|
||||||
{"Unexpected symbol continuation", 0, 0};
|
{"Unexpected symbol continuation", 0, 0};
|
||||||
|
|
||||||
bfd_coff_swap_sym_in (current_objfile->obfd, raw_symbol, &symbol);
|
bfd_coff_swap_sym_in (current_objfile->obfd, raw_symbol, &symbol);
|
||||||
if (symbol->n_zeroes)
|
if (symbol.n_zeroes)
|
||||||
complain (&msg);
|
complain (&msg);
|
||||||
else if (symbol->n_sclass & 0x80)
|
else if (symbol.n_sclass & 0x80)
|
||||||
return debugsec + symbol->n_offset;
|
return debugsec + symbol.n_offset;
|
||||||
else
|
else
|
||||||
complain (&msg);
|
complain (&msg);
|
||||||
raw_symbol += coff_data (current_objfile->obfd)->local_symesz;
|
raw_symbol += coff_data (current_objfile->obfd)->local_symesz;
|
||||||
|
|
Loading…
Reference in New Issue