mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 00:32:30 +08:00
* xcoffread.c (read_xcoff_symtab, case C_FILE):
Set main_aux before using it.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
Wed Sep 28 08:59:14 1994 Jim Kingdon (kingdon@cygnus.com)
|
Wed Sep 28 08:59:14 1994 Jim Kingdon (kingdon@cygnus.com)
|
||||||
|
|
||||||
|
* xcoffread.c (read_xcoff_symtab, case C_FILE):
|
||||||
|
Set main_aux before using it.
|
||||||
|
|
||||||
* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.
|
* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.
|
||||||
|
|
||||||
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
|
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
|
||||||
|
@ -1459,7 +1459,11 @@ read_xcoff_symtab (objfile, nsyms)
|
|||||||
the symbol is ".file" and an auxent exists, otherwise use the symbol
|
the symbol is ".file" and an auxent exists, otherwise use the symbol
|
||||||
itself. Simple enough. */
|
itself. Simple enough. */
|
||||||
if (!strcmp (cs->c_name, ".file") && cs->c_naux > 0)
|
if (!strcmp (cs->c_name, ".file") && cs->c_naux > 0)
|
||||||
filestring = coff_getfilename (&main_aux);
|
{
|
||||||
|
bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
|
||||||
|
0, cs->c_naux, &main_aux);
|
||||||
|
filestring = coff_getfilename (&main_aux);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
filestring = cs->c_name;
|
filestring = cs->c_name;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user