Module Name: src
Committed By: matt
Date: Sat Jun 4 17:51:09 UTC 2011
Modified Files:
src/sys/arch/powerpc/conf: Makefile.powerpc
Log Message:
Make sure the kernel is compiled with -msdata=none since it uses %r2 and %r13
for other uses.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/powerpc/conf/Makefile.powerpc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/conf/Makefile.powerpc
diff -u src/sys/arch/powerpc/conf/Makefile.powerpc:1.44 src/sys/arch/powerpc/conf/Makefile.powerpc:1.45
--- src/sys/arch/powerpc/conf/Makefile.powerpc:1.44 Tue Jan 18 01:02:53 2011
+++ src/sys/arch/powerpc/conf/Makefile.powerpc Sat Jun 4 17:51:09 2011
@@ -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 @@
CFLAGS+= -mno-strict-align
CFLAGS+= -Wa,-maltivec
.endif
+CFLAGS+= -msdata=none
CFLAGS+= -msoft-float ${CCPUOPTS}
AFLAGS+= ${AOPTS} -D_NOREGNAMES