Module Name:    src
Committed By:   alnsn
Date:           Sat Nov 24 14:00:36 UTC 2012

Modified Files:
        src/distrib/sets/lists/comp: md.evbmips
        src/share/mk: bsd.own.mk
        src/sys/arch/evbmips/include: Makefile
Added Files:
        src/sys/arch/evbmips/include: sljitarch.h

Log Message:
Add sljit and bpfjit to evbmips. Not enabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/comp/md.evbmips
cvs rdiff -u -r1.714 -r1.715 src/share/mk/bsd.own.mk
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/include/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/include/sljitarch.h

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

Modified files:

Index: src/distrib/sets/lists/comp/md.evbmips
diff -u src/distrib/sets/lists/comp/md.evbmips:1.16 src/distrib/sets/lists/comp/md.evbmips:1.17
--- src/distrib/sets/lists/comp/md.evbmips:1.16	Sun Jul 17 20:54:31 2011
+++ src/distrib/sets/lists/comp/md.evbmips	Sat Nov 24 14:00:35 2012
@@ -1,4 +1,4 @@
-# $NetBSD: md.evbmips,v 1.16 2011/07/17 20:54:31 joerg Exp $
+# $NetBSD: md.evbmips,v 1.17 2012/11/24 14:00:35 alnsn Exp $
 ./usr/include/evbmips				comp-c-include
 ./usr/include/evbmips/_G_config.h		comp-obsolete		obsolete
 ./usr/include/evbmips/ansi.h			comp-c-include
@@ -52,6 +52,7 @@
 ./usr/include/evbmips/rwlock.h			comp-c-include
 ./usr/include/evbmips/setjmp.h			comp-c-include
 ./usr/include/evbmips/signal.h			comp-c-include
+./usr/include/evbmips/sljitarch.h		comp-c-include
 ./usr/include/evbmips/stdarg.h			comp-obsolete		obsolete
 ./usr/include/evbmips/trap.h			comp-c-include
 ./usr/include/evbmips/types.h			comp-c-include

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.714 src/share/mk/bsd.own.mk:1.715
--- src/share/mk/bsd.own.mk:1.714	Thu Nov 22 21:41:22 2012
+++ src/share/mk/bsd.own.mk	Sat Nov 24 14:00:35 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.714 2012/11/22 21:41:22 pooka Exp $
+#	$NetBSD: bsd.own.mk,v 1.715 2012/11/24 14:00:35 alnsn Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -804,8 +804,7 @@ SOFTFLOAT_BITS=	32
     ${MACHINE_ARCH} == "sparc" 
 MKSLJIT?=	yes
 .else
-# Don't let this build where it really isn't supported.
-MKSLJIT:=	no
+MKSLJIT?=	no
 .endif
 
 #

Index: src/sys/arch/evbmips/include/Makefile
diff -u src/sys/arch/evbmips/include/Makefile:1.14 src/sys/arch/evbmips/include/Makefile:1.15
--- src/sys/arch/evbmips/include/Makefile:1.14	Sun Jul 17 20:54:39 2011
+++ src/sys/arch/evbmips/include/Makefile	Sat Nov 24 14:00:36 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2011/07/17 20:54:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.15 2012/11/24 14:00:36 alnsn Exp $
 
 INCSDIR=/usr/include/evbmips
 
@@ -16,7 +16,7 @@ INCS=	ansi.h asm.h \
 	param.h pcb.h \
 	pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
 	reg.h regdef.h regnum.h reloc.h rwlock.h \
-	setjmp.h signal.h \
+	setjmp.h signal.h sljitarch.h \
 	trap.h types.h \
 	vmparam.h \
 	wchar_limits.h

Added files:

Index: src/sys/arch/evbmips/include/sljitarch.h
diff -u /dev/null src/sys/arch/evbmips/include/sljitarch.h:1.1
--- /dev/null	Sat Nov 24 14:00:36 2012
+++ src/sys/arch/evbmips/include/sljitarch.h	Sat Nov 24 14:00:36 2012
@@ -0,0 +1,34 @@
+/*	$NetBSD: sljitarch.h,v 1.1 2012/11/24 14:00:36 alnsn Exp $	*/
+
+/*-
+ * Copyright (c) 2012 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef EVBMIPS_SLJITARCH_H
+#define EVBMIPS_SLJITARCH_H
+
+#define SLJIT_CONFIG_MIPS_32 1
+
+#endif

Reply via email to