CVS commit: src/sys/arch/macppc/stand/bootxx

2017-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 15 23:26:46 UTC 2017

Modified Files:
src/sys/arch/macppc/stand/bootxx: Makefile

Log Message:
Avoid missing _restgpr_30_x


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/macppc/stand/bootxx/Makefile

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/macppc/stand/bootxx/Makefile
diff -u src/sys/arch/macppc/stand/bootxx/Makefile:1.16 src/sys/arch/macppc/stand/bootxx/Makefile:1.17
--- src/sys/arch/macppc/stand/bootxx/Makefile:1.16	Thu Apr 20 15:09:29 2017
+++ src/sys/arch/macppc/stand/bootxx/Makefile	Sat Jul 15 19:26:46 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2017/04/20 19:09:29 uwe Exp $
+#	$NetBSD: Makefile,v 1.17 2017/07/15 23:26:46 christos Exp $
 
 S!=	cd ${.CURDIR}/../../../..; pwd
 
@@ -23,7 +23,7 @@ CLEANFILES+=	${PROG}.sym
 
 ${PROG}: ${OBJS}
 	${_MKTARGET_LINK}
-	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS}
+	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${DESTDIR}/usr/lib/libgcc.a
 	${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
 
 .include 



CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar  2 23:15:25 UTC 2018

Modified Files:
src/sys/arch/macppc/stand/bootxx: Makefile

Log Message:
Do not pass libgcc.a to linker as it breaks build with MKGCC=no e.g HEAD-LLVM.
It doesn't appear to be required for the stock GCC build either, having been
able to build a release without it.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/macppc/stand/bootxx/Makefile

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/macppc/stand/bootxx/Makefile
diff -u src/sys/arch/macppc/stand/bootxx/Makefile:1.17 src/sys/arch/macppc/stand/bootxx/Makefile:1.18
--- src/sys/arch/macppc/stand/bootxx/Makefile:1.17	Sat Jul 15 23:26:46 2017
+++ src/sys/arch/macppc/stand/bootxx/Makefile	Fri Mar  2 23:15:25 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2017/07/15 23:26:46 christos Exp $
+#	$NetBSD: Makefile,v 1.18 2018/03/02 23:15:25 sevan Exp $
 
 S!=	cd ${.CURDIR}/../../../..; pwd
 
@@ -23,7 +23,7 @@ CLEANFILES+=	${PROG}.sym
 
 ${PROG}: ${OBJS}
 	${_MKTARGET_LINK}
-	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${DESTDIR}/usr/lib/libgcc.a
+	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS}
 	${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
 
 .include 



CVS commit: src/sys/arch/macppc/stand/bootxx

2020-01-23 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 23 17:23:03 UTC 2020

Modified Files:
src/sys/arch/macppc/stand/bootxx: bootxx.c

Log Message:
Avoid warning about dcbf, icbi first argument.

as(1) is not quite happy when RA=0 argument to these instructions is
spelled as %r0 and emits a warning.  Spell that argument as 0 to
placate it.  Same object code is generated.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/stand/bootxx/bootxx.c

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/macppc/stand/bootxx/bootxx.c
diff -u src/sys/arch/macppc/stand/bootxx/bootxx.c:1.20 src/sys/arch/macppc/stand/bootxx/bootxx.c:1.21
--- src/sys/arch/macppc/stand/bootxx/bootxx.c:1.20	Mon Oct 28 18:13:40 2019
+++ src/sys/arch/macppc/stand/bootxx/bootxx.c	Thu Jan 23 17:23:03 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: bootxx.c,v 1.20 2019/10/28 18:13:40 joerg Exp $	*/
+/*	$NetBSD: bootxx.c,v 1.21 2020/01/23 17:23:03 uwe Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -70,8 +70,8 @@ __asm(
 "	li	%r9,0x40	\n"	/* loop 64 times (for 2048 bytes of bootxx) */
 "	mtctr	%r9		\n"
 "\n"
-"1:	dcbf	%r0,%r8		\n"
-"	icbi	%r0,%r8		\n"
+"1:	dcbf	0,%r8		\n"
+"	icbi	0,%r8		\n"
 "	addi	%r8,%r8,0x20	\n"
 "	bdnz	1b		\n"
 "	sync			\n"



CVS commit: src/sys/arch/macppc/stand/bootxx

2019-01-26 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 27 04:59:12 UTC 2019

Modified Files:
src/sys/arch/macppc/stand/bootxx: Makefile

Log Message:
fix duplicated chunk from merge


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/stand/bootxx/Makefile

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/macppc/stand/bootxx/Makefile
diff -u src/sys/arch/macppc/stand/bootxx/Makefile:1.20 src/sys/arch/macppc/stand/bootxx/Makefile:1.21
--- src/sys/arch/macppc/stand/bootxx/Makefile:1.20	Sun Jan 27 02:08:38 2019
+++ src/sys/arch/macppc/stand/bootxx/Makefile	Sun Jan 27 04:59:12 2019
@@ -1,8 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2019/01/27 02:08:38 pgoyette Exp $
-
-NOLIBCSANITIZER=
-NOSANITIZER=
-NOPIE=
+#	$NetBSD: Makefile,v 1.21 2019/01/27 04:59:12 dholland Exp $
 
 NOLIBCSANITIZER=
 NOSANITIZER=



CVS commit: src/sys/arch/macppc/stand/bootxx

2018-12-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 30 01:54:13 UTC 2018

Modified Files:
src/sys/arch/macppc/stand/bootxx: Makefile

Log Message:
no pie/sanitizers for boot code.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/macppc/stand/bootxx/Makefile

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/macppc/stand/bootxx/Makefile
diff -u src/sys/arch/macppc/stand/bootxx/Makefile:1.18 src/sys/arch/macppc/stand/bootxx/Makefile:1.19
--- src/sys/arch/macppc/stand/bootxx/Makefile:1.18	Fri Mar  2 18:15:25 2018
+++ src/sys/arch/macppc/stand/bootxx/Makefile	Sat Dec 29 20:54:13 2018
@@ -1,4 +1,8 @@
-#	$NetBSD: Makefile,v 1.18 2018/03/02 23:15:25 sevan Exp $
+#	$NetBSD: Makefile,v 1.19 2018/12/30 01:54:13 christos Exp $
+
+NOLIBCSANITIZER=
+NOSANITIZER=
+NOPIE=
 
 S!=	cd ${.CURDIR}/../../../..; pwd