This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: add crt files
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 8 Feb 2012 10:12:20 -0800 (PST)
- Subject: Re: [PATCH] powerpc: add crt files
- References: <m27gzxkzac.fsf@igel.home>
> + .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