This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: EABI
- From: "Anandkumar, CB IN BLR STS" <anand dot cb at siemens dot com>
- To: "Warlich, Christof" <christof dot warlich at siemens dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Oct 2013 14:54:04 +0530
- Subject: RE: EABI
- Authentication-results: sourceware.org; auth=none
- References: <6D83E89737156549AEA25EF9ED712C5D04EA95 at DEFTHW99EK1MSX dot ww902 dot siemens dot net> <80070575041F1A43B43673DA71C5B0BCBBE2B2EE65 at INBLRK77M1MSX dot in002 dot siemens dot net> <6D83E89737156549AEA25EF9ED712C5D04EADD at DEFTHW99EK1MSX dot ww902 dot siemens dot net>
Hi Chris,
I thought you were asking for basic information. BTW you are right and we are using -eabi for same purpose.
With Regards,
Anand
-----Original Message-----
From: Warlich, Christof
Sent: Thursday, October 17, 2013 1:53 PM
To: Anandkumar, CB IN BLR STS; gcc-help@gcc.gnu.org
Subject: AW: EABI
Hi Anand,
thanks for answering, but this is information that I already found from various internet sources like Wikipedia, Stackoverflow, ....
As I tried to point out in my post, I'm not so much interested in (E)ABI details themselves, but in the effect it has when passing different ABI specifications for _different_ target architectures to the configure scripts of binutils, the C library being used, e.g. glibc and most notable and relevant for this mailing list, gcc, i.e.
the differences for
./configure --target=xxx-mytoolchain-linux-gnu
./configure --target=xxx-mytoolchain-linux-gnueabi
./configure --target=xxx-mytoolchain-linux-eabi
As much as I could find out so far, it seems like -gnueabi only makes a difference for xxx=arm and -eabi makes a difference for xxx=powerpc and xxx=arm, but this is more a guess that I concluded from looking at the related configure and confif.sub scripts for gcc (and binutils and glibc).
So I'd like to confirm if I'm right so far, being interested in i*86, mips*, powerpc and arm, and what might be good naming convention for those architectures where no differences are to be expected for the three cases mentioned above.
Cheers,
Chris
-----Ursprüngliche Nachricht-----
Von: Anandkumar, CB IN BLR STS
Gesendet: Donnerstag, 17. Oktober 2013 09:05
An: Warlich, Christof; gcc-help@gcc.gnu.org
Betreff: RE: EABI
Hi Chris,
Find some information about EABI below I hope this helps you.
The EABI(Embedded Application Binary interface) specifies the standards conventions for file formats, datatypes , register usage, stack frame organization, and function parameter passing for embedded programs which is intended to afford interoperability between conforming software component.
The EABI is optimized for embedded applications.
The most common EABI are POWERPC, ARM and MIPS.
Embedded programs that conform to the EABI gain efficiency in space and time by using the following features:
* minimized stack usage
* relaxed alignment restrictions, optimizing memory usage
* small data areas for RAM data, read-only data, and data around address zero. These reduce code size and improve data access time.
With Regards,
Anand