[gnu.gcc.bug] profiling + debugging + omit-frame-pointer => seg. fault identified

paul@UUNET.UU.NET (Paul Hudson) (12/02/88)

Gcc1.30 on sun-3
When -g is given to gcc it includes /lib/gcrt0.c, even when -pg is also
supplied. The "mcount" in gcrt0.c uses a6 (the frame-pointer) -> bang!
Fix? I don't know. Should mcrt0.c be used? What does gcrt0.c do that
crt0.o doesn't?

Paul Hudson 

Snail mail: Monotype ADG	Email:	...!ukc!acorn!moncam!paul
	    Science Park,		paul@moncam.co.uk
	    Milton Road,	"Sun Microsysytems:
	    Cambridge,		 The Company is Arrogant (TM)"
	    CB4 4FQ