Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/conf For BookE kernels, use -mmultiple and ...



details:   https://anonhg.NetBSD.org/src/rev/b489c37d4f96
branches:  trunk
changeset: 778316:b489c37d4f96
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 21 22:29:21 2012 +0000

description:
For BookE kernels, use -mmultiple and -misel and enable -fstack-protector

diffstat:

 sys/arch/powerpc/conf/Makefile.powerpc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 82e026c50abc -r b489c37d4f96 sys/arch/powerpc/conf/Makefile.powerpc
--- a/sys/arch/powerpc/conf/Makefile.powerpc    Wed Mar 21 21:37:29 2012 +0000
+++ b/sys/arch/powerpc/conf/Makefile.powerpc    Wed Mar 21 22:29:21 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.powerpc,v 1.49 2012/02/01 21:46:02 matt Exp $
+#      $NetBSD: Makefile.powerpc,v 1.50 2012/03/21 22:29:21 matt Exp $
 #
 # Makefile for NetBSD
 #
@@ -43,6 +43,11 @@
 CFLAGS+=       -mno-strict-align
 CFLAGS+=       -Wa,-maltivec
 .endif
+.if ${PPCDIR} == "booke"
+DEFCOPTS=      -O2
+CFLAGS+=       -fstack-protector
+CFLAGS+=       -mmultiple -misel
+.endif
 CFLAGS+=       -msdata=none
 CFLAGS+=       -msoft-float ${CCPUOPTS}
 AFLAGS+=       ${AOPTS} -D_NOREGNAMES



Home | Main Index | Thread Index | Old Index