From 81ee56f362bf9ab626b53c0811d32e6ac12e15df Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 4 Jun 2011 17:51:09 +0000 Subject: [PATCH] Make sure the kernel is compiled with -msdata=none since it uses %r2 and %r13 for other uses. --- sys/arch/powerpc/conf/Makefile.powerpc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/powerpc/conf/Makefile.powerpc b/sys/arch/powerpc/conf/Makefile.powerpc index c28a4cce816e..e98c73a64cb2 100644 --- a/sys/arch/powerpc/conf/Makefile.powerpc +++ b/sys/arch/powerpc/conf/Makefile.powerpc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.powerpc,v 1.44 2011/01/18 01:02:53 matt Exp $ +# $NetBSD: Makefile.powerpc,v 1.45 2011/06/04 17:51:09 matt Exp $ # # Makefile for NetBSD # @@ -43,6 +43,7 @@ CWARNFLAGS+= -Wreturn-type CFLAGS+= -mno-strict-align CFLAGS+= -Wa,-maltivec .endif +CFLAGS+= -msdata=none CFLAGS+= -msoft-float ${CCPUOPTS} AFLAGS+= ${AOPTS} -D_NOREGNAMES