Re: frv compile error in set_pte()

From: David Howells
Date: Tue Sep 05 2006 - 08:29:37 EST


Adrian Bunk <bunk@xxxxxxxxx> wrote:

> It's a gcc 4.1.1 from ftp.gnu.org.

If you patch it with the attached patch, does it then work?

David

---
Index: gcc/config/frv/frv.h
===================================================================
--- gcc/config/frv/frv.h (revision 116693)
+++ gcc/config/frv/frv.h (working copy)
@@ -1376,6 +1376,9 @@ extern enum reg_class reg_class_from_let
: (C) == 'U' ? EXTRA_CONSTRAINT_FOR_U (VALUE) \
: 0)

+#define EXTRA_MEMORY_CONSTRAINT(C,STR) \
+ ((C) == 'U' || (C) == 'R' || (C) == 'T')
+
#define CONSTRAINT_LEN(C, STR) \
((C) == 'D' ? 3 : DEFAULT_CONSTRAINT_LEN ((C), (STR)))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/