Subject: Re: GCC PowerPC register conventions ?

From: Kevin Buettner <[email-masked]>
Date: Thu, 24 Feb 2000 20:12:58 -0700

On Feb 24,  4:50pm, Bijendra Singh wrote:

> I am looking for information on stack contents
> in a C/C++ procedure call to/from PowerPC(eg. 603e )
> assembly code.
> (1) How to organize data in registers when calling
> a C/C++ procedure from PowerPC assembly ?
> (2) Which register holds return value on return from
> a procedure in C/C++ when a C/C++ proc is called
> from ppc assembly.
> (3) Any references/URLs/docs for programming details.

The following documents will answer your questions:

    http://www.mot.com/SPS/ADC/pps/download/8XX/SVR4abippc.pdf
    http://www.mot.com/SPS/ADC/pps/download/8XX/ppceabi.pdf
    http://www.chips.ibm.com/techlib/products/powerpc/manuals/compiler/cover.html

Kevin

--
Kevin Buettner
[email-masked], [email-masked]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/