This is the mail archive of the libc-alpha@sources.redhat.com 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] ppc64 libc-start changes


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


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