From: David Edelsohn <dje@watson.ibm.com>
To: trevor@ica.net
Cc: LinuxPPC dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: creating EABI stack frames
Date: Fri, 30 Jul 1999 11:12:36 -0400 [thread overview]
Message-ID: <9907301512.AA32890@marc.watson.ibm.com> (raw)
In-Reply-To: Message from trevor <trevor@ica.net> of "Fri, 30 Jul 1999 06:30:01 EDT." <37A17EA6.C3D20B38@ica.net>
Linux/PPC uses SVR4 ABI for PowerPC. Linux/PPC originally was
developed using eABI which is a more restrictive variant of SVR4, but it
has transitioned to standard SVR4. SVR4 and eABI stacks look identical.
For a description of the stack frame, see the file
gcc/config/rs6000.c in the GCC distribution. Just above the function
rs6000_stack_info() is a picture, like the ones in your message, showing
the layout of an AIX, SVR4, and Windows/NT (discontinued) stack on
PowerPC.
The current release of GCC does have some argument alignment
problems and stdarg/varargs is very complicated for SVR4/PPC. The
alignment problems may be fixed in gcc-2.95.1, but I cannot guarantee
that.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
next prev parent reply other threads:[~1999-07-30 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-30 10:30 creating EABI stack frames trevor
1999-07-30 15:12 ` David Edelsohn [this message]
1999-08-23 15:42 ` Michael Meissner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9907301512.AA32890@marc.watson.ibm.com \
--to=dje@watson.ibm.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=trevor@ica.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).