linux-mips
[Top] [All Lists]

Re: R3000 stack docs

To: Mark and Janice Juszczec <juszczec@hotmail.com>
Subject: Re: R3000 stack docs
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 14 Feb 2003 23:35:53 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <F103oqFXfyY0QUUBPcZ00009516@hotmail.com>; from juszczec@hotmail.com on Fri, Feb 14, 2003 at 07:23:02PM +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <F103oqFXfyY0QUUBPcZ00009516@hotmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
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

<Prev in Thread] Current Thread [Next in Thread>
  • R3000 stack docs, Mark and Janice Juszczec
    • Re: R3000 stack docs, Ralf Baechle <=