Source-Changes-HG archive

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

[src/trunk]: src Make sljit usable on sparc64 32-bit kernels.



details:   https://anonhg.NetBSD.org/src/rev/3aa0dab0c468
branches:  trunk
changeset: 793273:3aa0dab0c468
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sat Feb 01 17:01:35 2014 +0000

description:
Make sljit usable on sparc64 32-bit kernels.

diffstat:

 distrib/sets/lists/comp/md.sparc     |  3 ++-
 distrib/sets/lists/comp/md.sparc64   |  3 ++-
 sys/arch/sparc64/conf/files.sparc64  |  5 ++++-
 sys/arch/sparc64/include/Makefile    |  4 ++--
 sys/arch/sparc64/include/sljitarch.h |  6 ++++++
 5 files changed, 16 insertions(+), 5 deletions(-)

diffs (81 lines):

diff -r c36b935b324e -r 3aa0dab0c468 distrib/sets/lists/comp/md.sparc
--- a/distrib/sets/lists/comp/md.sparc  Sat Feb 01 16:39:52 2014 +0000
+++ b/distrib/sets/lists/comp/md.sparc  Sat Feb 01 17:01:35 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc,v 1.82 2013/11/06 00:53:39 mrg Exp $
+# $NetBSD: md.sparc,v 1.83 2014/02/01 17:01:35 nakayama Exp $
 ./usr/include/gcc-4.5/tgmath.h                 comp-c-include          gcccmds,gcc=45
 ./usr/include/gcc-4.8/tgmath.h                 comp-c-include          gcccmds,gcc=48
 ./usr/include/gcc-4.8/visintrin.h              comp-c-include          gcccmds,gcc=48
@@ -131,6 +131,7 @@
 ./usr/include/sparc64/rwlock.h                 comp-c-include
 ./usr/include/sparc64/setjmp.h                 comp-c-include
 ./usr/include/sparc64/signal.h                 comp-c-include
+./usr/include/sparc64/sljitarch.h              comp-c-include
 ./usr/include/sparc64/stdarg.h                 comp-obsolete           obsolete
 ./usr/include/sparc64/svr4_machdep.h           comp-c-include
 ./usr/include/sparc64/trap.h                   comp-c-include
diff -r c36b935b324e -r 3aa0dab0c468 distrib/sets/lists/comp/md.sparc64
--- a/distrib/sets/lists/comp/md.sparc64        Sat Feb 01 16:39:52 2014 +0000
+++ b/distrib/sets/lists/comp/md.sparc64        Sat Feb 01 17:01:35 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc64,v 1.178 2014/01/02 16:46:40 tho Exp $
+# $NetBSD: md.sparc64,v 1.179 2014/02/01 17:01:35 nakayama Exp $
 ./usr/include/g++/bits/sparc                   comp-c-include
 ./usr/include/g++/bits/sparc/c++config.h       comp-c-include          gcccmds,gcc=48,compat
 ./usr/include/g++/bits/sparc64                 comp-c-include
@@ -134,6 +134,7 @@
 ./usr/include/sparc64/rwlock.h                 comp-c-include
 ./usr/include/sparc64/setjmp.h                 comp-c-include
 ./usr/include/sparc64/signal.h                 comp-c-include
+./usr/include/sparc64/sljitarch.h              comp-c-include
 ./usr/include/sparc64/stdarg.h                 comp-obsolete           obsolete
 ./usr/include/sparc64/svr4_machdep.h           comp-c-include
 ./usr/include/sparc64/trap.h                   comp-c-include
diff -r c36b935b324e -r 3aa0dab0c468 sys/arch/sparc64/conf/files.sparc64
--- a/sys/arch/sparc64/conf/files.sparc64       Sat Feb 01 16:39:52 2014 +0000
+++ b/sys/arch/sparc64/conf/files.sparc64       Sat Feb 01 17:01:35 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.sparc64,v 1.144 2013/12/28 11:09:33 nakayama Exp $
+#      $NetBSD: files.sparc64,v 1.145 2014/02/01 17:01:35 nakayama Exp $
 
 # @(#)files.sparc64    8.1 (Berkeley) 7/19/93
 # sparc64-specific configuration info
@@ -265,6 +265,9 @@
 # IEEE1394 Support
 include "dev/ieee1394/files.ieee1394"
 
+# Stack-less Just-In-Time compiler
+include "external/bsd/sljit/conf/files.sljit"
+
 #
 # Compatibility modules
 #
diff -r c36b935b324e -r 3aa0dab0c468 sys/arch/sparc64/include/Makefile
--- a/sys/arch/sparc64/include/Makefile Sat Feb 01 16:39:52 2014 +0000
+++ b/sys/arch/sparc64/include/Makefile Sat Feb 01 17:01:35 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2011/07/17 20:54:47 joerg Exp $
+#      $NetBSD: Makefile,v 1.29 2014/02/01 17:01:35 nakayama Exp $
 
 INCSDIR= /usr/include/sparc64
 
@@ -17,7 +17,7 @@
        oldmon.h openpromio.h \
        param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
        reg.h reloc.h remote-sl.h rwlock.h \
-       setjmp.h signal.h svr4_machdep.h \
+       setjmp.h signal.h sljitarch.h svr4_machdep.h \
        trap.h types.h \
        vmparam.h vuid_event.h \
        wchar_limits.h \
diff -r c36b935b324e -r 3aa0dab0c468 sys/arch/sparc64/include/sljitarch.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sparc64/include/sljitarch.h      Sat Feb 01 17:01:35 2014 +0000
@@ -0,0 +1,6 @@
+/*     $NetBSD: sljitarch.h,v 1.1 2014/02/01 17:01:35 nakayama Exp $   */
+
+/* Only 32-bit SPARCs are supported. */
+#ifndef __arch64__
+#include <sparc/sljitarch.h>
+#endif



Home | Main Index | Thread Index | Old Index