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: Roland McGrath <roland at redhat dot com>
- To: "Steve Munroe" <sjmunroe at us dot ibm dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, aj at suse dot de, geoffk at geoffk dot org,libc-alpha at sources dot redhat dot com
- Date: Fri, 20 Sep 2002 14:02:54 -0700
- Subject: Re: [PATCH] ppc64 libc-start changes
> Because argc is an int and sizeof(int) != sizeof(long) and powerpc is
> bigendian (I need the lower 32-bits of a 64-bit dword).
>
> I suppose argc = (int)(*(long *__unbounded) stack_on_entry); might work.
All three are equivalent. The cast is implied by the assignment.