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]

[patch committed] SH: Fix build failure on sh64-elf


Hi,

I've checked the attached patch in as an obvious follow-up patch
for SH specific library.  Without it, the build fails on sh64-elf.

Regards,
	kaz
--
2006-11-05  Kaz Kojima  <kkojima@gcc.gnu.org>

	* config/sh/lib1funcs-4-300.asm: Guard entire file with
        #if !__SHMEDIA__ .

diff -uprN ORIG/trunk/gcc/config/sh/lib1funcs-4-300.asm LOCAL/trunk/gcc/config/sh/lib1funcs-4-300.asm
--- ORIG/trunk/gcc/config/sh/lib1funcs-4-300.asm	2006-11-05 10:02:45.000000000 +0900
+++ LOCAL/trunk/gcc/config/sh/lib1funcs-4-300.asm	2006-11-05 19:29:03.000000000 +0900
@@ -29,6 +29,7 @@ Boston, MA 02110-1301, USA.  */
 
 #include "lib1funcs.h"
 
+#if !__SHMEDIA__
 #ifdef L_div_table
 #if defined (__SH3__) || defined (__SH3E__) || defined (__SH4__) || defined (__SH4_SINGLE__) || defined (__SH4_SINGLE_ONLY__) || defined (__SH4_NOFPU__)
 /* This code used shld, thus is not suitable for SH1 / SH2.  */
@@ -936,3 +937,4 @@ LOCAL(div_table_inv):
 #endif /* SH3 / SH4 */
 
 #endif /* L_div_table */
+#endif /* !__SHMEDIA__ */


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