* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family

__mcf_family_51 since gcc 4.5.1.
This commit is contained in:
Corinna Vinschen 2010-07-19 16:57:18 +00:00
parent bee6d43176
commit fdd1a78d07
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-07-19 Rafael Campos <methril@gmail.com>
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
__mcf_family_51 since gcc 4.5.1.
2010-06-29 Nick Clifton <nickc@redhat.com>
* xstormy16/eva_app.ld (.gcc_except_table): Include sections with

View File

@ -68,7 +68,7 @@ void __attribute__ ((weak)) hardware_init_hook (void)
/* Set the VBR. */
__asm__ __volatile__ ("movec.l %0,%/vbr" :: "r" (__interrupt_vector));
#if !defined(__mcf_family_5213) && !defined(__mcf_family_51qe)
#if !defined(__mcf_family_5213) && !defined(__mcf_family_51qe) && !defined(__mcf_family_51)
/* Flush & enable the caches */
#define CACR_CINV (1 << 24)
#define CACR_CENB (1 << 31)