From de733a0edf37f2e2f4a7733da66b55a07ef1f804 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 6 Sep 1994 18:30:06 +0000 Subject: [PATCH] * coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section symbol, and print its aux fields with appropriate labels. --- bfd/ChangeLog | 4 ++++ bfd/coffgen.c | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a594663b9d6..4fa9cb021a0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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) diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 1faa423218b..fe72cc34315 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -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, -- 2.30.2