1999-09-11 Donn Terry <donn@interix.com>

* coffgen.c (coff_print_symbol): Fix printing of aux record for
	function symbols.
This commit is contained in:
Ian Lance Taylor 1999-09-11 15:16:14 +00:00
parent e723ef7c5f
commit 312191a689
2 changed files with 19 additions and 1 deletions

View File

@ -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.

View File

@ -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,