Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2008 12:00:11 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/119709: commit references a PR
Message-ID:  <200807231200.m6NC0BLa067794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/119709; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807231200.m6NC0BLa067794>