This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PPC EABI, section explanation


On Mon, May 03, 1999 at 12:10:20PM +0200, Kristian Otnes wrote:
> 
> 1: Does anyone know where I can get a good explanation of the
>    EABI interface, I have looked a bit around and can't say
>    I have the full overview. I suppose I need to know a bit
>    about it due to the compiler register usage and some existing
>    assembly code that will be included.

There is a PostScript file called "System 5 EABI something" on the Motorola
Web server[1] - however, it lacks document structuring and is backwards, so
the only possibility is to print the whole thing :-(

It seems that egcs does not implement some of the features mentioned there -
like R2 (IIRC) pointing to the small data section, I never found a single
instruction using R2 in the output.

>    I am currently working on a ROM based system, so I have to know
>    which are static and not, and what to setup in the crt0 function.

I have found the ecos sources (somewhere at cygnus) to be a good starting
point to look around, since they support MPC8xx and come with linker scripts
for a RAM/ROM setup etc.. - using these, it was no big problem to setup a
toolchain in EABI mode.

cu
Michael

[1] I know, it is almost impossible to find anything on that machine even if
you know it is there :-(
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.