Linux MIPS Architecture development
 help / color / mirror / Atom feed
* R3000 stack docs
@ 2003-02-14 19:23 Mark and Janice Juszczec
  2003-02-14 22:35 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Mark and Janice Juszczec @ 2003-02-14 19:23 UTC (permalink / raw)
  To: linux-mips


Hi folks

I'm trying to compile uClibc fur use on my Helio pda.  There is some kind of 
problem with the stack layout.  The one uClibc expects isn't what my kernel 
is putting together.

I'm trying to find out the stack layout for the
Toshiba TMPR3912AU, 75 MHz., 32-bit RISC processor so I can figure out what 
I'm getting out of the kernel.

There is one in ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf

Does this refer to the stack the kernel loads in binfmt_elf.c and is it the 
correct place to start?

Thanks

Mark

Thanks

Mark



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: R3000 stack docs
  2003-02-14 19:23 R3000 stack docs Mark and Janice Juszczec
@ 2003-02-14 22:35 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2003-02-14 22:35 UTC (permalink / raw)
  To: Mark and Janice Juszczec; +Cc: linux-mips

On Fri, Feb 14, 2003 at 07:23:02PM +0000, Mark and Janice Juszczec wrote:

> There is one in ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf
> 
> Does this refer to the stack the kernel loads in binfmt_elf.c and is it the 
> correct place to start?

The ABI only describes the stack frame used by functions and for their
arguments.  The arguments as passed to an invoked program are not subject
to the ABI documents though obviously the layout is choose such that it
can be passed to the program's main() without costly conversion.  I
therefore suggest you simply read binfmt_elf.c - that part is fairly
straight forward.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-14 22:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 19:23 R3000 stack docs Mark and Janice Juszczec
2003-02-14 22:35 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox