Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/arch/powerpc/conf Pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/d75f28d335d0
branches:  netbsd-6
changeset: 774105:d75f28d335d0
user:      riz <riz%NetBSD.org@localhost>
date:      Thu May 17 18:22:27 2012 +0000

description:
Pull up following revision(s) (requested by matt in ticket #250):
        sys/arch/powerpc/conf/Makefile.powerpc: revision 1.50
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 86f71d338e51 -r d75f28d335d0 sys/arch/powerpc/conf/Makefile.powerpc
--- a/sys/arch/powerpc/conf/Makefile.powerpc    Thu May 17 18:21:07 2012 +0000
+++ b/sys/arch/powerpc/conf/Makefile.powerpc    Thu May 17 18:22:27 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.49.2.1 2012/05/17 18:22:27 riz 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