Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc grab insn-modes.h, and do the libgcc bootstrap fro...



details:   https://anonhg.NetBSD.org/src/rev/db4a03635b34
branches:  trunk
changeset: 344170:db4a03635b34
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 16 11:16:05 2016 +0000

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

diffstat:

 tools/gcc/mknative-gcc |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r aff03f2c91e5 -r db4a03635b34 tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Wed Mar 16 10:56:20 2016 +0000
+++ b/tools/gcc/mknative-gcc    Wed Mar 16 11:16:05 2016 +0000
@@ -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 @@
        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 @@
        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



Home | Main Index | Thread Index | Old Index