diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/openjit/Makefile | 70 | ||||
-rw-r--r-- | java/openjit/distinfo | 3 | ||||
-rw-r--r-- | java/openjit/files/patch-aa | 22 | ||||
-rw-r--r-- | java/openjit/files/patch-ab | 11 | ||||
-rw-r--r-- | java/openjit/files/patch-rt-X86.c | 263 | ||||
-rw-r--r-- | java/openjit/pkg-descr | 24 | ||||
-rw-r--r-- | java/openjit/pkg-plist | 33 |
8 files changed, 0 insertions, 427 deletions
diff --git a/java/Makefile b/java/Makefile index af93103b7bb9..dba73c20c50c 100644 --- a/java/Makefile +++ b/java/Makefile @@ -150,7 +150,6 @@ SUBDIR += netrexx SUBDIR += openjdk6 SUBDIR += openjdk7 - SUBDIR += openjit SUBDIR += phpeclipse SUBDIR += poseidon SUBDIR += proguard diff --git a/java/openjit/Makefile b/java/openjit/Makefile deleted file mode 100644 index 613910d599fe..000000000000 --- a/java/openjit/Makefile +++ /dev/null @@ -1,70 +0,0 @@ -# New ports collection makefile for: openjit -# Date created: 26 September 2000 -# Whom: Maxim Sobolev <sobomax@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= openjit -PORTVERSION= 1.1.16 -PORTREVISION= 3 -CATEGORIES= java -MASTER_SITES= http://www.openjit.org/dist/ -PKGNAMESUFFIX= -${JAVA_PORT:S,java/,,} -DISTNAME= OpenJIT-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A high-performance reflective Java Just-In-Time bytecode compiler - -USE_JAVA= yes -JAVA_OS= native -JAVA_VENDOR?= bsdjava -JAVA_VERSION?= 1.3 - -ONLY_FOR_ARCHS= i386 - -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-jdk=${JAVA_HOME} -MAKE_ARGS= ARCH=X86 - -PLIST_SUB+= JAVADIR=${JAVA_HOME:S,${PREFIX}/,,} - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - -.if ${JAVA_PORT_VERSION} == 1.1 -JDKLIBDIR= ${PREFIX}/lib/OpenJIT -PLIST_SUB+= JAVA2:="@comment " JAVA11:="" -.else -PLIST_SUB+= JAVA2:="" JAVA11:="@comment " -.endif - -post-configure: - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/INSTALL - -do-install: -.if ${JAVA_PORT_VERSION} == 1.1 - @${MKDIR} ${JDKLIBDIR} - @${INSTALL_DATA} ${WRKSRC}/libOpenJIT.so ${JDKLIBDIR} - @${INSTALL_DATA} ${WRKSRC}/OpenJIT.jar ${JDKLIBDIR} -.else - @${MKDIR} ${JAVA_HOME}/jre/classes - @${INSTALL_DATA} ${WRKSRC}/libOpenJIT.so ${JAVA_HOME}/jre/lib/i386 - @cd ${WRKSRC} && ${FIND} org -name '*.class' \ - | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${JAVA_HOME}/jre/classes > /dev/null 2>&1 - @${FIND} ${JAVA_HOME}/jre/classes -type d | ${XARGS} ${CHMOD} a+rx -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README - @${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}/INSTALL - @${ECHO_MSG} "" - @${ECHO_MSG} "See ${DOCSDIR}/INSTALL for usage instructions." - @${ECHO_MSG} "" -.endif - -.include <bsd.port.post.mk> diff --git a/java/openjit/distinfo b/java/openjit/distinfo deleted file mode 100644 index edb436769a61..000000000000 --- a/java/openjit/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (OpenJIT-1.1.16.tar.gz) = a22b4144c2e56fa2ea4afd67c1196d30 -SHA256 (OpenJIT-1.1.16.tar.gz) = 36f0de130eed9bd47624037d9e74d1cecda9c6f380d372db9b56b39e8a99ad3f -SIZE (OpenJIT-1.1.16.tar.gz) = 139609 diff --git a/java/openjit/files/patch-aa b/java/openjit/files/patch-aa deleted file mode 100644 index a7bfb473b2e7..000000000000 --- a/java/openjit/files/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$FreeBSD$ - ---- Makefile.in.orig Thu Sep 6 18:01:03 2001 -+++ Makefile.in Thu Oct 16 19:34:18 2003 -@@ -117,7 +117,7 @@ - library: debug optimized OpenJIT.jar - - OpenJIT.jar: debug optimized -- jar cvf OpenJIT.jar org/OpenJIT/*.class -+ $(JAVA_HOME)/bin/jar cvf OpenJIT.jar org/OpenJIT/*.class - - CC = @CC@ - -@@ -131,7 +131,7 @@ - OBJDIR = obj$(SUFFIX) - - CFLAGS_COMMON = -Wall @CFLAGS@ --CFLAGS_OPT = -O2 -+CFLAGS_OPT = -Wall @CFLAGS@ - CFLAGS_DBG = -g - CFLAGS = $(CFLAGS_$(VARIANT)) $(CFLAGS_COMMON) $(OTHER_CFLAGS) - INCLUDES = -I@JDK_INCLUDE@ -I@JDK_INCLUDE@/$(PLATFORM) -I@JDK_INCLUDE_OLD@ -I@JDK_INCLUDE_OLD@/$(PLATFORM) -I./CClassHeaders diff --git a/java/openjit/files/patch-ab b/java/openjit/files/patch-ab deleted file mode 100644 index dc2c24fcc149..000000000000 --- a/java/openjit/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- configure 2000/09/26 12:09:19 1.1 -+++ configure 2000/09/26 12:09:47 -@@ -724,7 +724,7 @@ - SET_MAKE="MAKE=${MAKE-make}" - fi - --CFLAGS="" -+#CFLAGS="" - # Extract the first word of "gcc", so it can be a program name with args. - set dummy gcc; ac_word=$2 - echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 diff --git a/java/openjit/files/patch-rt-X86.c b/java/openjit/files/patch-rt-X86.c deleted file mode 100644 index 7da35fc10daf..000000000000 --- a/java/openjit/files/patch-rt-X86.c +++ /dev/null @@ -1,263 +0,0 @@ -$FreeBSD$ - ---- rt-X86.c.orig Thu Oct 16 20:16:17 2003 -+++ rt-X86.c Thu Oct 16 20:22:19 2003 -@@ -127,14 +127,14 @@ - #define ASM __asm__ volatile - - #ifdef SYM_UNDERSCORE --__asm__(" --_OpenJIT_f2i = OpenJIT_f2i --_OpenJIT_d2i = OpenJIT_f2i --_OpenJIT_f2l = OpenJIT_f2l --_OpenJIT_d2l = OpenJIT_d2l --_OpenJIT_invokeinterface_quick = OpenJIT_invokeinterface_quick --_throw_internal = throw_internal --"); -+__asm__( -+"_OpenJIT_f2i = OpenJIT_f2i\n" -+"_OpenJIT_d2i = OpenJIT_f2i\n" -+"_OpenJIT_f2l = OpenJIT_f2l\n" -+"_OpenJIT_d2l = OpenJIT_d2l\n" -+"_OpenJIT_invokeinterface_quick = OpenJIT_invokeinterface_quick\n" -+"_throw_internal = throw_internal\n" -+); - #define ASM_TEXT_LABEL(X) __asm__(".text\n_" #X ":\n"); - #else - #define ASM_TEXT_LABEL(X) __asm__(".text\n" #X ":\n"); -@@ -2051,107 +2051,107 @@ - extern int OpenJIT_d2i(); /* One arg is passed via floating ST(0) */ - extern int64_t OpenJIT_f2l(float f); - extern int64_t OpenJIT_d2l(double d); --__asm__(" --OpenJIT_d2i = OpenJIT_f2i --.text -- .align 4 -- .type OpenJIT_f2i,@function --OpenJIT_f2i: -- pushl %ebp -- movl %esp,%ebp -- subl $8,%esp -- ftst -- fnstcw -4(%ebp) -- movl -4(%ebp),%eax -- movb $0xc,%ah -- movw %ax,-2(%ebp) -- fldcw -2(%ebp) -- fistpl -8(%ebp) -- fldcw -4(%ebp) -- movl -8(%ebp),%eax -- cmp $0x80000000,%eax -- je IntOverFlow -- leave -- ret -- --IntOverFlow: -- fnstsw -- sahf -- jp IntNaN -- movl $0x80000000,%eax -- adcl $-1,%eax -- leave -- ret --IntNaN: -- xorl %eax,%eax -- leave -- ret -- --.text -- .align 4 -- .type OpenJIT_f2l,@function --OpenJIT_f2l: -- pushl %ebp -- movl %esp,%ebp -- subl $12,%esp -- flds 8(%ebp) -- ftst -- fnstcw -4(%ebp) -- movl -4(%ebp),%eax -- movb $0xc,%ah -- movw %ax,-2(%ebp) -- fldcw -2(%ebp) -- fistpll -12(%ebp) -- fldcw -4(%ebp) -- movl -12(%ebp),%eax -- movl $0x80000000,%ecx -- movl -8(%ebp),%edx -- xorl %edx,%ecx -- orl %eax,%ecx -- je LongOverFlow -- leave -- ret -- -- .align 4 -- .type OpenJIT_d2l,@function --OpenJIT_d2l: -- pushl %ebp -- movl %esp,%ebp -- subl $12,%esp -- fldl 8(%ebp) -- ftst -- fnstcw -4(%ebp) -- movl -4(%ebp),%eax -- movb $0xc,%ah -- movw %ax,-2(%ebp) -- fldcw -2(%ebp) -- fistpll -12(%ebp) -- fldcw -4(%ebp) -- movl -12(%ebp),%eax -- movl $0x80000000,%ecx -- movl -8(%ebp),%edx -- xorl %edx,%ecx -- orl %eax,%ecx -- je LongOverFlow -- leave -- ret -- --LongOverFlow: -- fnstsw -- sahf -- jp LongNaN -- movl $0,%eax -- adcl $-1,%eax -- adcl $-1,%edx -- leave -- ret -- --LongNaN: -- xorl %eax,%eax -- xorl %edx,%edx -- leave -- ret --"); -+__asm__( -+"OpenJIT_d2i = OpenJIT_f2i\n" -+".text\n" -+" .align 4\n" -+" .type OpenJIT_f2i,@function\n" -+"OpenJIT_f2i:\n" -+" pushl %ebp\n" -+" movl %esp,%ebp\n" -+" subl $8,%esp\n" -+" ftst\n" -+" fnstcw -4(%ebp)\n" -+" movl -4(%ebp),%eax\n" -+" movb $0xc,%ah\n" -+" movw %ax,-2(%ebp)\n" -+" fldcw -2(%ebp)\n" -+" fistpl -8(%ebp)\n" -+" fldcw -4(%ebp)\n" -+" movl -8(%ebp),%eax\n" -+" cmp $0x80000000,%eax\n" -+" je IntOverFlow\n" -+" leave\n" -+" ret\n" -+"\n" -+"IntOverFlow:\n" -+" fnstsw\n" -+" sahf\n" -+" jp IntNaN\n" -+" movl $0x80000000,%eax\n" -+" adcl $-1,%eax\n" -+" leave\n" -+" ret\n" -+"IntNaN:\n" -+" xorl %eax,%eax\n" -+" leave\n" -+" ret\n" -+"\n" -+".text\n" -+" .align 4\n" -+" .type OpenJIT_f2l,@function\n" -+"OpenJIT_f2l:\n" -+" pushl %ebp\n" -+" movl %esp,%ebp\n" -+" subl $12,%esp\n" -+" flds 8(%ebp)\n" -+" ftst\n" -+" fnstcw -4(%ebp)\n" -+" movl -4(%ebp),%eax\n" -+" movb $0xc,%ah\n" -+" movw %ax,-2(%ebp)\n" -+" fldcw -2(%ebp)\n" -+" fistpll -12(%ebp)\n" -+" fldcw -4(%ebp)\n" -+" movl -12(%ebp),%eax\n" -+" movl $0x80000000,%ecx\n" -+" movl -8(%ebp),%edx\n" -+" xorl %edx,%ecx\n" -+" orl %eax,%ecx\n" -+" je LongOverFlow\n" -+" leave\n" -+" ret\n" -+"\n" -+" .align 4\n" -+" .type OpenJIT_d2l,@function\n" -+"OpenJIT_d2l:\n" -+" pushl %ebp\n" -+" movl %esp,%ebp\n" -+" subl $12,%esp\n" -+" fldl 8(%ebp)\n" -+" ftst\n" -+" fnstcw -4(%ebp)\n" -+" movl -4(%ebp),%eax\n" -+" movb $0xc,%ah\n" -+" movw %ax,-2(%ebp)\n" -+" fldcw -2(%ebp)\n" -+" fistpll -12(%ebp)\n" -+" fldcw -4(%ebp)\n" -+" movl -12(%ebp),%eax\n" -+" movl $0x80000000,%ecx\n" -+" movl -8(%ebp),%edx\n" -+" xorl %edx,%ecx\n" -+" orl %eax,%ecx\n" -+" je LongOverFlow\n" -+" leave\n" -+" ret\n" -+"\n" -+"LongOverFlow:\n" -+" fnstsw\n" -+" sahf\n" -+" jp LongNaN\n" -+" movl $0,%eax\n" -+" adcl $-1,%eax\n" -+" adcl $-1,%edx\n" -+" leave\n" -+" ret\n" -+"\n" -+"LongNaN:\n" -+" xorl %eax,%eax\n" -+" xorl %edx,%edx\n" -+" leave\n" -+" ret\n" -+); - - static int64_t - OpenJIT_lshr(int64_t ll, unsigned b) -@@ -2383,16 +2383,16 @@ - } - - extern void throw_internal(); --__asm__(" --.text -- .align 4 -- .type throw_internal,@function --throw_internal: -- pushl %eax -- jmp *%edx --.Lfe_throw_internal: -- .size throw_internal,.Lfe_throw_internal-throw_internal --"); -+__asm__( -+".text\n" -+" .align 4\n" -+" .type throw_internal,@function\n" -+"throw_internal:\n" -+" pushl %eax\n" -+" jmp *%edx\n" -+".Lfe_throw_internal:\n" -+" .size throw_internal,.Lfe_throw_internal-throw_internal\n" -+); - - #if defined(__linux__) - static int signal_nest_count = -1; diff --git a/java/openjit/pkg-descr b/java/openjit/pkg-descr deleted file mode 100644 index d7c8ea7304f1..000000000000 --- a/java/openjit/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ - The OpenJIT project is an ongoing Java the programming language JIT -compiler project as a collaborative effort between Tokyo Institute of Technology -and Fujitsu Laboratory, partly sponsored by the Information Promotion Agency of -Japan. - OpenJIT is a "reflective" JIT compiler in that not only it is almost -entirely written in Java, but also that it bootstraps and compiles itself during -execution of the user program, and compiler components coexist as first-class -objects in user heap space. Thus, users can tailor and customize the compilation -of classes at runtime for variety of purposes such as application-specific -optimization and partial evaluation, dynamic, compiler-assisted environment -adaptation of programs, debugging, language extension and experimentation, and -other types of advanced compiler-based research and applications. OpenJIT even -allows full dynamic update of itself by loading the compiler classes on the fly -from the network. - OpenJIT is fully JDK compliant, and plugs into standard JVMs several -Unix platforms such as Solaris (Sparc), Linux (x86), and FreeBSD (x86). - On Linux/x86 platform, OpenJIT 1.1.14 is faster than the JDK 1.2 classic -VM compiler, runs more or less the same speed as other commercial JIT compilers -on classic VM. - OpenJIT is completely free so long as it is used for non-commercial -purposes. Its source, binaries, etc. can be freely distributed and modified -without restriction. - -WWW: http://www.openjit.org/ diff --git a/java/openjit/pkg-plist b/java/openjit/pkg-plist deleted file mode 100644 index 27cc96c99ebc..000000000000 --- a/java/openjit/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -%%JAVA11:%%lib/OpenJIT/OpenJIT.jar -%%JAVA11:%%lib/OpenJIT/libOpenJIT.so -%%JAVA2:%%%%JAVADIR%%/jre/lib/i386/libOpenJIT.so -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/BCinfo.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/Compile.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/CompilerError.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/Constants.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/ConvertRTL.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/Debug.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/ExceptionHandler.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/ILnode.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/InlineInfo.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/LinkageInfo.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/LinkedList.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/OpenJITLoader.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/OptimizeRTL.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/PCList.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/PCReloc.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/ParseBytecode.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/Select.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/SubrNode.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/SubrNodeList.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/Var.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/X86.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/X86code.class -%%JAVA2:%%%%JAVADIR%%/jre/classes/org/OpenJIT/X86reg.class -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%JAVA11:%%@dirrm lib/OpenJIT -%%JAVA2:%%@dirrm %%JAVADIR%%/jre/classes/org/OpenJIT -%%JAVA2:%%@dirrm %%JAVADIR%%/jre/classes/org -%%JAVA2:%%@dirrm %%JAVADIR%%/jre/classes |