summaryrefslogtreecommitdiff
path: root/patches/gcc/4.3.3/240-pr25343.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/4.3.3/240-pr25343.patch')
-rw-r--r--patches/gcc/4.3.3/240-pr25343.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/gcc/4.3.3/240-pr25343.patch b/patches/gcc/4.3.3/240-pr25343.patch
new file mode 100644
index 0000000..07d6318
--- /dev/null
+++ b/patches/gcc/4.3.3/240-pr25343.patch
@@ -0,0 +1,26 @@
+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