Browse Source

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

__mcf_family_51 since gcc 4.5.1.
binutils-2_21-branch
Corinna Vinschen 16 years ago
parent
commit
fdd1a78d07
  1. 5
      libgloss/ChangeLog
  2. 2
      libgloss/m68k/cf-crt1.c

5
libgloss/ChangeLog

@ -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

2
libgloss/m68k/cf-crt1.c

@ -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)

Loading…
Cancel
Save