This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] ppc64 libc-start changes
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Steve Munroe <sjmunroe at vnet dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com, aj at suse dot de, geoffk at geoffk dot org, roland at frob dot com
- Date: Fri, 20 Sep 2002 22:35:45 +0200
- Subject: Re: [PATCH] ppc64 libc-start changes
- References: <200209202032.g8KKW9Q28889@brule.rchland.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 20, 2002 at 03:32:09PM -0500, Steve Munroe wrote:
> 2002-09-20 Steven Munroe <sjmunroe@us.ibm.com>
>
> * sysdeps/powerpc/elf/libc-start.c: Stack references must be
> double word aligned for powerpc64. Remove unnecessary ElfW(auxv_t)
> casts.
>
> - argc = *(int *__unbounded) stack_on_entry;
> + /* 32/64-bit agnostic load from stack */
> + temp_argc = *(long *__unbounded) stack_on_entry;
> + argc = (int)temp_argc;
Any reason why argc = *(long *__unbounded) stack_on_entry;
doesn't work?
Jakub