aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-07-19 16:57:18 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-07-19 16:57:18 +0000
commitfdd1a78d0774d1bae98b2781d3e5303ed8e0b004 (patch)
treed95e76276bd3fd176f69d2e7fde6c6b8aa8fdd87 /libgloss
parentbee6d43176c85f4d4eda2f829e7179a526a09b46 (diff)
downloadnewlib-fdd1a78d0774d1bae98b2781d3e5303ed8e0b004.zip
newlib-fdd1a78d0774d1bae98b2781d3e5303ed8e0b004.tar.gz
newlib-fdd1a78d0774d1bae98b2781d3e5303ed8e0b004.tar.bz2
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
__mcf_family_51 since gcc 4.5.1.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/m68k/cf-crt1.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 90f8dab..5482f1d 100644
--- a/libgloss/ChangeLog
+++ b/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
diff --git a/libgloss/m68k/cf-crt1.c b/libgloss/m68k/cf-crt1.c
index bfcc32a..3f37ae9 100644
--- a/libgloss/m68k/cf-crt1.c
+++ b/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)