This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: add crt files
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, libc-alpha at sourceware dot org
- Date: Wed, 8 Feb 2012 12:18:35 -0600
- Subject: Re: [PATCH] powerpc: add crt files
- References: <m27gzxkzac.fsf@igel.home><20120208181220.A3E3A2C0CA@topped-with-meat.com>
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