[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] ARM mcount fix
- To: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Subject: Re: [patches] ARM mcount fix
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Wed, 2 Apr 2008 11:50:20 +0000 (UTC)
On Thu, 27 Mar 2008, Paul Brook wrote:
> The ARM _mcount implementation assumes that functions with a frame pointer
> also save the link register. Recent gcc generate optimized stack frames, so
> this is no longer true. The attached patch adds explicit clobbers to fix
> this.
>
> Tested on arm-linux-gnueabi.
>
> I don't have svn write access, so please apply if OK. The patch should be
> applicable to all active branches.
>
> Paul
>
> 2008-03-27 Paul Brook <paul@xxxxxxxxxxxxxxxx>
>
> * sysdeps/arm/machine-gmon.h (_mcount): Clobber lr.
The patch is OK. You do have write access.
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx