Re: [RS6000] Fix PR66020, -mprofile-kernel related

2015-05-06 Thread David Edelsohn
On Wed, May 6, 2015 at 5:50 AM, Alan Modra wrote: > -mprofile-kernel changed recently to not save lr on the stack before > calling _mcount. This means a change is required in the _mcount > used by one of the powerpc64 tests to grab function parameter > registers. While fixing that, I noticed tha

[RS6000] Fix PR66020, -mprofile-kernel related

2015-05-06 Thread Alan Modra
-mprofile-kernel changed recently to not save lr on the stack before calling _mcount. This means a change is required in the _mcount used by one of the powerpc64 tests to grab function parameter registers. While fixing that, I noticed that the asm defined the _mcount label, which is a bit rude;