Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/acorn26/stand GCC 3.3.1 fixes (-ffreestanding, #inc...



details:   https://anonhg.NetBSD.org/src/rev/0202c64646c5
branches:  trunk
changeset: 552184:0202c64646c5
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Sep 21 06:28:37 2003 +0000

description:
GCC 3.3.1 fixes (-ffreestanding, #include <lib/libkern/libkern.h>)

diffstat:

 sys/arch/acorn26/stand/Makefile.buildboot |  3 ++-
 sys/arch/acorn26/stand/boot26/boot26.c    |  3 ++-
 sys/arch/acorn26/stand/lib/srt1.c         |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r d143b6a9f85d -r 0202c64646c5 sys/arch/acorn26/stand/Makefile.buildboot
--- a/sys/arch/acorn26/stand/Makefile.buildboot Sun Sep 21 02:30:18 2003 +0000
+++ b/sys/arch/acorn26/stand/Makefile.buildboot Sun Sep 21 06:28:37 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.5 2003/04/20 14:37:59 bjh21 Exp $
+#      $NetBSD: Makefile.buildboot,v 1.6 2003/09/21 06:28:37 matt Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -22,6 +22,7 @@
 CPPFLAGS+=     -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
 CPPFLAGS+=     -I${.CURDIR}/../lib
 CFLAGS=                -O2
+CFLAGS+=       -ffreestanding
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 
 .if !make(obj) && !make(clean) && !make(cleandir)
diff -r d143b6a9f85d -r 0202c64646c5 sys/arch/acorn26/stand/boot26/boot26.c
--- a/sys/arch/acorn26/stand/boot26/boot26.c    Sun Sep 21 02:30:18 2003 +0000
+++ b/sys/arch/acorn26/stand/boot26/boot26.c    Sun Sep 21 06:28:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot26.c,v 1.2 2002/05/27 20:17:11 bjh21 Exp $ */
+/*     $NetBSD: boot26.c,v 1.3 2003/09/21 06:28:39 matt Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 Ben Harris
@@ -27,6 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <lib/libkern/libkern.h>
 #include <lib/libsa/stand.h>
 #include <lib/libsa/loadfile.h>
 #include <riscoscalls.h>
diff -r d143b6a9f85d -r 0202c64646c5 sys/arch/acorn26/stand/lib/srt1.c
--- a/sys/arch/acorn26/stand/lib/srt1.c Sun Sep 21 02:30:18 2003 +0000
+++ b/sys/arch/acorn26/stand/lib/srt1.c Sun Sep 21 06:28:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt1.c,v 1.1 2002/03/24 15:47:29 bjh21 Exp $   */
+/*     $NetBSD: srt1.c,v 1.2 2003/09/21 06:28:40 matt Exp $    */
 
 /*
  * Copyright (c) 2001 Ben Harris.
@@ -35,6 +35,7 @@
 /* Command-line parsing from i386 doscommain.c */
 
 #include <lib/libsa/stand.h>
+#include <lib/libkern/libkern.h>
 #include <riscoscalls.h>
 
 static int whitespace __P((char));



Home | Main Index | Thread Index | Old Index