aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffgen.c
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
commit312191a689f177de3ea877078fd0a41da3c0cae7 (patch)
tree1b508326051d27b7f2be69f02eac4420f75342a8 /bfd/coffgen.c
parente723ef7c5fc444f34b42d02bce7dbad3b6a6c2d3 (diff)
downloadgdb-312191a689f177de3ea877078fd0a41da3c0cae7.zip
gdb-312191a689f177de3ea877078fd0a41da3c0cae7.tar.gz
gdb-312191a689f177de3ea877078fd0a41da3c0cae7.tar.bz2
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/coffgen.c')
-rw-r--r--bfd/coffgen.c17
1 files changed, 16 insertions, 1 deletions
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,