gprof support

From-SVN: r12688
This commit is contained in:
Stan Cox 1996-09-04 20:07:24 +00:00
parent c110819ef2
commit 98d2830630
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
# Apparently Sun believes that assembler files don't need comments, because no
# single ASCII character is valid (tried them all). So we manually strip out
# the comments with sed. This bug may only be in the Early Access releases.
gcrt1.o: $(srcdir)/config/i386/sol2-gc1.asm
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-gc1.asm >gcrt1.s
$(AS) -o gcrt1.o gcrt1.s
crt1.o: $(srcdir)/config/i386/sol2-c1.asm
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
$(GCC_FOR_TARGET) -c -o crt1.o crt1.s