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

Jeff Johnston jjohnstn@redhat.com
Tue Jun 17 12:14:00 GMT 2008


Patch checked in.  I filled in a ChangeLog entry for you.  For future 
patches,
please provide a ChangeLog entry in the note that has the patch.

Regards,

-- Jeff J.

Corrin Meyer wrote:
> 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)
>   



More information about the Newlib mailing list