commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2637] 2009-10-16 Colin Watson <address@hidden>


From: Colin Watson
Subject: [2637] 2009-10-16 Colin Watson <address@hidden>
Date: Fri, 16 Oct 2009 15:38:44 +0000

Revision: 2637
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2637
Author:   cjwatson
Date:     2009-10-16 15:38:42 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
2009-10-16  Colin Watson  <address@hidden>

        * 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.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/configure.ac

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-10-15 20:34:27 UTC (rev 2636)
+++ trunk/grub2/ChangeLog       2009-10-16 15:38:42 UTC (rev 2637)
@@ -1,3 +1,10 @@
+2009-10-16  Colin Watson  <address@hidden>
+
+       * 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  <address@hidden>
 
        Make entry text a bit more readable.

Modified: trunk/grub2/configure.ac
===================================================================
--- trunk/grub2/configure.ac    2009-10-15 20:34:27 UTC (rev 2636)
+++ trunk/grub2/configure.ac    2009-10-16 15:38:42 UTC (rev 2637)
@@ -252,6 +252,10 @@
     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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]