crosstool-ng/patches/gcc/4.3.5/240-pr25343.patch

27 lines
842 B
Diff
Raw Normal View History

Original patch from: ../4.3.2/240-pr25343.patch
-= BEGIN original header =-
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/66_all_gcc43-pr25343.patch
http://gcc.gnu.org/PR25343
sniped from Debian
2008-04-27 Roman Zippel <zippel@linux-m68k.org>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __mc68000__.
-= END original header =-
diff -durN gcc-4.3.3.orig/gcc/config/host-linux.c gcc-4.3.3/gcc/config/host-linux.c
--- gcc-4.3.3.orig/gcc/config/host-linux.c 2007-08-02 12:49:31.000000000 +0200
+++ gcc-4.3.3/gcc/config/host-linux.c 2009-01-27 22:25:31.000000000 +0100
@@ -84,6 +84,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