* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section

symbol, and print its aux fields with appropriate labels.
This commit is contained in:
Ken Raeburn 1994-09-06 18:30:06 +00:00
parent 358710a7eb
commit de733a0edf
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,9 @@
Tue Sep 6 14:00:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check
for section symbol, and print its aux fields with appropriate
labels.
* Makefile.in (ALL_MACHINES): Added cpu-arm.o.
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)

View File

@ -1557,8 +1557,20 @@ coff_print_symbol (abfd, filep, symbol, how)
case C_FILE:
fprintf (file, "File ");
break;
default:
case C_STAT:
if (combined->u.syment.n_type == T_NULL)
/* probably a section symbol? */
{
fprintf (file, "AUX scnlen 0x%lx nreloc %d nlnno %d",
(long) auxp->u.auxent.x_scn.x_scnlen,
auxp->u.auxent.x_scn.x_nreloc,
auxp->u.auxent.x_scn.x_nlinno);
break;
}
/* else fall through */
default:
fprintf (file, "AUX lnno %d size 0x%x tagndx %ld",
auxp->u.auxent.x_sym.x_misc.x_lnsz.x_lnno,
auxp->u.auxent.x_sym.x_misc.x_lnsz.x_size,