mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* coffread.c (process_coff_symbol): Set the symbol's language to
the language of current_subfile.
This commit is contained in:
parent
969107c54a
commit
754dd03107
@ -6,6 +6,8 @@
|
||||
|
||||
* coffread.c (coff_symtab_read): Set language_minimal as the
|
||||
language for the "_globals_" pseudo-file.
|
||||
(process_coff_symbol): Set the symbol's language to the language
|
||||
of current_subfile.
|
||||
|
||||
2009-05-22 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
|
@ -1487,7 +1487,7 @@ process_coff_symbol (struct coff_symbol *cs,
|
||||
memset (sym, 0, sizeof (struct symbol));
|
||||
name = cs->c_name;
|
||||
name = EXTERNAL_NAME (name, objfile->obfd);
|
||||
SYMBOL_LANGUAGE (sym) = language_auto;
|
||||
SYMBOL_LANGUAGE (sym) = current_subfile->language;
|
||||
SYMBOL_SET_NAMES (sym, name, strlen (name), objfile);
|
||||
|
||||
/* default assumptions */
|
||||
|
Loading…
Reference in New Issue
Block a user