Luoqi Chen e8f00dec4b Unbreak cc -pg support on i386. In gcc 4.2, %ecx is used as the arg pointer
when stack realignment is turned on (it is ALWAYS on for main), however
in a profiling build %ecx would be clobbered by mcount(), this would lead
to a segmentation fault when the code tries to reference any argument.
This fix changes mcount() to preserve %ecx.

PR:		bin/119709
Reviewed by:	bde
MFC after:	1 week
2008-07-23 11:37:20 +00:00
..
2008-07-22 14:04:06 +00:00
2008-07-09 17:00:14 +00:00
2008-07-20 15:25:20 +00:00
2008-07-23 07:42:31 +00:00
2008-07-23 11:17:46 +00:00