Make sljit usable on sparc64 32-bit kernels.

This commit is contained in:
nakayama 2014-02-01 17:01:35 +00:00
parent a5e6c1dbae
commit c7c583d9f6
5 changed files with 16 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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 @@ include "dev/bluetooth/files.bluetooth"
# IEEE1394 Support
include "dev/ieee1394/files.ieee1394"
# Stack-less Just-In-Time compiler
include "external/bsd/sljit/conf/files.sljit"
#
# Compatibility modules
#

View File

@ -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 @@ INCS= ansi.h aout_machdep.h asm.h autoconf.h \
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 \

View File

@ -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