This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[m32c]Problem in assembly subroutine subdf3
- From: "Naveen H.S." <naveenh at KPITCummins dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Aug 2006 19:25:47 +0530
- Subject: [m32c]Problem in assembly subroutine subdf3
Hi,
I have implemented the assembly routines for m32c targets. These
subroutines are used for arithmetic operations like addition,
subtraction and multiplication of float and double variables.
They are thoroughly tested for double and float data types.
However, while testing the same assembly routines for data
type "long long", I am getting following linker error,
///////////////////////////////////////////////////////////////
/home/kpit/prefix/lib/gcc/m32c-elf/4.2.0/libgcc.a(_addsub_df.o):
In function `__subdf3':
/home/kpit/build/gcc/gcc/dp-bit.c:762: multiple definition of
`___subdf3'
/home/kpit/prefix/lib/gcc/m32c-elf/4.2.0/libgcc.a(__m32c_subdf3.o):
/home/kpit/src/gcc-4.2-20060729/gcc/config/m32c/m32c-lib1.S:
(.text+0x0): first defined here
collect2: ld returned 1 exit status
///////////////////////////////////////////////////////////////
This problem is only for "___subdf3" i.e. for subtraction operation.
Any help regarding the same will be highly appreciated.
Regards,
Naveen.H.S.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~