Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpc/stand Add __COMPILER_UINT64__="unsigned __int64...



details:   https://anonhg.NetBSD.org/src/rev/c0c078d9dd71
branches:  trunk
changeset: 508617:c0c078d9dd71
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sun Apr 15 12:27:32 2001 +0000

description:
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

diffstat:

 sys/arch/hpc/stand/dspgen/do_subst.awk    |  10 +++++++---
 sys/arch/hpc/stand/hpcboot/hpcboot.config |   3 ++-
 sys/arch/hpc/stand/libsa/libsa.config     |   3 ++-
 sys/arch/hpc/stand/libz/libz.config       |   3 ++-
 4 files changed, 13 insertions(+), 6 deletions(-)

diffs (82 lines):

diff -r e76e7265fa02 -r c0c078d9dd71 sys/arch/hpc/stand/dspgen/do_subst.awk
--- a/sys/arch/hpc/stand/dspgen/do_subst.awk    Sun Apr 15 11:59:43 2001 +0000
+++ b/sys/arch/hpc/stand/dspgen/do_subst.awk    Sun Apr 15 12:27:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: do_subst.awk,v 1.3 2001/03/13 16:31:31 uch Exp $
+# $NetBSD: do_subst.awk,v 1.4 2001/04/15 12:27:32 takemura Exp $
 #
 # Copyright (c) 1999, 2000 Christopher G. Demetriou.  All rights reserved.
 #
@@ -96,7 +96,9 @@
                if (CPPDEFS != "") {
                        CPPDEFS=CPPDEFS " "
                }
-               CPPDEFS=CPPDEFS "/D \"" a[i] "\""
+               a[i] = gensub("([^\\\\]|^)#", "\\1 ", "g", a[i])
+               a[i] = gensub("\\\\#", "#", "g", a[i])
+               CPPDEFS=CPPDEFS "/D " a[i]
        }
        sz = split(ENVIRON["CPPDEF_LIST"], a, "[ \t\n]+");
        for (i = 1; i <= sz; i++) {
@@ -106,7 +108,9 @@
                if (CPPDEFS != "") {
                        CPPDEFS=CPPDEFS " "
                }
-               CPPDEFS=CPPDEFS "/D \"" a[i] "\""
+               a[i] = gensub("([^\\\\]|^)#", "\\1 ", "g", a[i])
+               a[i] = gensub("\\\\#", "#", "g", a[i])
+               CPPDEFS=CPPDEFS "/D " a[i]
        }
 
        INCDIRS=""
diff -r e76e7265fa02 -r c0c078d9dd71 sys/arch/hpc/stand/hpcboot/hpcboot.config
--- a/sys/arch/hpc/stand/hpcboot/hpcboot.config Sun Apr 15 11:59:43 2001 +0000
+++ b/sys/arch/hpc/stand/hpcboot/hpcboot.config Sun Apr 15 12:27:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hpcboot.config,v 1.2 2001/03/22 18:20:35 uch Exp $
+# $NetBSD: hpcboot.config,v 1.3 2001/04/15 12:27:33 takemura Exp $
 # config file/script to generate project file (.dsp/.vcp) for hpcboot
 
 TYPE=application
@@ -80,4 +80,5 @@
        LIBSA_RENAME_PRINTF
        LIBKERN_INLINE=__inline
        __COMPILER_INT64__=__int64
+       __COMPILER_UINT64__="unsigned#__int64"
 '
diff -r e76e7265fa02 -r c0c078d9dd71 sys/arch/hpc/stand/libsa/libsa.config
--- a/sys/arch/hpc/stand/libsa/libsa.config     Sun Apr 15 11:59:43 2001 +0000
+++ b/sys/arch/hpc/stand/libsa/libsa.config     Sun Apr 15 12:27:32 2001 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: libsa.config,v 1.1 2001/02/09 18:35:35 uch Exp $
+# $NetBSD: libsa.config,v 1.2 2001/04/15 12:27:33 takemura Exp $
 
 # config file/script to generate project file (.dsp) for libsa
 
@@ -32,6 +32,7 @@
        LIBSA_RENAME_PRINTF
        LIBKERN_INLINE=__inline
        __COMPILER_INT64__=__int64
+       __COMPILER_UINT64__="unsigned#__int64"
 '
 INCDIR_LIST='
        .
diff -r e76e7265fa02 -r c0c078d9dd71 sys/arch/hpc/stand/libz/libz.config
--- a/sys/arch/hpc/stand/libz/libz.config       Sun Apr 15 11:59:43 2001 +0000
+++ b/sys/arch/hpc/stand/libz/libz.config       Sun Apr 15 12:27:32 2001 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: libz.config,v 1.1 2001/02/09 18:35:40 uch Exp $
+# $NetBSD: libz.config,v 1.2 2001/04/15 12:27:33 takemura Exp $
 
 # config file/script to generate project file (.dsp/.vcp) for libz
 
@@ -25,6 +25,7 @@
        LIBSA_RENAME_PRINTF
        LIBKERN_INLINE=__inline
        __COMPILER_INT64__=__int64
+       __COMPILER_UINT64__="unsigned#__int64"
 '
 INCDIR_LIST='
        .



Home | Main Index | Thread Index | Old Index