grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add flags for powerpc in order to avoid exceptions
@ 2014-09-26 19:29 Paulo Flabiano Smorigo
  2014-09-27  5:06 ` Andrei Borzenkov
  0 siblings, 1 reply; 6+ messages in thread
From: Paulo Flabiano Smorigo @ 2014-09-26 19:29 UTC (permalink / raw)
  To: grub-devel

* conf/Makefile.common [COND_powerpc_ieee1275] (CFLAGS_PLATFORM): Add
-msoft-float -mno-vsx -mno-altivec.

Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
---
 ChangeLog            | 7 +++++++
 conf/Makefile.common | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 192e8bc..40eb90c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-09-26  Paulo Flabiano Smorigo  <pfsmorigo@linux.vnet.ibm.com>
+
+	Add flags for powerpc in order to avoid exceptions
+
+	* conf/Makefile.common [COND_powerpc_ieee1275] (CFLAGS_PLATFORM): Add
+	-msoft-float -mno-vsx -mno-altivec.
+
 2014-09-25  Colin Watson  <cjwatson@ubuntu.com>
 
 	Fix in-tree --platform=none
diff --git a/conf/Makefile.common b/conf/Makefile.common
index 51fbaf9..57c491a 100644
--- a/conf/Makefile.common
+++ b/conf/Makefile.common
@@ -22,6 +22,9 @@ endif
 if COND_arm64
   CFLAGS_PLATFORM += -mcmodel=large
 endif
+if COND_powerpc_ieee1275
+  CFLAGS_PLATFORM += -msoft-float -mno-vsx -mno-altivec
+endif
 
 #FIXME: discover and check XEN headers
 CPPFLAGS_XEN = -I/usr/include
-- 
1.8.1.4


-- 
Paulo Flabiano Smorigo
IBM Linux Technology Center



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-28 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 19:29 [PATCH] Add flags for powerpc in order to avoid exceptions Paulo Flabiano Smorigo
2014-09-27  5:06 ` Andrei Borzenkov
2014-09-29 18:30   ` Andrei Borzenkov
2014-10-08 23:38     ` Paulo Flabiano Smorigo
2014-10-10 16:43       ` Andrei Borzenkov
2014-11-28 19:30       ` Vladimir 'φ-coder/phcoder' Serbinenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).