[uClibc]Problems on powerpc with shared libs and odd argument count

Erik Andersen andersen at codepoet.org
Thu Feb 28 03:37:54 UTC 2002


On Wed Feb 27, 2002 at 05:09:41PM -0800, David Schleef wrote:
> 
> I looked through the core file that you sent me.  It appears that
> the kernel is giving ld.so a stack pointer that is not 16-byte
> aligned.  The ABI requires that the stack is 16-byte aliged at
> all times, which apparently is assumed by some code in ld.so.
> Linux-2.4.17 appears to align the stack pointer correctly
> (fs/binfmt_elf.c), especially since it works correctly on my machine.
> What kernel are you using?
> 
> Also, here's a patch to test/args/arg_test.c to check for
> stack alignment:

Applied to CVS

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list