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.
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
the symbol is ".file" and an auxent exists, otherwise use the symbol
itself. Simple enough. */
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
filestring = cs->c_name;