Module Name:    src
Committed By:   mrg
Date:           Wed Mar 16 11:16:05 UTC 2016

Modified Files:
        src/tools/gcc: mknative-gcc

Log Message:
grab insn-modes.h, and do the libgcc bootstrap from gcc as well.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/tools/gcc/mknative-gcc

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

Modified files:

Index: src/tools/gcc/mknative-gcc
diff -u src/tools/gcc/mknative-gcc:1.85 src/tools/gcc/mknative-gcc:1.86
--- src/tools/gcc/mknative-gcc:1.85	Tue Mar 15 21:38:32 2016
+++ src/tools/gcc/mknative-gcc	Wed Mar 16 11:16:05 2016
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: mknative-gcc,v 1.85 2016/03/15 21:38:32 mrg Exp $
+#	$NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of gcc.
@@ -284,6 +284,11 @@ get_gcc_bootstrap () {
 	for f in auto-host tm config; do
 		write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f.h <$_TMPDIR/gcc/$f.h
 	done
+	# XXXGCC5 don't really want to copy insn-modes as we build
+	# it but libgcc needs to too early yet
+	for f in insn-modes; do
+		write_c $_OUTDIRBASE/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f.h <$_TMPDIR/gcc/$f.h
+	done
 }
 
 get_gcc () {
@@ -424,6 +429,7 @@ gcc*)
 	get_libgcc gcc
 	get_libgcov gcc $_PLATFORM/libgcc/Makefile
 	get_crtstuff crtstuff
+	get_gcc_bootstrap gcc
 	get_gcc_libiberty gcc
 	get_libobjc libobjc
 	get_libstdcxx_v3 libstdc++-v3 gcc

Reply via email to