This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Please find attached the patch 'mrenesas.patch.tar.bz2'. This patch fixes the ABI differences between Renesas SH Compiler and GNUSH toolchain (with "-mrenesas" option) for parameters of 'long long' and 'double' data type. This patch fixes the following ABI differences between Renesas SH Compiler and GNUSH ABI with "-mrenesas" option. 1. According to Renesas SH Compiler ABI, arguments of data type 'long long' should be passed and returned on stack for all SH targets. 2. According to Renesas SH Compiler ABI, for SH targets without FPU, GCC library functions should pass arguments of data type 'double' on stack. 3. According to Renesas SH Compiler ABI, if the value returned by the function of data type 'long long' or 'double' is assigned to a local variable, then the local variable should be updated in the function epilogue. ChangeLog 2006-08-08 Gina Verlekar <ginav@kpitcummins.com> * config/sh/sh.c: Modify to fix differences between Renesas compiler ABI and GCC ABI (with "-mrenesas" option) for parameters of 'long long' and 'double' data type. * config/sh/t-sh: Add MULTILIBS for '-mrenesas' option. Regards, Gina Verlekar KPIT Cummins Infosystems Ltd, Pune (INDIA) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C and M32C Series. The following site also offers free technical support to its users. Visit http://www.kpitgnutools.com for details. Latest versions of KPIT GNU tools were released on June 1, 2006. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachment:
mrenesas.patch.tar.bz2
Description: mrenesas.patch.tar.bz2
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |