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]

Re: sh-elf -m4-nofpu testsuite failures


  In message <Pine.LNX.4.21.0009141838150.32574-100000@mahatma.cygnus.co.uk>you
 write:
  > On the sh, we aren't compiling one of the libfuncs when building the -m4-no
  > fpu
  > multilib.  This patch should fix it.
  > 
  > 
  > Bernd
  > 
  > 	* sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
  > 	* lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__ is defined.
Approved.  Please install.
jeff
  > 
  > Index: sh.h
  > ===================================================================
  > RCS file: /cvs/cvsfiles/devo/gcc/config/sh/sh.h,v
  > retrieving revision 1.193
  > diff -u -p -r1.193 sh.h
  > --- sh.h	2000/09/14 06:13:15	1.193
  > +++ sh.h	2000/09/14 16:39:04
  > @@ -60,7 +60,7 @@ extern int code_for_indirect_jump_scratc
  >  %{m3e:-D__SH3E__} \
  >  %{m4-single-only:-D__SH4_SINGLE_ONLY__} \
  >  %{m4-single:-D__SH4_SINGLE__} \
  > -%{m4-nofpu:-D__sh3__} \
  > +%{m4-nofpu:-D__sh3__ -D__SH4_NOFPU__} \
  >  %{m4:-D__SH4__} \
  >  %{!m1:%{!m2:%{!m3:%{!m3e:%{!m4:%{!m4-single:%{!m4-single-only:%{!m4-nofpu:
  > -D__sh1__}}}}}}}} \
  >  %{mnomacsave:-D__NOMACSAVE__} \
  > Index: lib1funcs.asm
  > ===================================================================
  > RCS file: /cvs/cvsfiles/devo/gcc/config/sh/lib1funcs.asm,v
  > retrieving revision 1.32
  > diff -u -p -r1.32 lib1funcs.asm
  > --- lib1funcs.asm	2000/09/07 04:41:17	1.32
  > +++ lib1funcs.asm	2000/09/14 16:39:04
  > @@ -772,7 +772,7 @@ GLOBAL(movstr):
  >  #endif
  >  
  >  #ifdef L_movstr_i4
  > -#if defined(__SH4__) || defined(__SH4_SINGLE__) || defined(__SH4_SINGLE_ON
  > LY__)
  > +#if defined(__SH4__) || defined(__SH4_SINGLE__) || defined(__SH4_SINGLE_ON
  > LY__) || defined(__SH4_NOFPU__)
  >  	.text
  >  	.global	GLOBAL(movstr_i4_even)
  >  	.global	GLOBAL(movstr_i4_odd)
  > 
  > 



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