summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-11 15:16:14 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-11 15:16:14 +0000
commit0dd406e624d131a2f8719017fe3309ae66042e3f (patch)
tree5e82314618a3bf54e256112e92fdb155d809fbb8 /bfd
parent6fbe095d4e6c4d67454010d37d7112908f48e99e (diff)
downloadgdb-0dd406e624d131a2f8719017fe3309ae66042e3f.tar.gz
1999-09-11 Donn Terry <donn@interix.com>
* coffgen.c (coff_print_symbol): Fix printing of aux record for function symbols.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/coffgen.c17
2 files changed, 19 insertions, 1 deletions
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 <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 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,