Yes, the eABI is a modification of the System V ABI. IIRC (but it has been several years since I worked on PowerPC), the differences between eABI and System V were:
1) eABI used r2 as a secondary small data pointer (System V used just r13), and r0 was used for data centered around location 0; 2) there were some relocations in eABI not in System V (support for 3 small data pointers, section relative relocations) and some relocations in System V not in eABI (shared library support); 3) System V had 16-byte stack alignment and eABI had 8-byte stack alignment. I suspect there may be more changes that I'm forgetting about, and also the 64-bit support probably changes things also. -----Original Message----- From: Yao qi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 9:10 PM To: Meissner, Michael Cc: gcc@gcc.gnu.org Subject: RE: var_args for rs6000 backend >From: "Meissner, Michael" <[EMAIL PROTECTED]> >To: "Yao Qi qi" <[EMAIL PROTECTED]> >CC: gcc@gcc.gnu.org >Subject: RE: var_args for rs6000 backend >Date: Wed, 7 Sep 2005 13:11:50 -0400 > >There was also a PowerPC NT ABI at one point, but since Windows NT on >PowerPC was stillborn, it was removed. > >My point was if you are working on the ABI functions, you need to make >sure that the other ABIs (AIX, Darwin) don't get broken by any changes >you make (presumably you will make sure that you don't break the ABI >you are working on). There are some subtle differences by the way >between the System V (aka Linux) and eABI as well (stack alignment, >number of registers for small data area), but most of those don't show >in the ABI functions you are looking at. Do you mean the System V ABI and eABI is same on the aspect of variable parameters passing? Thanks for your reminding me. I will take care of it and try to avoid breaking other ABIs. Best Regards ---------------- Yao Qi Bejing Institute of Technology _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee(r) Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963