bin/119709: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Wed Jul 23 12:00:11 UTC 2008
The following reply was made to PR bin/119709; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/119709: commit references a PR
Date: Wed, 23 Jul 2008 11:37:43 +0000 (UTC)
luoqi 2008-07-23 11:37:20 UTC
FreeBSD src repository
Modified files:
sys/i386/include profile.h
Log:
SVN rev 180756 on 2008-07-23 11:37:20Z by luoqi
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
Revision Changes Path
1.43 +10 -1 src/sys/i386/include/profile.h
_______________________________________________
cvs-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list