CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2014-03-22 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sat Mar 22 19:52:21 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
Remove (harmless) debug target committed by accident.

Pointed out by Matthew Green in private e-mail.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/cc1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 20:46:38 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.21
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20	Mon Mar 10 18:57:35 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Mar 15 20:46:38 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2014/03/10 18:57:35 mrg Exp $
+#	$NetBSD: Makefile,v 1.21 2014/03/15 20:46:38 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,6 +21,7 @@ HOSTPROG_CXX=	1
 .include bsd.lib.mk
 
 # Force using C++ for this
+ORIGHOST_CC:=	${HOST_CC}
 HOST_CC:=	${HOST_CXX}
 CC:=		${CXX}
 CFLAGS:=	${CXXFLAGS}
@@ -159,6 +160,8 @@ ${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX
 .include ../Makefile.options
 
 # Yuck, we have to run configure to generate this one...
+# We use ORIGHOST_CC here because GCC's ./configure expects (and
+# depends upon) it.
 CLEANFILES+=	auto-build.h
 HOST_CFLAGS+= -I${.OBJDIR}
 auto-build.h: gmp.h Makefile
@@ -167,7 +170,7 @@ auto-build.h: gmp.h Makefile
 	mkdir .ab  \
 	(cd .ab  \
 		AWK=${TOOL_AWK:Q} \
-		CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
+		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${MAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		gcc_cv_ld=${LD} \



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 23:12:58 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
add missing -DGENERATOR_FILE to HOST_CPPFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.2 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.2	Wed Mar  5 21:37:02 2014
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Sat Mar 15 23:12:58 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2014/03/05 21:37:02 tron Exp $
+#	$NetBSD: Makefile,v 1.3 2014/03/15 23:12:58 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -32,6 +32,7 @@ ${G_common_out_file:T:R}.o:  common/comm
 DPSRCS+=	options.h
 
 HOST_CPPFLAGS+=	-I${BACKENDOBJ} -I${GCCARCH} -I. -I${DIST}/include -I${DIST}/gcc
+HOST_CPPFLAGS+=	-DGENERATOR_FILE
 
 MKPIC:=		no
 MKPICLIB:=	no



CVS commit: src/external/gpl3/gcc/usr.bin/host-libiberty

2014-03-15 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sun Mar 16 00:07:58 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile

Log Message:
G/c extraneous TAB.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.2 src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.2	Sat Mar  1 10:00:52 2014
+++ src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile	Sun Mar 16 00:07:58 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2014/03/01 10:00:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/03/16 00:07:58 uwe Exp $
 
 libiberty/libiberty.a:
 	[ ! -d libiberty ]  mkdir libiberty || true
@@ -14,5 +14,5 @@ cleandir:
 	-rm -rf libiberty
 
 depend dependall all: libiberty/libiberty.a
-	
+
 .include bsd.prog.mk



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 20:46:38 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 23:12:58 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
add missing -DGENERATOR_FILE to HOST_CPPFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/host-libiberty

2014-03-15 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sun Mar 16 00:07:58 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile

Log Message:
G/c extraneous TAB.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/include

2014-03-13 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Thu Mar 13 16:19:24 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
Use -f with cp, for 444 sources.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.6 src/external/gpl3/gcc/usr.bin/include/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.6	Sat Mar  1 10:00:52 2014
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Mar 13 16:19:24 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/13 16:19:24 gdt Exp $
 
 .include ../Makefile.inc
 
@@ -15,7 +15,7 @@ INCS+=	mm_malloc.h
 # XXX we should put this in gcc/config.gcc and regenerate the i386/x86
 # mknative files
 mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
-	cp $ ${.TARGET}
+	cp -f $ ${.TARGET}
 
 CLEANFILES+=	mm_malloc.h
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin/include

2014-03-13 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Thu Mar 13 16:19:24 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
Use -f with cp, for 444 sources.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2014-03-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 10 18:57:36 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.19 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.19	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Mar 10 18:57:35 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.20 2014/03/10 18:57:35 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -170,6 +170,8 @@ auto-build.h: gmp.h Makefile
 		CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${MAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
+		gcc_cv_ld=${LD} \
+		gcc_cv_as=${AS} \
 		${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
 			--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2014-03-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 10 18:57:36 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2014-03-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar  9 17:06:30 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Fix variable name, so BUGURL gets properly defined


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.20 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.21
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.20	Tue Mar  4 09:16:04 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sun Mar  9 17:06:30 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.20 2014/03/04 09:16:04 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.21 2014/03/09 17:06:30 martin Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -65,7 +65,7 @@ DATESTAMPSTR=		\\
 
 # XXX pull this out of our configs
 G_BUGURL=http://www.NetBSD.org/Misc/send-pr.html
-G_BUGURL_s=\${G_BUG_URL}\
+G_BUGURL_s=\${G_BUGURL}\
 G_PKGVERSION=(NetBSD nb2 20140304) 
 G_PKGVERSION_s=\${G_PKGVERSION} \
 



CVS commit: src/external/gpl3/gcc/usr.bin

2014-03-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar  9 17:06:30 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Fix variable name, so BUGURL gets properly defined


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2014-03-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar  4 09:16:04 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
bump local pkg version.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.19 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.20
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.19	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Mar  4 09:16:04 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.19 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.20 2014/03/04 09:16:04 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -66,7 +66,7 @@ DATESTAMPSTR=		\\
 # XXX pull this out of our configs
 G_BUGURL=http://www.NetBSD.org/Misc/send-pr.html
 G_BUGURL_s=\${G_BUG_URL}\
-G_PKGVERSION=(NetBSD nb1 20131213) 
+G_PKGVERSION=(NetBSD nb2 20140304) 
 G_PKGVERSION_s=\${G_PKGVERSION} \
 
 VER_CPPFLAGS=	-DBASEVER=\${BASEVER}\ \



CVS commit: src/external/gpl3/gcc/usr.bin

2014-03-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar  4 09:16:04 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
bump local pkg version.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2013-11-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 28 13:04:35 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
handle with moved mpfr*.h files.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.16 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.17
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.16	Thu Nov 28 12:08:56 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Thu Nov 28 13:04:35 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.16 2013/11/28 12:08:56 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.17 2013/11/28 13:04:35 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -18,8 +18,8 @@ HOST_CPPFLAGS+=	-I${.CURDIR}/..
 
 # Link in the GMP/MPFR/MPC headers since we don't install them
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}/gmp.h gmp.h
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpfr.h mpfr.h
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpf2mpfr.h mpf2mpfr.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src/mpfr.h mpfr.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src/mpf2mpfr.h mpf2mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpc/dist/src/mpc.h mpc.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpc/dist/src/mpc-log.h mpc-log.h
 CPPFLAGS+=	-I.



CVS commit: src/external/gpl3/gcc/usr.bin

2013-11-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 28 13:04:35 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
handle with moved mpfr*.h files.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2013-10-10 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Fri Oct 11 01:20:53 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: defs.mk

Log Message:
remove garbage lines mistakenly included when def.mk generation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.1	Fri Jul 19 22:14:24 2013
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk	Fri Oct 11 01:20:52 2013
@@ -2,15 +2,12 @@
 # Generated from: 	NetBSD: mknative-gcc,v 1.71 2013/06/28 08:30:10 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp 
 #
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_BUILD_EARLY_SUPPORT=
 G_BUILD_ERRORS=build-errors.o
 G_BUILD_PRINT=
 G_BUILD_RTL=build-rtl.o read-rtl.o build-ggc-none.o vec.o min-insn-modes.o gensupport.o build-print-rtl.o
 G_BUILD_SUPPORT=
 G_BUILD_VARRAY=
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_ALL_CFLAGS=  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H
 G_ALL_CPPFLAGS=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include -I${GNUHOSTDIST}/gcc/../libdecnumber -I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber
 G_C_AND_OBJC_OBJS=attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
@@ -45,22 +42,11 @@ G_tm_file_list=options.h ${GNUHOSTDIST}/
 G_build_xm_include_list=auto-build.h ansidecl.h
 G_lang_specs_files=${GNUHOSTDIST}/gcc/cp/lang-specs.h ${GNUHOSTDIST}/gcc/lto/lang-specs.h ${GNUHOSTDIST}/gcc/objc/lang-specs.h
 G_tm_p_include_list=config/m68k/m68k-protos.h tm-preds.h
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_LIB2ADDEHDEP= unwind-dw2-fde.h unwind-dw2-fde.c
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_CXX_OBJS=cp-lang.o stub-objc.o call.o decl.o expr.o pt.o typeck2.o class.o decl2.o error.o lex.o parser.o ptree.o rtti.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o repo.o dump.o optimize.o mangle.o cp-objcp-common.o name-lookup.o cxx-pretty-print.o cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o
 G_CXX_C_OBJS=attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2013-10-10 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Fri Oct 11 01:20:53 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: defs.mk

Log Message:
remove garbage lines mistakenly included when def.mk generation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Aug 22 00:17:48 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.inc
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
src/external/gpl3/gcc/usr.bin/libcpp: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile

Log Message:
Add MACHINE_ARCH's evbearmv5-e[bl] to work


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/libcpp/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.3 src/external/gpl3/gcc/usr.bin/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/Makefile:1.3	Wed Jun 29 01:57:59 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile	Thu Aug 22 00:17:48 2013
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.3 2011/06/29 01:57:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2013/08/22 00:17:48 matt Exp $
 
 NOOBJ=# defined
 
 .include bsd.own.mk
 
-.if ${MKGCC} != no  exists(${.CURDIR}/gcc/arch/${MACHINE_ARCH}/defs.mk)
+GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
+
+.if ${MKGCC} != no  exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
 
 # We keep libcpp here since it depends upon frontend.
 

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.15
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14	Tue Aug  6 05:36:42 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Thu Aug 22 00:17:48 2013
@@ -1,16 +1,17 @@
-#	$NetBSD: Makefile.inc,v 1.14 2013/08/06 05:36:42 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.15 2013/08/22 00:17:48 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include bsd.own.mk
 
+GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
 GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
 
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist
 
-GCCARCH=	${.CURDIR}/../gcc/arch/${MACHINE_ARCH}
+GCCARCH=	${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}
 
 CPPFLAGS+=	-DLOCALEDIR=\/usr/share/locale\ -DNETBSD_NATIVE
 HOST_CPPFLAGS+=	-I${.CURDIR}/..

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.18
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17	Fri May 24 16:37:32 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Aug 22 00:17:48 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/05/24 16:37:32 christos Exp $
+#	$NetBSD: Makefile,v 1.18 2013/08/22 00:17:48 matt Exp $
 
 LIBISPRIVATE=	yes
 
@@ -97,10 +97,10 @@ gtype-desc.c: gtype-desc.h
 gtype-desc.h: gengtype gtyp-input.list.tmp
 	${_MKTARGET_CREATE}
 	rm -f auto-host.h
-	ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
-	if [ -f ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ]; then \
+	ln -s ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/auto-host.h .
+	if [ -f ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/sysroot-suffix.h ]; then \
 	  rm -f sysroot-suffix.h; \
-	  ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ; \
+	  ln -s ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/sysroot-suffix.h ; \
 	fi
 	./gengtype ${DIST}/gcc gtyp-input.list.tmp
 # gengtype is the real need for options.h
@@ -307,7 +307,7 @@ vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
 insn-emit.d insn-emit.o: tm-constrs.h
 
-.if ${MACHINE_ARCH} == alpha
+.if ${GCC_MACHINE_ARCH} == alpha
 alpha.d alpha.o: tm-constrs.h tm_p.h
 .endif
 
@@ -315,13 +315,13 @@ alpha.d alpha.o: tm-constrs.h tm_p.h
 arm.d arm.o: insn-constants.h tm_p.h
 .endif
 
-.if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
+.if ${GCC_MACHINE_ARCH} == i386 || ${GCC_MACHINE_ARCH} == x86_64
 i386.d i386.o: tm-constrs.h
 .endif
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${MACHINE_ARCH} == m68000 || ${MACHINE_ARCH} == m68k
+.if ${GCC_MACHINE_ARCH} == m68000 || ${GCC_MACHINE_ARCH} == m68k
 COPTS.lambda-code.c=		-O0
 COPTS.tree-loop-linear.c=	-O0
 .endif

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.5
--- 

CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Aug 22 00:17:48 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.inc
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
src/external/gpl3/gcc/usr.bin/libcpp: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile

Log Message:
Add MACHINE_ARCH's evbearmv5-e[bl] to work


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/libcpp/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug  6 05:36:42 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Use armv[4-7] to be consistent


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.13 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.13	Mon Aug  5 03:22:45 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Aug  6 05:36:42 2013
@@ -1,11 +1,11 @@
-#	$NetBSD: Makefile.inc,v 1.13 2013/08/05 03:22:45 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.14 2013/08/06 05:36:42 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include bsd.own.mk
 
-GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
 
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist



CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug  6 05:36:42 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Use armv[4-7] to be consistent


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug  5 03:22:45 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.12 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.13
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.12	Sun Dec  2 12:55:27 2012
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Mon Aug  5 03:22:45 2013
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile.inc,v 1.12 2012/12/02 12:55:27 apb Exp $
+#	$NetBSD: Makefile.inc,v 1.13 2013/08/05 03:22:45 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include bsd.own.mk
 
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist
 
@@ -14,7 +16,7 @@ CPPFLAGS+=	-DLOCALEDIR=\/usr/share/loca
 HOST_CPPFLAGS+=	-I${.CURDIR}/..
 
 # Link in the GMP/MPFR/MPC headers since we don't install them
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${MACHINE_ARCH}/gmp.h gmp.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}/gmp.h gmp.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpfr.h mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpf2mpfr.h mpf2mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl2/mpc/dist/src/mpc.h mpc.h



CVS commit: src/external/gpl3/gcc/usr.bin

2013-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug  5 03:22:45 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2013-06-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun 27 14:43:29 UTC 2013

Removed Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: insn-modes.h

Log Message:
delete generated by our build files that break r/o builds.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h
cvs rdiff -u -r1.2 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/insn-modes.h
cvs rdiff -u -r1.2 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/insn-modes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:37:33 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
and m68000 == m68k


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16	Mon Jan 14 11:00:49 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri May 24 12:37:32 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
+#	$NetBSD: Makefile,v 1.17 2013/05/24 16:37:32 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -321,7 +321,7 @@ i386.d i386.o: tm-constrs.h
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${MACHINE_ARCH} == m68000
+.if ${MACHINE_ARCH} == m68000 || ${MACHINE_ARCH} == m68k
 COPTS.lambda-code.c=		-O0
 COPTS.tree-loop-linear.c=	-O0
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:37:33 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
and m68000 == m68k


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earm

2013-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb  3 05:34:50 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: insn-modes.h

Log Message:
mknative for earmhf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.1	Sun Aug  5 17:03:32 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h	Sun Feb  3 05:34:50 2013
@@ -6,88 +6,88 @@
 
 enum machine_mode
 {
-  VOIDmode,/* machmode.def:169 */
-  BLKmode, /* machmode.def:173 */
-  CCmode,  /* machmode.def:201 */
-  CC_NOOVmode, /* config/arm/arm-modes.def:40 */
-  CC_Zmode,/* config/arm/arm-modes.def:41 */
-  CC_SWPmode,  /* config/arm/arm-modes.def:42 */
-  CCFPmode,/* config/arm/arm-modes.def:43 */
-  CCFPEmode,   /* config/arm/arm-modes.def:44 */
-  CC_DNEmode,  /* config/arm/arm-modes.def:45 */
-  CC_DEQmode,  /* config/arm/arm-modes.def:46 */
-  CC_DLEmode,  /* config/arm/arm-modes.def:47 */
-  CC_DLTmode,  /* config/arm/arm-modes.def:48 */
-  CC_DGEmode,  /* config/arm/arm-modes.def:49 */
-  CC_DGTmode,  /* config/arm/arm-modes.def:50 */
-  CC_DLEUmode, /* config/arm/arm-modes.def:51 */
-  CC_DLTUmode, /* config/arm/arm-modes.def:52 */
-  CC_DGEUmode, /* config/arm/arm-modes.def:53 */
-  CC_DGTUmode, /* config/arm/arm-modes.def:54 */
-  CC_Cmode,/* config/arm/arm-modes.def:55 */
-  CC_Nmode,/* config/arm/arm-modes.def:56 */
-  BImode,  /* machmode.def:176 */
-  QImode,  /* machmode.def:181 */
-  HImode,  /* machmode.def:182 */
-  SImode,  /* machmode.def:183 */
-  DImode,  /* machmode.def:184 */
-  TImode,  /* machmode.def:185 */
-  EImode,  /* config/arm/arm-modes.def:67 */
-  OImode,  /* config/arm/arm-modes.def:68 */
-  CImode,  /* config/arm/arm-modes.def:69 */
-  XImode,  /* config/arm/arm-modes.def:70 */
-  QQmode,  /* machmode.def:204 */
-  HQmode,  /* machmode.def:205 */
-  SQmode,  /* machmode.def:206 */
-  DQmode,  /* machmode.def:207 */
-  TQmode,  /* machmode.def:208 */
-  UQQmode, /* machmode.def:210 */
-  UHQmode, /* machmode.def:211 */
-  USQmode, /* machmode.def:212 */
-  UDQmode, /* machmode.def:213 */
-  UTQmode, /* machmode.def:214 */
-  HAmode,  /* machmode.def:216 */
-  SAmode,  /* machmode.def:217 */
-  DAmode,  /* machmode.def:218 */
-  TAmode,  /* machmode.def:219 */
-  UHAmode, /* machmode.def:221 */
-  USAmode, /* machmode.def:222 */
-  UDAmode, /* machmode.def:223 */
-  UTAmode, /* machmode.def:224 */
-  HFmode,  /* config/arm/arm-modes.def:29 */
-  SFmode,  /* machmode.def:196 */
-  DFmode,  /* machmode.def:197 */
-  XFmode,  /* config/arm/arm-modes.def:26 */
-  SDmode,  /* machmode.def:236 */
-  DDmode,  /* machmode.def:237 */
-  TDmode,  /* machmode.def:238 */
-  CQImode, /* machmode.def:232 */
-  CHImode, /* machmode.def:232 */
-  CSImode, /* machmode.def:232 */
-  CDImode, /* machmode.def:232 */
-  CTImode, /* machmode.def:232 */
-  CEImode, /* machmode.def:232 */
-  COImode, /* machmode.def:232 */
-  CCImode, /* machmode.def:232 */
-  CXImode, /* machmode.def:232 */
-  HCmode,  /* machmode.def:233 */
-  SCmode,  /* machmode.def:233 */
-  DCmode,  /* machmode.def:233 */
-  XCmode,  /* machmode.def:233 */
-  V4QImode,/* config/arm/arm-modes.def:59 */
-  V2HImode,/* config/arm/arm-modes.def:59 */
-  V8QImode,/* config/arm/arm-modes.def:60 */
-  V4HImode,/* config/arm/arm-modes.def:60 */
-  V2SImode,/* config/arm/arm-modes.def:60 */
-  V16QImode,   /* config/arm/arm-modes.def:61 */
-  V8HImode,/* 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earm

2013-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb  3 05:34:50 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: insn-modes.h

Log Message:
mknative for earmhf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 15:50:18 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Make this work with xpg4/sh where for x in; is an error.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14	Thu Nov 10 09:28:25 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jan 14 15:50:18 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2011/11/10 09:28:25 yamt Exp $
+#	$NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
 
 LIBISPRIVATE=	yes
 
@@ -114,17 +114,16 @@ gtyp-gen.h: Makefile
 	(\
 	echo static const char *srcdir = \$(G_GTFILES_SRCDIR)\;	; \
 	echo static const char *lang_files[] = {			; \
-	for f in $(G_GTFILES_FILES_FILES); do echo \$$f\, ; done	; \
+	for f in $$empty $(G_GTFILES_FILES_FILES); do echo \$$f\, ; done ; \
 	echo NULL };			; \
 	echo static const char *langs_for_lang_files[] = {		; \
-	for f in $(G_GTFILES_FILES_LANGS); do echo \$$f\, ; done 	; \
+	for f in $$empty $(G_GTFILES_FILES_LANGS); do echo \$$f\, ; done ; \
 	echo NULL };			; \
 	echo static const char *all_files[] = {			; \
-	for f in $(G_GTFILES); do echo \$$f\, ; done		; \
+	for f in $$empty $(G_GTFILES); do echo \$$f\, ; done	; \
 	echo  NULL };			; \
 	echo static const char *lang_dir_names[] = {			; \
-	echo \c\, 			; \
-	for f in $(G_GTFILES_LANG_DIR_NAMES); do echo \$$f\, ; done	; \
+	for f in c $(G_GTFILES_LANG_DIR_NAMES); do echo \$$f\, ; done ; \
 	echo NULL };			; \
 	) ${.TARGET}
 



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 16:00:49 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
... but make sure to unset empty before it's used as an empty variable.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15	Mon Jan 14 15:50:18 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jan 14 16:00:49 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
+#	$NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
 
 LIBISPRIVATE=	yes
 
@@ -112,6 +112,7 @@ gengtype: gengtype.lo gengtype-lex.lo ge
 gtyp-gen.h: Makefile
 	${_MKTARGET_CREATE}
 	(\
+	unset empty			; \
 	echo static const char *srcdir = \$(G_GTFILES_SRCDIR)\;	; \
 	echo static const char *lang_files[] = {			; \
 	for f in $$empty $(G_GTFILES_FILES_FILES); do echo \$$f\, ; done ; \



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 15:50:18 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Make this work with xpg4/sh where for x in; is an error.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 16:00:49 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
... but make sure to unset empty before it's used as an empty variable.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2012-10-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct 12 18:42:00 UTC 2012

Removed Files:
src/external/gpl3/gcc/usr.bin/g++: g++.1
src/external/gpl3/gcc/usr.bin/gcc: gcc.1

Log Message:
Remove OLD manunal to install correct manual.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/g++/g++.1
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/gcc/gcc.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




CVS commit: src/external/gpl3/gcc/usr.bin

2012-10-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct 12 18:42:00 UTC 2012

Removed Files:
src/external/gpl3/gcc/usr.bin/g++: g++.1
src/external/gpl3/gcc/usr.bin/gcc: gcc.1

Log Message:
Remove OLD manunal to install correct manual.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/g++/g++.1
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/gcc/gcc.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:38:29 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Fix _SOFT_FLOAT_ - _SOFT_FLOAT


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.10	Tue Sep 18 19:45:49 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Wed Sep 26 05:38:29 2012
@@ -9,7 +9,7 @@ static const char thread_model[] = posi
 static const struct {
   const char *name, *value;
 } configure_default_options[] = {
-#ifdef _SOFT_FLOAT_
+#ifdef _SOFT_FLOAT
   { float, soft },
 #endif
   { NULL, NULL }



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:57:45 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
This needs to have an #else clause


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.12
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11	Wed Sep 26 05:38:29 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Wed Sep 26 05:57:45 2012
@@ -11,6 +11,7 @@ static const struct {
 } configure_default_options[] = {
 #ifdef _SOFT_FLOAT
   { float, soft },
-#endif
+#else
   { NULL, NULL }
+#endif
 };



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:38:29 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Fix _SOFT_FLOAT_ - _SOFT_FLOAT


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:57:45 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
This needs to have an #else clause


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/m68k

2011-12-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 16 11:19:20 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: auto-host.h

Log Message:
Apparently mknative didn't work right. Fix up losses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.2 src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.3
--- src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.2	Wed Jul 20 00:53:54 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h	Fri Dec 16 11:19:19 2011
@@ -456,7 +456,7 @@
 
 /* Define if your assembler supports thread-local storage. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_AS_TLS */
+#define HAVE_AS_TLS 1
 #endif
 
 
@@ -954,13 +954,13 @@
 
 /* Define 0/1 if your assembler supports .cfi_sections. */
 #ifndef USED_FOR_TARGET
-#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE 0
+#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE 1
 #endif
 
 
 /* Define if your assembler supports the .loc discriminator sub-directive. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_GAS_DISCRIMINATOR */
+#define HAVE_GAS_DISCRIMINATOR 1
 #endif
 
 



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/m68k

2011-12-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 16 11:19:20 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: auto-host.h

Log Message:
Apparently mknative didn't work right. Fix up losses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-11-10 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu Nov 10 09:28:25 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
add a crude dependency on tm_p.h.  build.sh -j128 fails for me without this.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.13 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.13	Mon Nov  7 23:21:32 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Nov 10 09:28:25 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2011/11/07 23:21:32 njoly Exp $
+#	$NetBSD: Makefile,v 1.14 2011/11/10 09:28:25 yamt Exp $
 
 LIBISPRIVATE=	yes
 
@@ -163,6 +163,8 @@ tm_p.h: Makefile tm-preds.h
 	HEADERS=$(G_tm_p_include_list) DEFINES= \
 	${HOST_SH} ${GNUHOSTDIST}/gcc/mkconfig.sh ${.TARGET}
 
+${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX crude
+
 CLEANFILES+=	options.h options.c optionlist
 optionlist: ${G_ALL_OPT_FILES} ${GCCARCH}/defs.mk Makefile ${DIST}/gcc/opt-gather.awk
 	${TOOL_AWK} -f ${DIST}/gcc/opt-gather.awk ${G_ALL_OPT_FILES}  ${.TARGET}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-11-10 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu Nov 10 09:28:25 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
add a crude dependency on tm_p.h.  build.sh -j128 fails for me without this.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-11-07 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Nov  7 23:21:32 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Adjust dependencies for alpha.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.12 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.12	Thu Jul 21 03:01:26 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Nov  7 23:21:32 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2011/07/21 03:01:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2011/11/07 23:21:32 njoly Exp $
 
 LIBISPRIVATE=	yes
 
@@ -305,6 +305,10 @@ vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
 insn-emit.d insn-emit.o: tm-constrs.h
 
+.if ${MACHINE_ARCH} == alpha
+alpha.d alpha.o: tm-constrs.h tm_p.h
+.endif
+
 .if ${MACHINE_CPU} == arm
 arm.d arm.o: insn-constants.h tm_p.h
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2011-10-13 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Oct 13 19:51:58 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.4 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.5
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.4	Wed Aug 17 18:33:03 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Thu Oct 13 19:51:58 2011
@@ -3,7 +3,7 @@
 /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
 
 /* Generated automatically. */
-#ifdef _SOFT_FLOAT_
+#ifdef _SOFT_FLOAT
 static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd -with-float=soft;
 #else
 static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd;
@@ -13,8 +13,9 @@ static const char thread_model[] = posi
 static const struct {
   const char *name, *value;
 } configure_default_options[] = { 
-#ifdef _SOFT_FLOAT_
+#ifdef _SOFT_FLOAT
   { float, soft },
-#endif
+#else
   { NULL, NULL }
+#endif
 };



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2011-10-13 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Oct 13 19:51:58 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2011-08-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug 17 18:33:03 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Regen (since mknative blew away _SOFT_FLOAT changes).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.4
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.3	Wed Jul 20 00:53:55 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Wed Aug 17 18:33:03 2011
@@ -3,9 +3,18 @@
 /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
 
 /* Generated automatically. */
+#ifdef _SOFT_FLOAT_
+static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd -with-float=soft;
+#else
 static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd;
+#endif
 static const char thread_model[] = posix;
 
 static const struct {
   const char *name, *value;
-} configure_default_options[] = { { NULL, NULL} };
+} configure_default_options[] = { 
+#ifdef _SOFT_FLOAT_
+  { float, soft },
+#endif
+  { NULL, NULL }
+};



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc

2011-08-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug 17 18:33:03 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Regen (since mknative blew away _SOFT_FLOAT changes).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-08-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug  9 12:56:42 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Since cproj and friends are used, link explicitly against libm.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.4	Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Aug  9 12:56:41 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -13,7 +13,7 @@
 
 COPTS+=	-Wno-stack-protector
 
-LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 
 .PATH: ${DIST}/gcc ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.4	Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Tue Aug  9 12:56:41 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -16,7 +16,7 @@
 
 COPTS+=	-Wno-stack-protector
 
-LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 
 .PATH: ${DIST}/gcc/objc ${DIST}/gcc ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.4	Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Aug  9 12:56:42 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2011/08/09 12:56:42 joerg Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -16,7 +16,7 @@
 # YUCK.  but see timevar.h:POP_TIMEVAR_AND_RETURN
 CFLAGS+=	-Wno-error # not good enough: -Wno-return-type
 
-LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 
 .PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}



CVS commit: src/external/gpl3/gcc/usr.bin

2011-08-09 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug  9 12:56:42 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Since cproj and friends are used, link explicitly against libm.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-08-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug  7 11:41:50 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
after all the recent fixes, let's call this NetBSD nb2 20110806


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.9 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.10
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.9	Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sun Aug  7 11:41:50 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.9 2011/07/21 03:13:32 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.10 2011/08/07 11:41:50 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -65,7 +65,7 @@
 # XXX pull this out of our configs
 G_BUGURL=http://www.NetBSD.org/Misc/send-pr.html
 G_BUGURL_s=\${G_BUG_URL}\
-G_PKGVERSION=(NetBSD nb1 20110620) 
+G_PKGVERSION=(NetBSD nb2 20110806) 
 G_PKGVERSION_s=\${G_PKGVERSION} \
 
 VER_CPPFLAGS=			-DBUGURL=${G_BUGURL_s} \



CVS commit: src/external/gpl3/gcc/usr.bin

2011-08-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug  7 11:41:50 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
after all the recent fixes, let's call this NetBSD nb2 20110806


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul 21 03:01:26 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
add some missing dependancies.  there are probably a bunch more make
hasn't spat at me yet.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.11 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.11	Tue Jul 19 15:59:01 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Jul 21 03:01:26 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2011/07/19 15:59:01 tron Exp $
+#	$NetBSD: Makefile,v 1.12 2011/07/21 03:01:26 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -303,11 +303,15 @@
 cgraphunit.d cgraphunit.o: gcov-io.h
 vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
-# XXX
+insn-emit.d insn-emit.o: tm-constrs.h
+
+.if ${MACHINE_CPU} == arm
+arm.d arm.o: insn-constants.h tm_p.h
+.endif
+
 .if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
 i386.d i386.o: tm-constrs.h
 .endif
-insn-emit.d insn-emit.o: tm-constrs.h
 
 CFLAGS+=	-Wno-stack-protector
 



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul 21 03:01:26 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
add some missing dependancies.  there are probably a bunch more make
hasn't spat at me yet.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-19 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Jul 19 15:59:02 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
Fix remaining SSP build issues if GCC 4.5 is used.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcov/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.10 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.11
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.10	Tue Jul 19 01:37:59 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jul 19 15:59:01 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2011/07/19 01:37:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2011/07/19 15:59:01 tron Exp $
 
 LIBISPRIVATE=	yes
 
@@ -309,7 +309,7 @@
 .endif
 insn-emit.d insn-emit.o: tm-constrs.h
 
-COPTS+=-Wno-stack-protector
+CFLAGS+=	-Wno-stack-protector
 
 .if ${MACHINE_ARCH} == m68000
 COPTS.lambda-code.c=		-O0

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.3 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.3	Sat Jul  2 14:06:42 2011
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Tue Jul 19 15:59:02 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2011/07/02 14:06:42 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/07/19 15:59:02 tron Exp $
 
 # For ../Makefile.inc and bsd.own.mk
 .include bsd.init.mk
@@ -38,6 +38,8 @@
 
 LDADD+=		-lintl
 
+COPTS+=		-Wno-stack-protector
+
 .include bsd.info.mk
 
 .PATH: ${DIST}/gcc ${DIST}/gcc/doc

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.4 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.4	Sat Jul  2 14:06:42 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Jul 19 15:59:02 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/07/02 14:06:42 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2011/07/19 15:59:02 tron Exp $
 
 LIBISPRIVATE=	yes
 
@@ -34,7 +34,7 @@
 
 .include bsd.lib.mk
 
-COPTS+=		-Wno-stack-protector
+CFLAGS+=	-Wno-stack-protector
 
 .PATH: ${DIST}/gcc
 

Index: src/external/gpl3/gcc/usr.bin/gcov/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.2 src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.2	Tue Jun 28 09:31:11 2011
+++ src/external/gpl3/gcc/usr.bin/gcov/Makefile	Tue Jul 19 15:59:02 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/28 09:31:11 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/19 15:59:02 tron Exp $
 
 .include bsd.own.mk
 
@@ -15,4 +15,6 @@
 
 LDADD=		-L${LIBIBERTYOBJ} -liberty -lintl
 
+COPTS+=		-Wno-stack-protector
+
 .PATH: ${DIST}/gcc



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-19 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Jul 19 15:59:02 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
Fix remaining SSP build issues if GCC 4.5 is used.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcov/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul 19 01:38:00 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
merge the common CPPFLAGS and HOST_CPPFLAGS.  put -DGENERATOR_FILE
into HOST_CPPFLAGS, and remove the hacky list of files to build
with it.  this matches what the real GCC build does, and fixes build
problems seen on OSX.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.9 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.9	Wed Jul  6 01:18:32 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jul 19 01:37:59 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2011/07/06 01:18:32 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2011/07/19 01:37:59 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -6,9 +6,9 @@
 
 SRCS=		${G_OBJS:.o=.c} ${G_out_file:T}
 
-CPPFLAGS+=	-I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
-		-DTARGET_NAME=\${MACHINE_GNU_PLATFORM}\
-HOST_CPPFLAGS+=	-I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
+BOTH_CPPFLAGS+=	-I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
+CPPFLAGS+=	${BOTH_CPPFLAGS} -DTARGET_NAME=\${MACHINE_GNU_PLATFORM}\
+HOST_CPPFLAGS+=	${BOTH_CPPFLAGS} -DGENERATOR_FILE
 DPSRCS+=	insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h
 CPPFLAGS.prefix.c+=	-DPREFIX=\/usr\
 CPPFLAGS.cppdefault.c+=	-DPREFIX=\/usr\
@@ -41,14 +41,6 @@
 		cs-config.h \
 		gcov-iov gcov-iov.h \
 
-#
-# These files have special needs
-#
-.for f in \
-	build-errors build-ggc-none build-print-rtl build-rtl build-varray dummy-conditions gcov-iov genattr genattrtab genautomata gencheck genchecksum gencodes genconditions genconfig genconstants genemit genextract genflags gengenrtl gengtype gengtype-lex genmddeps genmodes genopinit genoutput genpeep genpreds genrecog gensupport insn-conditions min-insn-modes read-rtl
-CPPFLAGS.${f}.c=		-DGENERATOR_FILE
-.endfor
-
 # XXX
 COPTS.varasm.c=			-Wno-error
 
@@ -319,4 +311,9 @@
 
 COPTS+=-Wno-stack-protector
 
+.if ${MACHINE_ARCH} == m68000
+COPTS.lambda-code.c=		-O0
+COPTS.tree-loop-linear.c=	-O0
+.endif
+
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul 19 01:38:00 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
merge the common CPPFLAGS and HOST_CPPFLAGS.  put -DGENERATOR_FILE
into HOST_CPPFLAGS, and remove the hacky list of files to build
with it.  this matches what the real GCC build does, and fixes build
problems seen on OSX.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2011-07-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  9 14:59:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb: defs.mk tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el: defs.mk tm.h

Log Message:
regenerate to remove MASK_64BIT.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/defs.mk \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/tm.h
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/defs.mk \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/tm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul  5 08:36:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
fix the ordering of gmp, mpfr and mpc libraries.  add to DPLIB.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.2	Tue Jun 28 10:15:40 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Jul  5 08:36:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/28 10:15:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/05 08:36:17 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -13,6 +13,7 @@
 
 COPTS+=	-Wno-stack-protector
 
-LDADD+=	-lintl -lgmp -lmpfr -lmpc -lz
+LDADD+=	-lmpc -lmpfr -lgmp -lintl -lz
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
 
 .PATH: ${DIST}/gcc ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.2	Wed Jun 29 01:57:59 2011
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Tue Jul  5 08:36:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/29 01:57:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/05 08:36:17 mrg Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -16,6 +16,7 @@
 
 COPTS+=	-Wno-stack-protector
 
-LDADD+=	-lintl -lgmp -lmpfr -lmpc -lz
+LDADD+=	-lmpc -lmpfr -lgmp -lintl -lz
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
 
 .PATH: ${DIST}/gcc/objc ${DIST}/gcc ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.2	Wed Jun 29 01:57:59 2011
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Jul  5 08:36:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/29 01:57:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/05 08:36:17 mrg Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -16,6 +16,7 @@
 # YUCK.  but see timevar.h:POP_TIMEVAR_AND_RETURN
 CFLAGS+=	-Wno-error # not good enough: -Wno-return-type
 
-LDADD+=	-lintl -lgmp -lmpfr -lmpc -lz
+LDADD+=	-lmpc -lmpfr -lgmp -lintl -lz
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
 
 .PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  6 01:18:33 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
fix update build break on sh3.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.8 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.8	Sun Jul  3 06:42:03 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Wed Jul  6 01:18:32 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/07/03 06:42:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2011/07/06 01:18:32 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -107,6 +107,7 @@
 	rm -f auto-host.h
 	ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
 	if [ -f ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ]; then \
+	  rm -f sysroot-suffix.h; \
 	  ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ; \
 	fi
 	./gengtype ${DIST}/gcc gtyp-input.list.tmp



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul  5 08:36:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
fix the ordering of gmp, mpfr and mpc libraries.  add to DPLIB.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:42:03 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gengtype also needs sysroot-suffix.h if present


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.7 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.7	Fri Jul  1 01:29:12 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Jul  3 06:42:03 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2011/07/01 01:29:12 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2011/07/03 06:42:03 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -106,6 +106,9 @@
 	${_MKTARGET_CREATE}
 	rm -f auto-host.h
 	ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
+	if [ -f ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ]; then \
+	  ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ; \
+	fi
 	./gengtype ${DIST}/gcc gtyp-input.list.tmp
 # gengtype is the real need for options.h
 gengtype.lo gengtype-lex.lo gengtype-parse.lo: ${HH} gtyp-gen.h config.h options.h



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb

2011-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 14:42:13 UTC 2011

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb: sysroot-suffix.h

Log Message:
add missed generated file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/sysroot-suffix.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/sysroot-suffix.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/sysroot-suffix.h:1.1
--- /dev/null	Sun Jul  3 14:42:13 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/sysroot-suffix.h	Sun Jul  3 14:42:13 2011
@@ -0,0 +1,16 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: 	NetBSD: mknative-gcc,v 1.61 2011/07/03 12:26:02 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+#undef SYSROOT_SUFFIX_SPEC
+#define SYSROOT_SUFFIX_SPEC  \
+%{ml: \
+  %{m3|m4-nofpu|m4-100-nofpu|m4-200-nofpu|m4-400|m4-500|m4-340|m4-300-nofpu|m4al|m4a-nofpu:/ml/m3; \
+  m3e|m4-single-only|m4-100-single-only|m4-200-single-only|m4-300-single-only|m4a-single-only:/ml/m3e; \
+  m4|m4-100|m4-200|m4-300|m4a:/ml/m4; \
+  :/ml}; \
+: \
+  %{m3|m4-nofpu|m4-100-nofpu|m4-200-nofpu|m4-400|m4-500|m4-340|m4-300-nofpu|m4al|m4a-nofpu:/m3; \
+  m3e|m4-single-only|m4-100-single-only|m4-200-single-only|m4-300-single-only|m4a-single-only:/m3e; \
+  m4|m4-100|m4-200|m4-300|m4a:/m4; \
+  :}}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 06:42:03 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gengtype also needs sysroot-suffix.h if present


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb

2011-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul  3 14:42:13 UTC 2011

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb: sysroot-suffix.h

Log Message:
add missed generated file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/sysroot-suffix.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  2 14:06:42 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
add driver-rs6000.c and the remaining powerpc mknative-gcc files.  the
ppc native gcc now links but doesn't run yet properly.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 10:03:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
fix version.c defines.  now the version says:
gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
gcc version 4.5.320110428


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.7 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.8
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.7	Wed Jun 29 02:15:13 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Fri Jul  1 10:03:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.7 2011/06/29 02:15:13 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.8 2011/07/01 10:03:17 mrg Exp $
 
 .include bsd.own.mk
 
@@ -31,7 +31,11 @@
 # XXX
 #DEVPHASE!=		cat ${GNUHOSTDIST}/gcc/DEV-PHASE
 DEVPHASE=
+.if ${DEVPHASE} == release || ${DEVPHASE} == 
+DATESTAMP=
+.else
 DATESTAMP!=		cat ${GNUHOSTDIST}/gcc/DATESTAMP
+.endif
 
 BASEVERSTR=		\$(BASEVER)\
 .if !empty(DEVPHASE)
@@ -39,7 +43,7 @@
 .else
 DEVPHASESTR=		\\
 .endif
-.if !empty(DEVPHASE)
+.if !empty(DATESTAMP)
 DATESTAMPSTR=		\ $(DATESTAMP)\
 .else
 DATESTAMPSTR=		\\
@@ -48,13 +52,13 @@
 # XXX pull this out of our configs
 G_BUGURL=http://www.NetBSD.org/Misc/send-pr.html
 G_BUGURL_s=\${G_BUG_URL}\
-G_PKGVERSION_s=(NetBSD nb1 20110620) 
+G_PKGVERSION=(NetBSD nb1 20110620) 
 G_PKGVERSION_s=\${G_PKGVERSION} \
 
 VER_CPPFLAGS=			-DBUGURL=${G_BUGURL_s} \
 -DPKGVERSION=${G_PKGVERSION_s} \
 -DBASEVER=\${BASEVER}\ \
--DDATESTAMP=\${DATESTAMP}\ \
+-DDATESTAMP=${DATESTAMPSTR} \
 -DDEVPHASE=${DEVPHASE} \
 -DREVISION=${REVISION}
 CPPFLAGS.version.c=		${VER_CPPFLAGS}



CVS commit: src/external/gpl3/gcc/usr.bin

2011-07-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 10:03:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
fix version.c defines.  now the version says:
gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
gcc version 4.5.320110428


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 01:22:07 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
install the posix_memalign version of mm_malloc.h, clean up


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.2 src/external/gpl3/gcc/usr.bin/include/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.2	Wed Jun 29 08:37:10 2011
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Fri Jul  1 01:22:07 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/29 08:37:10 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/01 01:22:07 mrg Exp $
 
 .include ../Makefile.inc
 
@@ -6,30 +6,29 @@
 INCS=	altivec.h
 .elif ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
 INCS= \
-	mmintrin.h \
-	mm3dnow.h \
-	xmmintrin.h \
-	emmintrin.h \
-	pmmintrin.h \
-	tmmintrin.h \
+	abmintrin.h \
 	ammintrin.h \
-	smmintrin.h \
-	nmmintrin.h \
+	avxintrin.h \
 	bmmintrin.h \
+	emmintrin.h \
 	fma4intrin.h \
-	wmmintrin.h \
+	ia32intrin.h \
 	immintrin.h \
+	lwpintrin.h \
+	mm3dnow.h \
+	mmintrin.h \
+	nmmintrin.h \
+	pmmintrin.h \
+	popcntintrin.h \
+	smmintrin.h \
+	tmmintrin.h \
+	wmmintrin.h \
 	x86intrin.h \
-	avxintrin.h \
+	xmmintrin.h \
 	xopintrin.h \
-	ia32intrin.h \
-	popcntintrin.h \
-	lwpintrin.h \
-	abmintrin.h
+	mm_malloc.h
 
-# XXX this comment is no longer true:
-# We don't have posix_memalign, so use the gmm_malloc.h version.
-mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
+mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
 	cp $ ${.TARGET}
 
 CLEANFILES+=	mm_malloc.h



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-06-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 01:29:12 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
clean up and add some missing dependancies


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.6 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.6	Wed Jun 29 02:17:35 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri Jul  1 01:29:12 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/06/29 02:17:35 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2011/07/01 01:29:12 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -93,12 +93,7 @@
 	${_MKTARGET_LINK}
 	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
 
-.if 0
-gtyp-input.list: Makefile
-	for f in ${G_GTFILES}; do echo $f; done  ${.TARGET}
-CLEANFILES+=	gtyp-input.list
-.endif
-
+# be nice to generate this entirely; but difficult.
 gtyp-input.list.tmp: ${GCCARCH}/gtyp-input.list
 	sed s#SRCDIR#${DIST}#  ${.ALLSRC}  ${.TARGET}
 CLEANFILES+=	gtyp-input.list.tmp
@@ -166,7 +161,7 @@
 #	TARGET_CPU_DEFAULT=$(G_target_cpu_default) \
 #	${HOST_SH} ${GNUHOSTDIST}/gcc/mkconfig.sh ${.TARGET}
 
-tm_p.h: Makefile
+tm_p.h: Makefile tm-preds.h
 	${_MKTARGET_CREATE}
 	TARGET_CPU_DEFAULT= \
 	HEADERS=$(G_tm_p_include_list) DEFINES= \
@@ -295,26 +290,11 @@
 	./gen${f:R} ${G_md_file} ${.TARGET}
 .endfor
 
-.if 0
-#
-# One of these things is not like the other
-#
-CLEANFILES+=		genattrtab insn-attrtab.c
-genattrtab.lo: ${HH} gtype-desc.h
-genautomata.lo: ${HH}
-genattrtab: genattrtab.lo genautomata.lo ${EXTRADEPENDS} ${G_BUILD_VARRAY:.o=.lo}
-	${_MKTARGET_LINK}
-	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} -lm
-insn-attrtab.c: genattrtab ${G_md_file}
-	${_MKTARGET_CREATE}
-	./genattrtab ${G_md_file} ${.TARGET}
-.endif
-
 #
 # Required hard-coded dependancies.
 #
 genextract.lo: insn-config.h
-insn-conditions.lo: insn-constants.h tm_p.h tm-preds.h
+insn-conditions.lo: insn-constants.h tm_p.h
 build-ggc-none.lo: gtype-desc.h
 ggc-none.o: gtype-desc.h
 
@@ -323,13 +303,15 @@
 toplev.d toplev.o: options.h
 coverage.d: gcov-iov.h
 gcov-io.h: gcov-iov.h
-alias.d alias.o: insn-constants.h tm_p.h tm-preds.h
+alias.d alias.o: insn-constants.h tm_p.h
 cgraphunit.d cgraphunit.o: gcov-io.h
 vec.lo: gtype-desc.h
+gtype-desc.d gtype-desc.o: insn-constants.h
 # XXX
 .if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
 i386.d i386.o: tm-constrs.h
 .endif
+insn-emit.d insn-emit.o: tm-constrs.h
 
 COPTS+=-Wno-stack-protector
 



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 01:22:07 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
install the posix_memalign version of mm_malloc.h, clean up


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-06-30 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  1 01:29:12 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
clean up and add some missing dependancies


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 08:37:10 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
GCC 4.5 x86 installs a bunch more platform header files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.1 src/external/gpl3/gcc/usr.bin/include/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.1	Tue Jun 21 06:03:15 2011
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Wed Jun 29 08:37:10 2011
@@ -1,12 +1,33 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/29 08:37:10 mrg Exp $
 
 .include ../Makefile.inc
 
 .if ${MACHINE_CPU} == powerpc
 INCS=	altivec.h
 .elif ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
-INCS=	emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
+INCS= \
+	mmintrin.h \
+	mm3dnow.h \
+	xmmintrin.h \
+	emmintrin.h \
+	pmmintrin.h \
+	tmmintrin.h \
+	ammintrin.h \
+	smmintrin.h \
+	nmmintrin.h \
+	bmmintrin.h \
+	fma4intrin.h \
+	wmmintrin.h \
+	immintrin.h \
+	x86intrin.h \
+	avxintrin.h \
+	xopintrin.h \
+	ia32intrin.h \
+	popcntintrin.h \
+	lwpintrin.h \
+	abmintrin.h
 
+# XXX this comment is no longer true:
 # We don't have posix_memalign, so use the gmm_malloc.h version.
 mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
 	cp $ ${.TARGET}



CVS commit: src/external/gpl3/gcc/usr.bin/include

2011-06-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 08:37:10 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
GCC 4.5 x86 installs a bunch more platform header files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:28:22 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
- add LIBDECNUMBEROBJ.
- update the VER_CPPFLAGS for GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.4 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.5
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.4	Tue Jun 28 04:22:17 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Jun 28 09:28:22 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.4 2011/06/28 04:22:17 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.5 2011/06/28 09:28:22 mrg Exp $
 
 .include bsd.own.mk
 
@@ -22,6 +22,7 @@
 FRONTENDOBJ!=		cd ${.CURDIR}/../frontend  ${PRINTOBJDIR}
 BACKENDOBJ!=		cd ${.CURDIR}/../backend  ${PRINTOBJDIR}
 LIBCPPOBJ!=		cd ${.CURDIR}/../libcpp  ${PRINTOBJDIR}
+LIBDECNUMBEROBJ!=	cd ${.CURDIR}/../../lib/libdecnumber  ${PRINTOBJDIR}
 
 HOSTLIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty  ${PRINTOBJDIR}
 HOSTLIBIBERTY=		${HOSTLIBIBERTYOBJ}/libiberty/libiberty.a
@@ -44,9 +45,16 @@
 DATESTAMPSTR=		\\
 .endif
 
-VER_CPPFLAGS=		-DBASEVER=${BASEVERSTR} \
-			-DDATESTAMP=${DATESTAMPSTR} \
-			-DDEVPHASE=${DEVPHASESTR}
+# XXX pull this out of our configs
+G_BUGURL_s=\http://www.NetBSD.org/Misc/send-pr.html\
+G_PKGVERSION_s=\(NetBSD nb1 20110620) \
+
+VER_CPPFLAGS=			-DBUGURL=${G_BUGURL_s} \
+-DPKGVERSION=${G_PKGVERSION_s} \
+-DBASEVER=\${BASEVER}\ \
+-DDATESTAMP=\${DATESTAMP}\ \
+-DDEVPHASE=${DEVPHASE} \
+-DREVISION=${REVISION}
 CPPFLAGS.version.c=		${VER_CPPFLAGS}
 
 .include ${GCCARCH}/defs.mk



CVS commit: src/external/gpl3/gcc/usr.bin/gcov

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:31:11 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
this needs -lintl now.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/gcov/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcov/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.1 src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/gcov/Makefile	Tue Jun 28 09:31:11 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 09:31:11 mrg Exp $
 
 .include bsd.own.mk
 
@@ -13,6 +13,6 @@
 
 .include bsd.prog.mk
 
-LDADD=		-L${LIBIBERTYOBJ} -liberty
+LDADD=		-L${LIBIBERTYOBJ} -liberty -lintl
 
 .PATH: ${DIST}/gcc



CVS commit: src/external/gpl3/gcc/usr.bin/libcpp

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:31:55 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/libcpp: Makefile

Log Message:
init.o wants a localedir.h to define LOCALEDIR now.  make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.1 src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/libcpp/Makefile:1.1	Tue Jun 21 06:03:15 2011
+++ src/external/gpl3/gcc/usr.bin/libcpp/Makefile	Tue Jun 28 09:31:55 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 09:31:55 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,7 +7,7 @@
 SRCS=		${G_libcpp_a_OBJS:.o=.c}
 
 CPPFLAGS+=	-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \
-		-I${GCCARCH} -I${BACKENDOBJ} \
+		-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_INCLUDES:M-I*:N-I.*} \
 		-DPREFIX=\/usr\
 
@@ -18,3 +18,8 @@
 
 .PATH: ${DIST}/libcpp
 # ${DIST}/gcc
+
+localedir.h:
+	echo '#define LOCALEDIR /usr/share/locale'  ${.TARGET}
+
+init.o: localedir.h



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:11:04 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
some of the way towards working.  there's a couple of hacks in there that
need to be cleaned up before this is properly finished.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.3 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.3	Tue Jun 28 04:23:01 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jun 28 10:11:04 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2011/06/28 04:23:01 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/06/28 10:11:04 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -10,7 +10,9 @@
 		-DTARGET_NAME=\${MACHINE_GNU_PLATFORM}\
 HOST_CPPFLAGS+=	-I. -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 DPSRCS+=	insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h
-CPPFLAGS.prefix.c+= -DPREFIX=\/usr\
+CPPFLAGS.prefix.c+=	-DPREFIX=\/usr\
+CPPFLAGS.cppdefault.c+=	-DPREFIX=\/usr\
+CPPFLAGS+=	-I${DIST}/libgcc
 
 .include bsd.lib.mk
 
@@ -72,6 +74,9 @@
 tm-preds.h: genpreds ${G_md_file}
 	${_MKTARGET_CREATE}
 	./genpreds -h ${G_md_file} ${.TARGET}
+tm-constrs.h: genpreds ${G_md_file}
+	${_MKTARGET_CREATE}
+	./genpreds -c ${G_md_file} ${.TARGET}
 insn-preds.c: genpreds ${G_md_file}
 	${_MKTARGET_CREATE}
 	./genpreds ${G_md_file} ${.TARGET}
@@ -88,19 +93,24 @@
 	${_MKTARGET_LINK}
 	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
 
+.if 0
 gtyp-input.list: Makefile
 	for f in ${G_GTFILES}; do echo $f; done  ${.TARGET}
 CLEANFILES+=	gtyp-input.list
+.endif
+
+gtyp-input.list.tmp: ${GCCARCH}/gtyp-input.list
+	sed s#SRCDIR#${DIST}/#  ${.ALLSRC}  ${.TARGET}
 
 gtype-desc.c: gtype-desc.h
-gtype-desc.h: gengtype
+gtype-desc.h: gengtype gtyp-input.list.tmp
 	${_MKTARGET_CREATE}
 	rm -f auto-host.h
 	ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
-	./gengtype ${DIST} gtyp-input.list
+	./gengtype ${DIST} gtyp-input.list.tmp
 # gengtype is the real need for options.h
 gengtype.lo gengtype-lex.lo gengtype-parse.lo: ${HH} gtyp-gen.h config.h options.h
-gengtype: gengtype.lo gengtype-lex.lo gengtype-parse.lo build-errors.lo gtyp-input.list
+gengtype: gengtype.lo gengtype-lex.lo gengtype-parse.lo build-errors.lo
 	${_MKTARGET_LINK}
 	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
 
@@ -266,19 +276,22 @@
 
 EXTRADEPENDS=		${G_BUILD_RTL:.o=.lo} ${G_BUILD_SUPPORT:.o=.lo} \
 			${G_BUILD_PRINT:.o=.lo} ${G_BUILD_ERRORS:.o=.lo}
-.for f in attr.h codes.h config.h emit.c extract.c flags.h opinit.c output.c \
+LDFLAGS.genautomata+=	-lm
+
+.for f in attr.h attrtab.c automata.c codes.h config.h emit.c extract.c flags.h opinit.c output.c \
 	  peep.c recog.c
 CLEANFILES+=		gen${f:R} insn-${f}
 
 gen${f:R}.lo: ${HH}
 gen${f:R}: gen${f:R}.lo ${EXTRADEPENDS} 
 	${_MKTARGET_LINK}
-	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
+	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
 insn-${f}: gen${f:R} ${G_md_file}
 	${_MKTARGET_CREATE}
 	./gen${f:R} ${G_md_file} ${.TARGET}
 .endfor
 
+.if 0
 #
 # One of these things is not like the other
 #
@@ -291,6 +304,7 @@
 insn-attrtab.c: genattrtab ${G_md_file}
 	${_MKTARGET_CREATE}
 	./genattrtab ${G_md_file} ${.TARGET}
+.endif
 
 #
 # Required hard-coded dependancies.
@@ -305,6 +319,10 @@
 toplev.d toplev.o: options.h
 coverage.d: gcov-iov.h
 gcov-io.h: gcov-iov.h
+alias.d alias.o: insn-constants.h tm_p.h tm-preds.h
+cgraphunit.d cgraphunit.o: gcov-io.h
+# XXX
+i386.d i386.o: tm-constrs.h
 
 COPTS+=-Wno-stack-protector
 



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:14:41 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.1 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Jun 28 10:14:41 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 10:14:41 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,13 +7,19 @@
 
 LIB=		frontend
 
-SRCS=		gcc.c version.c intl.c prefix.c
+SRCS=		gcc.c version.c intl.c prefix.c opts-common.c
+
+.if ${MACHINE_ARCH} == x86_64
+SRCS+=		driver-i386.c
+.PATH:		${DIST}/gcc/config/i386
+.endif
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
 		-DPREFIX=\/usr\ \
 		-DDEFAULT_TARGET_VERSION=\${G_version}\ \
-		-DDEFAULT_TARGET_MACHINE=\${MACHINE_GNU_PLATFORM}\
+		-DDEFAULT_TARGET_MACHINE=\${MACHINE_GNU_PLATFORM}\ \
+		-DCONFIGURE_SPECS=\\
 HOST_CPPFLAGS+=	-I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 
 DPSRCS+=	specs.h



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:16 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.libdecnumber
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64: config.h

Log Message:
build libdecnumber.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.5 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.6
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.5	Tue Jun 28 09:28:22 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Jun 28 10:15:15 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.5 2011/06/28 09:28:22 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.6 2011/06/28 10:15:15 mrg Exp $
 
 .include bsd.own.mk
 
@@ -22,7 +22,7 @@
 FRONTENDOBJ!=		cd ${.CURDIR}/../frontend  ${PRINTOBJDIR}
 BACKENDOBJ!=		cd ${.CURDIR}/../backend  ${PRINTOBJDIR}
 LIBCPPOBJ!=		cd ${.CURDIR}/../libcpp  ${PRINTOBJDIR}
-LIBDECNUMBEROBJ!=	cd ${.CURDIR}/../../lib/libdecnumber  ${PRINTOBJDIR}
+LIBDECNUMBEROBJ!=	cd ${.CURDIR}/../libdecnumber  ${PRINTOBJDIR}
 
 HOSTLIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty  ${PRINTOBJDIR}
 HOSTLIBIBERTY=		${HOSTLIBIBERTYOBJ}/libiberty/libiberty.a

Added files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber
diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.1
--- /dev/null	Tue Jun 28 10:15:16 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber	Tue Jun 28 10:15:15 2011
@@ -0,0 +1,4 @@
+#	$NetBSD: Makefile.libdecnumber,v 1.1 2011/06/28 10:15:15 mrg Exp $
+
+DPADD+=		${LIBDECNUMBEROBJ}/libdecnumber.a
+LDADD+=		${LIBDECNUMBEROBJ}/libdecnumber.a

Index: src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile:1.1
--- /dev/null	Tue Jun 28 10:15:16 2011
+++ src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile	Tue Jun 28 10:15:15 2011
@@ -0,0 +1,20 @@
+#	$NetBSD
+
+DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
+GNUHOSTDIST=	${DIST}
+
+NOLINT=		# defined
+NOPIC=		# defined
+NOPROFILE=	# defined
+
+.include bsd.own.mk
+
+LIB=		decnumber
+
+SRCS=		decNumber.c decContext.c decimal32.c decimal64.c decimal128.c
+CPPFLAGS+=	-I${.CURDIR}/arch/${MACHINE_ARCH} -I${DIST}/libdecnumber
+CPPFLAGS+=	-I${DIST}/libgcc
+
+.include bsd.lib.mk
+
+.PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd

Index: src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h:1.1
--- /dev/null	Tue Jun 28 10:15:16 2011
+++ src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h	Tue Jun 28 10:15:16 2011
@@ -0,0 +1,99 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: 	NetBSD: mknative-gcc,v 1.50 2011/06/28 04:30:32 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+/* config.h.  Generated from config.in by configure.  */
+/* config.in.  Generated from configure.ac by autoheader.  */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* Define to 1 if you have the ctype.h header file. */
+#define HAVE_CTYPE_H 1
+
+/* Define to 1 if you have the inttypes.h header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the memory.h header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the stddef.h header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define to 1 if you have the stdint.h header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the stdio.h header file. */
+#define HAVE_STDIO_H 1
+
+/* Define to 1 if you have the stdlib.h header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the strings.h header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the string.h header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the sys/stat.h header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the sys/types.h header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the unistd.h header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT gcc-b...@gcc.gnu.org
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME libdecnumber
+
+/* Define to the full name and version of this package. */
+#define 

CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:40 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.1 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.1	Tue Jun 21 06:03:13 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Jun 28 10:15:40 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:13 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 10:15:40 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -6,7 +6,13 @@
 
 .include ../Makefile.backend
 .include ../Makefile.libcpp
+.include ../Makefile.libdecnumber
+
+# VER_CPPFLAGS from Makefile.inc
+CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
 
 COPTS+=	-Wno-stack-protector
 
+LDADD+=	-lintl -lgmp -lmpfr -lmpc -lz
+
 .PATH: ${DIST}/gcc ${G_out_file:H}



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/libcpp/arch/x86_64

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:17:17 UTC 2011

Removed Files:
src/external/gpl3/gcc/usr.bin/gcc/libcpp/arch/x86_64: config.h

Log Message:
delete file in the wrong directory.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/libcpp/arch/x86_64/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:00:09 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/g++: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile

Log Message:
these need -lintl now.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/g++/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/g++/Makefile
diff -u src/external/gpl3/gcc/usr.bin/g++/Makefile:1.1 src/external/gpl3/gcc/usr.bin/g++/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/g++/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/g++/Makefile	Wed Jun 29 02:00:09 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/29 02:00:09 mrg Exp $
 
 PROG=		gplusplus
 PROGNAME=	g++
@@ -15,3 +15,6 @@
 .include ../Makefile.frontend
 
 .PATH: ${DIST}/gcc ${DIST}/gcc/cp
+
+LDADD+=		-lintl
+DPADD+=		${LIBINTL}

Index: src/external/gpl3/gcc/usr.bin/gcc/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.1 src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/Makefile	Wed Jun 29 02:00:09 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/29 02:00:09 mrg Exp $
 
 .include bsd.own.mk
 
@@ -23,4 +23,7 @@
 
 COPTS.builtins.c = -Wno-stack-protector
 
+LDADD+=		-lintl
+DPADD+=		${LIBINTL}
+
 gcc.info: gcc-vers.texi



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:14:28 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.frontend

Log Message:
update the gcc-vers.texi generation and fix various build issues.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.frontend

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.1 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.1	Tue Jun 21 06:03:13 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Wed Jun 29 02:14:28 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.1 2011/06/21 06:03:13 mrg Exp $
+#	$NetBSD: Makefile.frontend,v 1.2 2011/06/29 02:14:28 mrg Exp $
 
 BINDIR=		/usr/bin
 
@@ -18,6 +18,12 @@
 		echo @set DEVELOPMENT; \
 	else \
 		echo @clear DEVELOPMENT; \
-	fi)  ${.TARGET}
+	fi; \
+	echo @set srcdir $(DIST)/gcc; \
+	if [ -n $(PKGVERSION) ]; then \
+	  echo @set VERSION_PACKAGE $(PKGVERSION); \
+	fi; \
+	echo @set BUGURL $(BUGURL); \
+	)  ${.TARGET}
 
 CLEANFILES+=	gcc-vers.texi



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:15:13 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
add G_BUGURL and G_PKGVERSION variables that are unquoted versions.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.6 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.7
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.6	Tue Jun 28 10:15:15 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Jun 29 02:15:13 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.6 2011/06/28 10:15:15 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.7 2011/06/29 02:15:13 mrg Exp $
 
 .include bsd.own.mk
 
@@ -46,8 +46,10 @@
 .endif
 
 # XXX pull this out of our configs
-G_BUGURL_s=\http://www.NetBSD.org/Misc/send-pr.html\
-G_PKGVERSION_s=\(NetBSD nb1 20110620) \
+G_BUGURL=http://www.NetBSD.org/Misc/send-pr.html
+G_BUGURL_s=\${G_BUG_URL}\
+G_PKGVERSION_s=(NetBSD nb1 20110620) 
+G_PKGVERSION_s=\${G_PKGVERSION} \
 
 VER_CPPFLAGS=			-DBUGURL=${G_BUGURL_s} \
 -DPKGVERSION=${G_PKGVERSION_s} \



CVS commit: src/external/gpl3/gcc/usr.bin/libdecnumber

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:15:34 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile

Log Message:
use LIBISPRIVATE here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
diff -u src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile:1.1 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile:1.1	Tue Jun 28 10:15:15 2011
+++ src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile	Wed Jun 29 02:15:34 2011
@@ -3,9 +3,7 @@
 DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
 GNUHOSTDIST=	${DIST}
 
-NOLINT=		# defined
-NOPIC=		# defined
-NOPROFILE=	# defined
+LIBISPRIVATE=   yes
 
 .include bsd.own.mk
 



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:16:52 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
move gcc-options.c generation in here.
handle i386 in here as well.

XXX: need to see about mknative-gcc handling eg, driver-i386.c


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2	Tue Jun 28 10:14:41 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Wed Jun 29 02:16:52 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/28 10:14:41 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/06/29 02:16:52 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,9 +7,10 @@
 
 LIB=		frontend
 
-SRCS=		gcc.c version.c intl.c prefix.c opts-common.c
+SRCS=		gcc.c version.c intl.c prefix.c opts-common.c gcc-options.c
 
-.if ${MACHINE_ARCH} == x86_64
+# XXX
+.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386
 SRCS+=		driver-i386.c
 .PATH:		${DIST}/gcc/config/i386
 .endif
@@ -33,11 +34,19 @@
 
 .PATH: ${DIST}/gcc
 
-#
 # Build the specs.h file
-#
 CLEANFILES+=	specs.h
 specs.h: Makefile
 	for f in cp objc; do \
 		echo #include \$$f/lang-specs.h\; \
 	done  specs.h
+
+# Build the options files
+optionlist: ${G_ALL_OPT_FILES} ${GCCARCH}/defs.mk Makefile ${DIST}/gcc/opt-gather.awk
+	${TOOL_AWK} -f ${DIST}/gcc/opt-gather.awk ${G_ALL_OPT_FILES}  ${.TARGET}
+
+CPPFLAGS.gcc-options.c=	-DGCC_DRIVER
+gcc-options.c: optionlist
+	${TOOL_AWK} -f ${DIST}/gcc/opt-functions.awk -f ${DIST}/gcc/optc-gen.awk \
+		-v header_name=config.h system.h coretypes.h tm.h  optionlist  ${.TARGET}
+CLEANFILES+=	optionlist gcc-options.c



CVS commit: src/external/gpl3/gcc/usr.bin/cpp

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:17:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile

Log Message:
make this build with GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.1 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Wed Jun 29 02:17:17 2011
@@ -1,11 +1,26 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/29 02:17:17 mrg Exp $
 
-.include bsd.own.mk
+# For ../Makefile.inc and bsd.own.mk
+.include bsd.init.mk
 
 PROG=		cpp
-SRCS=		cppspec.c
+SRCS=		gcc.c cppspec.c prefix.c version.c
+
+# XXX
+.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386
+SRCS+=		driver-i386.c
+.PATH:		${DIST}/gcc/config/i386
+.endif
 
 CPPFLAGS+=	-I${BACKENDOBJ}
+CPPFLAGS.prefix.c+=	-DPREFIX=\/usr\
+
+CPPFLAGS.gcc.c+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
+		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
+		-DPREFIX=\/usr\ \
+		-DDEFAULT_TARGET_VERSION=\${G_version}\ \
+		-DDEFAULT_TARGET_MACHINE=\${MACHINE_GNU_PLATFORM}\ \
+		-DCONFIGURE_SPECS=\\
 
 LINKS=		${BINDIR}/cpp ${BINDIR}/gcpp
 
@@ -17,6 +32,8 @@
 
 .include ../Makefile.frontend
 
+LDADD+=		-lintl
+
 .include bsd.info.mk
 
 .PATH: ${DIST}/gcc ${DIST}/gcc/doc



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:17:36 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
apply some .if checks upon dependancies.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.5 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.5	Wed Jun 29 02:01:37 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Wed Jun 29 02:17:35 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2011/06/29 02:01:37 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2011/06/29 02:17:35 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -327,7 +327,9 @@
 cgraphunit.d cgraphunit.o: gcov-io.h
 vec.lo: gtype-desc.h
 # XXX
+.if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64
 i386.d i386.o: tm-constrs.h
+.endif
 
 COPTS+=-Wno-stack-protector
 



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:26:47 UTC 2011

Added Files:
src/external/gpl3/gcc/usr.bin/cpp: cpp.1
src/external/gpl3/gcc/usr.bin/g++: g++.1
src/external/gpl3/gcc/usr.bin/gcc: gcc.1
src/external/gpl3/gcc/usr.bin/gcov: gcov.1

Log Message:
add the generated manuals.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/cpp/cpp.1
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/g++/g++.1
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/gcc.1
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcov/gcov.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffs are larger than 1MB and have been omitted


CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:27:17 UTC 2011

Removed Files:
src/external/gpl3/gcc/usr.bin/protoize: Makefile
src/external/gpl3/gcc/usr.bin/unprotoize: Makefile

Log Message:
protoize/unprotoize are no more.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/protoize/Makefile
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/unprotoize/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:28:22 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
- add LIBDECNUMBEROBJ.
- update the VER_CPPFLAGS for GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcov

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:31:11 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
this needs -lintl now.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/gcov/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/libcpp

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 09:31:55 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/libcpp: Makefile

Log Message:
init.o wants a localedir.h to define LOCALEDIR now.  make it so.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:11:04 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
some of the way towards working.  there's a couple of hacks in there that
need to be cleaned up before this is properly finished.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:14:41 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:16 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.libdecnumber
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64: config.h

Log Message:
build libdecnumber.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:40 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



<    1   2   3   4   >