Re: [Cegcc-devel] Bug in ARM Profiling

2009-10-28 Thread Danny Backx
On Wed, 2009-10-28 at 19:35 +0100, Martin Schaller wrote: > On Mi, 2009-10-28 at 18:34 +0100, Danny Backx wrote: > > On Tue, 2009-10-27, Martin Schaller wrote in private E-mail : > > > I have encountered a bug when compiling with profiling > > > support (-pg). > > > When the first profiled function

Re: [Cegcc-devel] Bug in ARM Profiling

2009-10-28 Thread Danny Backx
On Tue, 2009-10-27, Martin Schaller wrote in private E-mail : > I have encountered a bug when compiling with profiling > support (-pg). > When the first profiled function is called, the program crashes. > Reason is that in src/profile/profile/profile.h, function > _mcount the lr register gets overw