linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add -msoft-float to BOOTCFLAGS
@ 2007-05-15  0:52 Josh Boyer
  2007-05-15  1:08 ` Benjamin Herrenschmidt
  2007-05-15  4:46 ` Segher Boessenkool
  0 siblings, 2 replies; 3+ messages in thread
From: Josh Boyer @ 2007-05-15  0:52 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

We want to avoid any float instructions that may occur in the wrapper that
may be generated if the compiler isn't told not to.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
---
 arch/powerpc/boot/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/arch/powerpc/boot/Makefile
+++ linux-2.6/arch/powerpc/boot/Makefile
@@ -24,7 +24,7 @@ all: $(obj)/zImage
 
 HOSTCC		:= gcc
 BOOTCFLAGS	:= $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem \
-		   $(shell $(CROSS32CC) -print-file-name=include) -fPIC
+		   $(shell $(CROSS32CC) -print-file-name=include) -fPIC -msoft-float
 BOOTAFLAGS	:= -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
 
 ifeq ($(call cc-option-yn, -fstack-protector),y)

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

end of thread, other threads:[~2007-05-15  4:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15  0:52 [PATCH] Add -msoft-float to BOOTCFLAGS Josh Boyer
2007-05-15  1:08 ` Benjamin Herrenschmidt
2007-05-15  4:46 ` Segher Boessenkool

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