From 312191a689f177de3ea877078fd0a41da3c0cae7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 11 Sep 1999 15:16:14 +0000 Subject: [PATCH] 1999-09-11 Donn Terry * coffgen.c (coff_print_symbol): Fix printing of aux record for function symbols. --- bfd/ChangeLog | 3 +++ bfd/coffgen.c | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 143fbc00a98..dbc93dae71a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 1999-09-11 Donn Terry + * 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 f090f103db4..547a15f883c 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, -- 2.30.2