* configure.ac (TARGET_CFLAGS): Add -mno-mmx -mno-sse -mno-sse2
-mno-3dnow on x86 architectures. Some toolchains enable these
features by default, but they rely on registers that aren't enabled
in GRUB. Thanks to Vladimir Serbinenko for the suggestion.
+2009-10-16 Colin Watson <cjwatson@ubuntu.com>
+
+ * configure.ac (TARGET_CFLAGS): Add -mno-mmx -mno-sse -mno-sse2
+ -mno-3dnow on x86 architectures. Some toolchains enable these
+ features by default, but they rely on registers that aren't enabled
+ in GRUB. Thanks to Vladimir Serbinenko for the suggestion.
+
2009-10-15 Robert Millan <rmh.grub@aybabtu.com>
Make entry text a bit more readable.
else
TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
fi
+
+ # Some toolchains enable these features by default, but they need
+ # registers that aren't set up properly in GRUB.
+ TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow"
fi
# By default, GCC 4.4 generates .eh_frame sections containing unwind