Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 96c201571d5f1ddbc1c78f15a7021865 > files > 27

cross-mipsel-gcc-4.4.0-0.2mnb2.src.rpm

Index: gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2f.c
===================================================================
--- gcc-4.1.3.orig/gcc/testsuite/gcc.c-torture/execute/loop-2f.c
+++ gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2f.c
@@ -20,7 +20,10 @@
 #endif
 #endif
 
-#define MAP_START (void *)0x7fff8000
+/* Don't use 0x7fff8000 as addr >= 0x7fff8000 is invalid
+ * on mips32 platform
+ */
+#define MAP_START (void *)0x7fff0000
 #define MAP_LEN 0x10000
 
 #define OFFSET (MAP_LEN/2 - 2 * sizeof (char));
Index: gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2g.c
===================================================================
--- gcc-4.1.3.orig/gcc/testsuite/gcc.c-torture/execute/loop-2g.c
+++ gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2g.c
@@ -20,7 +20,10 @@
 #endif
 #endif
 
-#define MAP_START (void *)0x7fff8000
+/* Don't use 0x7fff8000 as addr >= 0x7fff8000 is invalid
+ * on mips32 platform
+ */
+#define MAP_START (void *)0x7fff0000
 #define MAP_LEN 0x10000
 
 #define OFFSET (MAP_LEN/2 - 2 * sizeof (char));