[gnu.gcc.bug] profiling and register trashing on sun3

paul@UUNET.UU.NET (Paul Hudson) (11/29/88)

gcc doesn't seem to allow for mcount trashing registers like any other
function call. This only matters when profiling a function which returns
a structure on the sun 3, since then a1 contains the address to return
the struct to. I just made FUNCTION_PROFILER push a1, but there must be a neater way.


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