This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix gcc.dg/pch/pch for m68k
- From: Roman Zippel <zippel at linux-m68k dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Sep 2007 15:56:45 +0200 (CEST)
- Subject: [PATCH] fix gcc.dg/pch/pch for m68k
Hi,
These tests occasionally fail on m68k, as there is no fixed location
defined for m68k, so this patch adds one.
bye, Roman
200x-xx-xx Roman Zippel <zippel@linux-m68k.org>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __mc68000__.
---
gcc/config/host-linux.c | 2 ++
1 file changed, 2 insertions(+)
Index: gcc/gcc/config/host-linux.c
===================================================================
--- gcc.orig/gcc/config/host-linux.c
+++ gcc/gcc/config/host-linux.c
@@ -85,6 +85,8 @@
# define TRY_EMPTY_VM_SPACE 0x8000000000
#elif defined(__sparc__)
# define TRY_EMPTY_VM_SPACE 0x60000000
+#elif defined(__mc68000__)
+# define TRY_EMPTY_VM_SPACE 0x40000000
#else
# define TRY_EMPTY_VM_SPACE 0
#endif