diff options
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/coffgen.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 143fbc0..dbc93da 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 1999-09-11 Donn Terry <donn@interix.com> + * coffgen.c (coff_print_symbol): Fix printing of aux record for + function symbols. + * syms.c (BSF_DEBUGGING_RELOC): Define. * coffgen.c (fixup_symbol_value): Relocate a symbol which has BSF_DEBUGGING_RELOC set. diff --git a/bfd/coffgen.c b/bfd/coffgen.c index f090f10..547a15f 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -2066,8 +2066,23 @@ coff_print_symbol (abfd, filep, symbol, how) auxp->u.auxent.x_scn.x_comdat); break; } + /* else fall through */ + case C_EXT: + if (ISFCN (combined->u.syment.n_type)) + { + fprintf (file, + _("AUX tagndx %ld ttlsiz 0x%lx lnnos %ld next %ld"), + tagndx, + auxp->u.auxent.x_sym.x_misc.x_fsize, + auxp->u.auxent.x_sym.x_fcnary.x_fcn.x_lnnoptr, + (auxp->fix_end + ? ((long) + (auxp->u.auxent.x_sym.x_fcnary.x_fcn.x_endndx.p + - root)) + : auxp->u.auxent.x_sym.x_fcnary.x_fcn.x_endndx.l)); + 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, |