Enable sljit and bpfjit on powerpc.
This commit is contained in:
parent
988b97e4aa
commit
5345f80ec7
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: ad.powerpc,v 1.63 2013/11/01 07:48:31 mrg Exp $
|
||||
# $NetBSD: ad.powerpc,v 1.64 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/bin/elf2aout comp-sysutil-bin
|
||||
./usr/bin/psim comp-debug-bin gdb
|
||||
./usr/include/altivec.h comp-obsolete obsolete
|
||||
|
@ -96,6 +96,7 @@
|
|||
./usr/include/powerpc/rwlock.h comp-c-include
|
||||
./usr/include/powerpc/setjmp.h comp-c-include
|
||||
./usr/include/powerpc/signal.h comp-c-include
|
||||
./usr/include/powerpc/sljitarch.h comp-c-include
|
||||
./usr/include/powerpc/spr.h comp-c-include
|
||||
./usr/include/powerpc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/powerpc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.amigappc,v 1.10 2013/08/11 22:29:02 joerg Exp $
|
||||
# $NetBSD: md.amigappc,v 1.11 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/amigappc comp-c-include
|
||||
./usr/include/amigappc/_G_config.h comp-obsolete obsolete
|
||||
./usr/include/amigappc/ansi.h comp-c-include
|
||||
|
@ -50,6 +50,7 @@
|
|||
./usr/include/amigappc/rwlock.h comp-c-include
|
||||
./usr/include/amigappc/setjmp.h comp-c-include
|
||||
./usr/include/amigappc/signal.h comp-c-include
|
||||
./usr/include/amigappc/sljitarch.h comp-c-include
|
||||
./usr/include/amigappc/spr.h comp-obsolete obsolete
|
||||
./usr/include/amigappc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/amigappc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.bebox,v 1.36 2013/01/16 16:01:06 christos Exp $
|
||||
# $NetBSD: md.bebox,v 1.37 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/bebox comp-c-include
|
||||
./usr/include/bebox/_G_config.h comp-obsolete obsolete
|
||||
./usr/include/bebox/ansi.h comp-c-include
|
||||
|
@ -56,6 +56,7 @@
|
|||
./usr/include/bebox/rwlock.h comp-c-include
|
||||
./usr/include/bebox/setjmp.h comp-c-include
|
||||
./usr/include/bebox/signal.h comp-c-include
|
||||
./usr/include/bebox/sljitarch.h comp-c-include
|
||||
./usr/include/bebox/spkr.h comp-c-include
|
||||
./usr/include/bebox/spr.h comp-obsolete obsolete
|
||||
./usr/include/bebox/stdarg.h comp-obsolete obsolete
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.evbppc,v 1.12 2011/07/17 20:54:31 joerg Exp $
|
||||
# $NetBSD: md.evbppc,v 1.13 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/evbppc comp-c-include
|
||||
./usr/include/evbppc/_G_config.h comp-obsolete obsolete
|
||||
./usr/include/evbppc/ansi.h comp-c-include
|
||||
|
@ -48,6 +48,7 @@
|
|||
./usr/include/evbppc/rwlock.h comp-c-include
|
||||
./usr/include/evbppc/setjmp.h comp-c-include
|
||||
./usr/include/evbppc/signal.h comp-c-include
|
||||
./usr/include/evbppc/sljitarch.h comp-c-include
|
||||
./usr/include/evbppc/spr.h comp-obsolete obsolete
|
||||
./usr/include/evbppc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/evbppc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.ibmnws,v 1.10 2011/07/17 20:54:31 joerg Exp $
|
||||
# $NetBSD: md.ibmnws,v 1.11 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ibmnws comp-c-include
|
||||
./usr/include/ibmnws/_G_config.h comp-obsolete obsolete
|
||||
./usr/include/ibmnws/ansi.h comp-c-include
|
||||
|
@ -51,6 +51,7 @@
|
|||
./usr/include/ibmnws/rwlock.h comp-c-include
|
||||
./usr/include/ibmnws/setjmp.h comp-c-include
|
||||
./usr/include/ibmnws/signal.h comp-c-include
|
||||
./usr/include/ibmnws/sljitarch.h comp-c-include
|
||||
./usr/include/ibmnws/spr.h comp-obsolete obsolete
|
||||
./usr/include/ibmnws/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/ibmnws/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.macppc,v 1.37 2013/01/16 16:01:06 christos Exp $
|
||||
# $NetBSD: md.macppc,v 1.38 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/macppc comp-c-include
|
||||
./usr/include/macppc/_G_config.h comp-obsolete obsolete
|
||||
|
@ -56,6 +56,7 @@
|
|||
./usr/include/macppc/rwlock.h comp-c-include
|
||||
./usr/include/macppc/setjmp.h comp-c-include
|
||||
./usr/include/macppc/signal.h comp-c-include
|
||||
./usr/include/macppc/sljitarch.h comp-c-include
|
||||
./usr/include/macppc/spr.h comp-obsolete obsolete
|
||||
./usr/include/macppc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/macppc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.mvmeppc,v 1.14 2011/07/17 20:54:31 joerg Exp $
|
||||
# $NetBSD: md.mvmeppc,v 1.15 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/mvmeppc comp-c-include
|
||||
./usr/include/mvmeppc/_G_config.h comp-obsolete obsolete
|
||||
|
@ -52,6 +52,7 @@
|
|||
./usr/include/mvmeppc/rwlock.h comp-c-include
|
||||
./usr/include/mvmeppc/setjmp.h comp-c-include
|
||||
./usr/include/mvmeppc/signal.h comp-c-include
|
||||
./usr/include/mvmeppc/sljitarch.h comp-c-include
|
||||
./usr/include/mvmeppc/spr.h comp-obsolete obsolete
|
||||
./usr/include/mvmeppc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/mvmeppc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.ofppc,v 1.14 2013/01/16 16:01:06 christos Exp $
|
||||
# $NetBSD: md.ofppc,v 1.15 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/ofppc comp-c-include
|
||||
./usr/include/ofppc/_G_config.h comp-obsolete obsolete
|
||||
|
@ -47,6 +47,7 @@
|
|||
./usr/include/ofppc/rwlock.h comp-c-include
|
||||
./usr/include/ofppc/setjmp.h comp-c-include
|
||||
./usr/include/ofppc/signal.h comp-c-include
|
||||
./usr/include/ofppc/sljitarch.h comp-c-include
|
||||
./usr/include/ofppc/spr.h comp-obsolete obsolete
|
||||
./usr/include/ofppc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/ofppc/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.prep,v 1.28 2013/01/16 16:01:06 christos Exp $
|
||||
# $NetBSD: md.prep,v 1.29 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/prep comp-c-include
|
||||
./usr/include/prep/_G_config.h comp-obsolete obsolete
|
||||
|
@ -54,6 +54,7 @@
|
|||
./usr/include/prep/rwlock.h comp-c-include
|
||||
./usr/include/prep/setjmp.h comp-c-include
|
||||
./usr/include/prep/signal.h comp-c-include
|
||||
./usr/include/prep/sljitarch.h comp-c-include
|
||||
./usr/include/prep/spkr.h comp-c-include
|
||||
./usr/include/prep/spr.h comp-obsolete obsolete
|
||||
./usr/include/prep/stdarg.h comp-obsolete obsolete
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.rs6000,v 1.6 2013/01/16 16:01:06 christos Exp $
|
||||
# $NetBSD: md.rs6000,v 1.7 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/rs6000 comp-c-include
|
||||
./usr/include/rs6000/ansi.h comp-c-include
|
||||
|
@ -44,6 +44,7 @@
|
|||
./usr/include/rs6000/rwlock.h comp-c-include
|
||||
./usr/include/rs6000/setjmp.h comp-c-include
|
||||
./usr/include/rs6000/signal.h comp-c-include
|
||||
./usr/include/rs6000/sljitarch.h comp-c-include
|
||||
./usr/include/rs6000/spr.h comp-obsolete obsolete
|
||||
./usr/include/rs6000/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/rs6000/trap.h comp-c-include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: md.sandpoint,v 1.16 2011/07/17 20:54:31 joerg Exp $
|
||||
# $NetBSD: md.sandpoint,v 1.17 2013/11/17 14:34:11 alnsn Exp $
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/sandpoint comp-c-include
|
||||
./usr/include/sandpoint/_G_config.h comp-obsolete obsolete
|
||||
|
@ -53,6 +53,7 @@
|
|||
./usr/include/sandpoint/rwlock.h comp-c-include
|
||||
./usr/include/sandpoint/setjmp.h comp-c-include
|
||||
./usr/include/sandpoint/signal.h comp-c-include
|
||||
./usr/include/sandpoint/sljitarch.h comp-c-include
|
||||
./usr/include/sandpoint/spr.h comp-obsolete obsolete
|
||||
./usr/include/sandpoint/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/sandpoint/trap.h comp-c-include
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.23 2010/01/24 10:36:34 phx Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2013/11/17 14:34:11 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/amigappc
|
||||
|
||||
INCS= disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:11 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,10 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.23 2011/08/09 00:39:35 kiyohara Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2013/11/17 14:34:11 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/bebox
|
||||
|
||||
INCS= bootinfo.h \
|
||||
disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
spkr.h \
|
||||
vmparam.h
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:11 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.5 2005/12/11 12:17:12 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2013/11/17 14:34:11 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/evbppc
|
||||
|
||||
INCS= disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:11 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.4 2005/12/11 12:17:50 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2013/11/17 14:34:11 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/ibmnws
|
||||
|
||||
INCS= disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:11 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2005/12/11 12:18:06 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/macppc
|
||||
|
||||
|
@ -9,6 +9,7 @@ INCS= adbsys.h apmvar.h autoconf.h \
|
|||
grfioctl.h \
|
||||
intr.h \
|
||||
keyboard.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,10 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.7 2005/12/11 12:18:19 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/mvmeppc
|
||||
|
||||
INCS= bootinfo.h \
|
||||
disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: Makefile,v 1.19 2005/12/11 12:18:29 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/ofppc
|
||||
|
||||
INCS= disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files.powerpc,v 1.86 2013/09/19 23:29:25 christos Exp $
|
||||
# $NetBSD: files.powerpc,v 1.87 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
defflag opt_altivec.h ALTIVEC K_ALTIVEC PPC_HAVE_SPE
|
||||
defflag opt_openpic.h OPENPIC_DISTRIBUTE
|
||||
|
@ -90,3 +90,6 @@ include "compat/linux/arch/powerpc/files.linux_powerpc"
|
|||
file arch/powerpc/powerpc/linux_sigcode.S compat_linux
|
||||
file arch/powerpc/powerpc/linux_trap.c compat_linux
|
||||
file arch/powerpc/powerpc/linux_syscall.c compat_linux
|
||||
|
||||
# Stack-less Just-In-Time compiler
|
||||
include "external/bsd/sljit/conf/files.sljit"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.38 2011/07/17 20:54:45 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.39 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
.if !defined(INCSDIR)
|
||||
INCSDIR?= /usr/include/powerpc
|
||||
|
@ -17,7 +17,7 @@ INCS+= ansi.h aout_machdep.h asm.h \
|
|||
math.h mcontext.h mutex.h \
|
||||
param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
|
||||
reg.h reloc.h rwlock.h \
|
||||
setjmp.h signal.h \
|
||||
setjmp.h signal.h sljitarch.h \
|
||||
trap.h types.h \
|
||||
vmparam.h \
|
||||
wchar_limits.h
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2013 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 _POWERPC_SLJITARCH_H
|
||||
#define _POWERPC_SLJITARCH_H
|
||||
|
||||
#if defined(_LP64)
|
||||
#define SLJIT_CONFIG_PPC_64 1
|
||||
#else
|
||||
#define SLJIT_CONFIG_PPC_32 1
|
||||
#endif
|
||||
|
||||
#define SLJIT_CACHE_FLUSH(from, to) \
|
||||
ppc_cache_flush((from), (to))
|
||||
|
||||
#endif
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2007/02/26 23:53:12 garbled Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/prep
|
||||
|
||||
|
@ -6,6 +6,7 @@ INCS= bootinfo.h \
|
|||
disklabel.h \
|
||||
intr.h \
|
||||
nvram.h \
|
||||
sljitarch.h \
|
||||
spkr.h \
|
||||
vmparam.h
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,10 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.1 2007/12/17 19:09:05 garbled Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/rs6000
|
||||
|
||||
INCS= bootinfo.h \
|
||||
disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
|
@ -1,10 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.17 2005/12/11 12:18:51 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2013/11/17 14:34:12 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/sandpoint
|
||||
|
||||
INCS= bootinfo.h \
|
||||
disklabel.h \
|
||||
intr.h \
|
||||
sljitarch.h \
|
||||
vmparam.h
|
||||
|
||||
.include "../../powerpc/include/Makefile"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/* $NetBSD: sljitarch.h,v 1.1 2013/11/17 14:34:12 alnsn Exp $ */
|
||||
|
||||
#include <powerpc/sljitarch.h>
|
Loading…
Reference in New Issue