On Wed, Mar 26, 2014 at 08:34:49PM +1030, Alan Modra wrote: > On Tue, Mar 25, 2014 at 10:44:21PM +1100, Anton Blanchard wrote: > > Fix STK_PARAM and use it instead of hardcoding ABIv1 offsets. > > > _GLOBAL(memcpy) > > BEGIN_FTR_SECTION > > - std r3,48(r1) /* save destination pointer for return value */ > > + std r3,STK_PARAM(R3)(r1) /* save destination pointer for return > > value */ > > Here and elsewhere you're assuming you have a parameter save area. > That won't be true with ELFv2 for calls to functions like memcpy.
Nevermind, I see you fixed that with the next patch.. -- Alan Modra Australia Development Lab, IBM _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev