[PATCH] powerpc: add crt files

Roland McGrath roland@hack.frob.com
Wed Feb 8 18:16:00 GMT 2012


> +	.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



More information about the Libc-alpha mailing list