[gnu.gcc.bug] profiling on Sun 386

karl@mote.umb.edu ("Karl Berry.") (06/11/89)

This is for gcc 1.35 on a Sun 386 running SunOS 4.0.1.

Attempting to profile leads to an `undefined symbol mcount'
error from the loader. The /lib/gcrt0.o defines _mcount,
but not mcount. I therefore suspect that the definition of
FUNCTION_PROFILER in tm-i386.h should be changed (or copied
to tm-sun386i.h and changed) to use _mcount instead of just mcount.

karl@umb.edu