[PATCH] powerpc: add crt files

Ryan S. Arnold ryan.arnold@gmail.com
Wed Feb 8 18:19:00 GMT 2012


On Wed, Feb 8, 2012 at 12:12 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> +     .section .init,"ax",@progbits
>> +     .align  2
>
> Let's stick to .p2align or .balign to make things clearer.
>
>> +_init:
>> +     stwu r1, -16(r1)
>> +     mflr r0
>> +     stw r0, 20(r1)
>> +     stw r30, 8(r1)
>
> I don't really know ppc code, but this looks like it's setting up a frame
> pointer.  Is that really necessary?
>
>
> Thanks,
> Roland

We're taking a look at this exact thing right now.

Ryan



More information about the Libc-alpha mailing list