This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: add crt files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]