This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: Libgloss doesn't compile for ColdFire (m68k) 51qe


Here is a patch for what I changed.



Index: libgloss/m68k/cf-crt1.c
===================================================================
RCS file: /cvs/src/src/libgloss/m68k/cf-crt1.c,v
retrieving revision 1.3
diff -u -r1.3 cf-crt1.c
--- libgloss/m68k/cf-crt1.c	30 May 2007 18:33:56 -0000	1.3
+++ libgloss/m68k/cf-crt1.c	13 Jun 2008 23:46:24 -0000
@@ -68,7 +68,7 @@
   /* Set the VBR. */
   __asm__ __volatile__ ("movec.l %0,%/vbr" :: "r" (__interrupt_vector));

-#ifndef __mcf_family_5213
+#if !defined(__mcf_family_5213) && !defined(__mcf_family_51qe)
   /* Flush & enable the caches */
 #define CACR_CINV (1 << 24)
 #define CACR_CENB (1 << 31)


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