123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473 |
- diff -urpN jamvm-1.5.0/configure jamvm-1.5.0-avr32/configure
- --- jamvm-1.5.0/configure 2007-10-29 06:37:06.000000000 +0100
- +++ jamvm-1.5.0-avr32/configure 2008-02-08 09:20:37.000000000 +0100
- @@ -2550,6 +2550,7 @@ i386-*-openbsd*) host_os=bsd libdl_neede
- i386-*-freebsd*) host_os=bsd libdl_needed=no ;;
- x86_64-*-linux*) host_os=linux ;;
- hppa*-*-linux*) host_cpu=parisc host_os=linux ;;
- +avr32*-*-linux*) host_cpu=avr32 host_os=linux ;;
- mipsel-*-linux*) host_cpu=mips host_os=linux ;;
- amd64-*-openbsd*) host_os=bsd libdl_needed=no ;;
- amd64-*-freebsd*) host_os=bsd libdl_needed=no ;;
- @@ -22839,7 +22840,7 @@ fi
- ac_config_links="$ac_config_links src/arch.h:src/arch/$arch.h"
-
-
- -ac_config_files="$ac_config_files Makefile src/Makefile src/interp/Makefile src/interp/engine/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/parisc/Makefile src/os/linux/mips/Makefile src/os/darwin/i386/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/sun/reflect/annotation/Makefile lib/sun/reflect//Makefile lib/sun/Makefile lib/gnu/classpath/Makefile"
- +ac_config_files="$ac_config_files Makefile src/Makefile src/interp/Makefile src/interp/engine/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/avr32/Makefile src/os/linux/parisc/Makefile src/os/linux/mips/Makefile src/os/darwin/i386/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/sun/reflect/annotation/Makefile lib/sun/reflect//Makefile lib/sun/Makefile lib/gnu/classpath/Makefile"
-
-
- cat >confcache <<\_ACEOF
- @@ -23475,6 +23476,7 @@ do
- "src/os/linux/i386/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/linux/i386/Makefile" ;;
- "src/os/linux/x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/linux/x86_64/Makefile" ;;
- "src/os/linux/parisc/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/linux/parisc/Makefile" ;;
- + "src/os/linux/avr32/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/linux/avr32/Makefile" ;;
- "src/os/linux/mips/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/linux/mips/Makefile" ;;
- "src/os/darwin/i386/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/darwin/i386/Makefile" ;;
- "src/os/darwin/powerpc/Makefile") CONFIG_FILES="$CONFIG_FILES src/os/darwin/powerpc/Makefile" ;;
- diff -urpN jamvm-1.5.0/src/alloc.c jamvm-1.5.0-avr32/src/alloc.c
- --- jamvm-1.5.0/src/alloc.c 2007-10-22 01:24:22.000000000 +0200
- +++ jamvm-1.5.0-avr32/src/alloc.c 2008-02-08 09:20:38.000000000 +0100
- @@ -274,6 +274,11 @@ void initialiseAlloc(InitArgs *args) {
- #else
- char *mem = (char*)mmap(0, args->max_heap, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANON, -1, 0);
- +// char *mem = (char*)mmap(0, 8196, PROT_READ|PROT_WRITE,
- +// MAP_PRIVATE|MAP_ANON, -1, 0);
- +//TODO: lto
- +//jam_printf("trying to mmap max:%lo min:%lo heap\n",args->max_heap , args->max_heap);
- +//jam_printf("mem: %d %d\n",mem,MAP_FAILED);
- if(mem == MAP_FAILED) {
- #endif
- perror("Aborting the VM -- couldn't allocate the heap");
- @@ -2214,7 +2219,7 @@ void *sysMalloc(int size) {
- int n = size < sizeof(void*) ? sizeof(void*) : size;
- void *mem = malloc(n);
-
- - if(mem == NULL) {
- + if(mem == NULL && n != 0) {
- jam_fprintf(stderr, "Malloc failed - aborting VM...\n");
- exitVM(1);
- }
- diff -urpN jamvm-1.5.0/src/arch/avr32.h jamvm-1.5.0-avr32/src/arch/avr32.h
- --- jamvm-1.5.0/src/arch/avr32.h 1970-01-01 01:00:00.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/arch/avr32.h 2008-02-08 09:20:41.000000000 +0100
- @@ -0,0 +1,109 @@
- +/*
- + * Copyright (C) 2003, 2004, 2005, 2006, 2007
- + * Robert Lougher <rob@lougher.org.uk>.
- + *
- + * This file is part of JamVM.
- + *
- + * This program is free software; you can redistribute it and/or
- + * modify it under the terms of the GNU General Public License
- + * as published by the Free Software Foundation; either version 2,
- + * or (at your option) any later version.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * You should have received a copy of the GNU General Public License
- + * along with this program; if not, write to the Free Software
- + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- + */
- +
- +#define OS_ARCH "avr32"
- +//#ifndef DEBUG
- +//#define DEBUG
- +//#endif
- +
- +/* Override default min and max heap sizes. AVR32 machines are
- + usually embedded, and the standard defaults are too large. */
- +#define DEFAULT_MAX_HEAP 8*MB
- +#define DEFAULT_MIN_HEAP 1*MB
- +
- +#define HANDLER_TABLE_T static const void
- +#define DOUBLE_1_BITS 0x3ff0000000000000LL
- +
- +#define READ_DBL(v,p,l) v = ((u8)p[0]<<56)|((u8)p[1]<<48)|((u8)p[2]<<40) \
- + |((u8)p[3]<<32)|((u8)p[4]<<24)|((u8)p[5]<<16) \
- + |((u8)p[6]<<8)|(u8)p[7]; p+=8
- +
- +//extern void setDoublePrecision();
- +#define FPU_HACK
- +
- +//#define COMPARE_AND_SWAP(addr, old_val, new_val) ({char result;result;})
- +//static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned int old,
- +// unsigned int new)
- +//{
- +// int ret;
- +// //printf("compare and swap %d %d %s:line%d\n",old,new,__FILE__,__LINE__);
- +// asm volatile(
- +// "1: ssrf 5\n"
- +// " ld.w %[ret], %[m]\n"
- +// " cp.w %[ret], %[old]\n"
- +// " brne 2f\n"
- +// " stcond %[m], %[new]\n"
- +// " brne 1b\n"
- +// "2:\n"
- +// : [ret] "=&r"(ret), [m] "=m"(*m)
- +// : "m"(*m), [new] "r"(new), [old] "r"(old)
- +// : "memory", "cc");
- +// return ret;
- +//}
- +
- +//see C:\Cygwin\usr\local\avr32-linux\include\bits\atomicity.h
- +//see http://www.avr32linux.org/twiki/bin/view/Main/AtomicOperations
- +//see http://www.mail-archive.com/uclibc@uclibc.org/msg00914.html
- +//http://www.avr32linux.org/twiki/pub/Main/MicroClibcPatches/uClibc-0.9.28-avr32-20060621.patch
- +//http://www.google.com/codesearch?hl=en&q=+cmpxchg+avr32+show:WwwDfOAAdbA:L2BlPHy6h_g:nY7RakaTOnE&sa=N&cd=1&ct=rc&cs_p=http://gobo.calica.com/packages/official/Linux--2.6.20.4-r1--i686.tar.bz2&cs_f=Linux/2.6.20.4/Resources/Unmanaged/Files/Compile/Sources/linux-2.6.20.4/include/asm-avr32/system.h#first
- +//#define COMPARE_AND_SWAP(p, oldval, newval)({ \
- +// printf("compare and swap %d %d %s:line%d\n",oldval,newval,__FILE__,__LINE__); \
- +// __cmpxchg_u32(p,oldval,newval);\
- +//})
- +
- +// printf("compare and swap %d %d %s:line %d\n",old_val,new_val,__FILE__,__LINE__);
- +#define COMPARE_AND_SWAP(addr, old_val, new_val) \
- +({ \
- + int result; \
- + __asm__ __volatile__ (" \
- + 1: ssrf 5; \
- + ld.w %[ret], %[m]; \
- + cp.w %[ret], %[old]; \
- + brne 2f; \
- + stcond %[m], %[new]; \
- + brne 1b; \
- + 2:" \
- + : [ret] "=&r" (result), [m] "=m" (*addr) \
- + : "m" (*addr), [old] "r" (old_val), [new] "r" (new_val) \
- + : "memory", "cc"); \
- + result; \
- +})
- +
- +//ssrf 5 :set lock bit
- +//stcond :store param2 when lock is set
- +//sreq :If equal set register to true or false
- +//brne :Branch when not equal
- +//brne 1b :When the lock wasn't set anymore, try again
- +//label 1b 2f :first label named 1/2 before/after
- +#define FLUSH_CACHE(addr, length)
- +
- +#define LOCKWORD_READ(addr) *addr
- +#define LOCKWORD_WRITE(addr, value) *addr = value
- +#define LOCKWORD_COMPARE_AND_SWAP(addr, old_val, new_val) \
- + COMPARE_AND_SWAP(addr, old_val, new_val)
- +
- +#define UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
- +#define JMM_LOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
- +#define JMM_UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
- +
- +//TODO: lto
- +#define MBARRIER() __asm__ __volatile__ ("" ::: "memory")
- +//#define MBARRIER() __asm__ __volatile__ ("lock; addl $0,0(%%esp)" ::: "memory")
- diff -urpN jamvm-1.5.0/src/arch/Makefile.am jamvm-1.5.0-avr32/src/arch/Makefile.am
- --- jamvm-1.5.0/src/arch/Makefile.am 2007-10-28 00:19:26.000000000 +0200
- +++ jamvm-1.5.0-avr32/src/arch/Makefile.am 2008-02-08 09:20:41.000000000 +0100
- @@ -19,4 +19,4 @@
- ## Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- ##
-
- -EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h
- +EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h avr32.h
- diff -urpN jamvm-1.5.0/src/arch/Makefile.in jamvm-1.5.0-avr32/src/arch/Makefile.in
- --- jamvm-1.5.0/src/arch/Makefile.in 2007-10-29 07:02:36.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/arch/Makefile.in 2008-02-08 09:20:41.000000000 +0100
- @@ -162,7 +162,7 @@ top_srcdir = @top_srcdir@
- use_zip_no = @use_zip_no@
- use_zip_yes = @use_zip_yes@
- with_classpath_install_dir = @with_classpath_install_dir@
- -EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h
- +EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h avr32.h
- all: all-am
-
- .SUFFIXES:
- diff -urpN jamvm-1.5.0/src/class.c jamvm-1.5.0-avr32/src/class.c
- --- jamvm-1.5.0/src/class.c 2007-10-29 05:45:32.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/class.c 2008-02-08 09:20:37.000000000 +0100
- @@ -40,6 +40,8 @@
- #define SCAVENGE(ptr) FALSE
- #define FOUND(ptr) ptr
-
- +#define TRACE(fmt, ...) jam_printf(fmt, ## __VA_ARGS__)
- +
- static int verbose;
- static char *bootpath;
- static char *classpath;
- @@ -1273,6 +1275,9 @@ Class *findSystemClass0(char *classname)
- }
-
- Class *findSystemClass(char *classname) {
- +#ifdef DEBUG
- + TRACE(">>>>>>finding class: %s\n", classname);
- +#endif
- Class *class = findSystemClass0(classname);
-
- if(!exceptionOccurred())
- @@ -1383,18 +1388,32 @@ Class *findClassFromClassLoader(char *cl
- }
-
- Object *getSystemClassLoader() {
- +#ifdef DEBUG
- + printf("%s: %d: trying to find ClassLoader\n",__FILE__,__LINE__);
- +#endif
- Class *class_loader = findSystemClass("java/lang/ClassLoader");
-
- if(!exceptionOccurred()) {
- +#ifdef DEBUG
- + printf("%s: %d: found ClassLoader\n",__FILE__,__LINE__);
- +#endif
- MethodBlock *mb;
-
- if((mb = findMethod(class_loader, "getSystemClassLoader",
- "()Ljava/lang/ClassLoader;")) != NULL) {
- +#ifdef DEBUG
- + printf("%s: %d: executing static SystemClassLoader",__FILE__,__LINE__);
- +#endif
- +
- Object *system_loader = *(Object**)executeStaticMethod(class_loader, mb);
-
- if(!exceptionOccurred())
- return system_loader;
- }
- +#ifdef DEBUG
- + }else{
- + printf("%s: %d: found ClassLoader WITH EXCEPTION\n",__FILE__,__LINE__);
- +#endif
- }
- return NULL;
- }
- diff -urpN jamvm-1.5.0/src/interp/direct.c jamvm-1.5.0-avr32/src/interp/direct.c
- --- jamvm-1.5.0/src/interp/direct.c 2007-10-26 05:10:47.000000000 +0200
- +++ jamvm-1.5.0-avr32/src/interp/direct.c 2008-02-08 09:20:40.000000000 +0100
- @@ -31,7 +31,7 @@
- #include "interp.h"
-
- #ifdef TRACEDIRECT
- -#define TRACE(fmt, ...) jam_printf(fmt, ## __VA_ARGS__)
- +#define TRACE(fmt, ...) printf(fmt, ## __VA_ARGS__)
- #else
- #define TRACE(fmt, ...)
- #endif
- Binary files jamvm-1.5.0/src/interp/engine/compute_relocatability and jamvm-1.5.0-avr32/src/interp/engine/compute_relocatability differ
- diff -urpN jamvm-1.5.0/src/os/linux/avr32/dll_md.c jamvm-1.5.0-avr32/src/os/linux/avr32/dll_md.c
- --- jamvm-1.5.0/src/os/linux/avr32/dll_md.c 1970-01-01 01:00:00.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/os/linux/avr32/dll_md.c 2008-02-08 09:20:38.000000000 +0100
- @@ -0,0 +1,669 @@
- +/*
- + * Copyright (C) 2003, 2004, 2005, 2006, 2007
- + * Robert Lougher <rob@lougher.org.uk>.
- + *
- + * This file is part of JamVM.
- + *
- + * This program is free software; you can redistribute it and/or
- + * modify it under the terms of the GNU General Public License
- + * as published by the Free Software Foundation; either version 2,
- + * or (at your option) any later version.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * You should have received a copy of the GNU General Public License
- + * along with this program; if not, write to the Free Software
- + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- + */
- +
- +#include "../../../jam.h"
- +
- +#ifndef USE_FFI
- +#include <string.h>
- +#include "../../../sig.h"
- +
- +#define RET_VOID 0
- +#define RET_DOUBLE 1
- +#define RET_LONG 2
- +#define RET_FLOAT 3
- +#define RET_DFLT 4
- +
- +int nativeExtraArg(MethodBlock *mb) {
- + //printf("!!!!!!!!!!nativeExtraArg (name=%s) (type=%s)!!!!!!!\n",mb->name,mb->type);
- + int len = strlen(mb->type);
- + if(mb->type[len-2] == ')')
- + switch(mb->type[len-1]) {
- + case 'V':
- + return RET_VOID;
- + case 'D':
- + return RET_DOUBLE;
- + case 'J':
- + return RET_LONG;
- + case 'F':
- + return RET_FLOAT;
- + }
- +
- + return RET_DFLT;
- +}
- +
- +//calls the f function pointer and takes care of the return type
- +#define perform_f(label,...) \
- + switch(ret_type) { \
- + case RET_VOID: \
- + (*(void (*)())f)(__VA_ARGS__); \
- + goto label; \
- + case RET_DOUBLE: \
- + *(double*)ostack = (*(double (*)())f)(__VA_ARGS__); \
- + ostack += 2; \
- + goto label; \
- + case RET_LONG: \
- + *(long long*)ostack = (*(long long (*)())f)(__VA_ARGS__); \
- + ostack += 2; \
- + goto label; \
- + case RET_FLOAT: \
- + *(float*)ostack = (*(float (*)())f)(__VA_ARGS__); \
- + ostack++; \
- + goto label; \
- + default: \
- + *ostack++ = (*(u4 (*)())f)(__VA_ARGS__); \
- + goto label; \
- + }
- +
- +#define write_ops_to_stack(x) \
- + /*write x operands to the stack */ \
- + int i; \
- + for(i=0; i < x; i++){ \
- + __asm__ __volatile__( \
- + "ld.w r11,%0 \n\t" \
- + "st.w --sp,r11 " \
- + :: "m"(*--opntr) \
- + :"sp","r11"); \
- + }
- +
- +u4 *callJNIMethod(void *env, Class *class, char *sig, int ret_type, u4 *ostack, unsigned char *f, int args) {
- + u4 *opntr = ostack + args;
- + int nrofopsonstack = 0;
- + if(class && args > 3){
- + nrofopsonstack = args - 3;
- + }else if(class){
- + nrofopsonstack = 0;
- + }else if(args > 4){
- + nrofopsonstack = args -4;
- + }else{
- + nrofopsonstack = 0;
- + }
- +
- + if(args == 0){
- + if(class){
- + perform_f(done,env,class);
- + }else{
- + perform_f(done,env);
- + }
- + }else if(args == 1){
- + if(class){
- + perform_f(done,env,class,*--opntr);
- + }else{
- + perform_f(done,env,*--opntr);
- + }
- + }else if(args == 2){
- + if(class){
- + perform_f(done,env,class,*--opntr,*--opntr);
- + }else{
- + perform_f(done,env,*--opntr,*--opntr);
- + }
- + }else if(args == 3){
- + if(class){
- + perform_f(done,env,class,*--opntr,*--opntr,*--opntr);
- + }else{
- + perform_f(done,env,*--opntr,*--opntr,*--opntr);
- + }
- + }else{
- + write_ops_to_stack(nrofopsonstack)
- + if(class){
- + perform_f(empty_stack,env,class,*--opntr,*--opntr,*--opntr);
- + }else{
- + perform_f(empty_stack,env,*--opntr,*--opntr,*--opntr,*--opntr);
- + }
- + }
- +
- + empty_stack:
- + //Increment stack pointer to loose all operands we put there
- + if(nrofopsonstack > 0) {
- + __asm__ __volatile__("add sp,%0" ::"r"((nrofopsonstack) * sizeof(u4)): "sp");
- + }
- +
- + done:
- + return ostack;
- +}
- +
- +/*
- + int i;
- + int nrofopsonstack,nrofopsinregister;
- + u4 *opntr = ostack + args;
- + register int *r5 asm ("r5");
- + *r5 = *f;
- +
- +// register unsigned char *r6 asm ("r6");
- +// register int *r7 asm ("r7");
- +// register int *r8 asm ("r8");
- +// register int *r9 asm ("r9");
- +// register int *r10 asm ("r10");
- +// register int *r11 asm ("r11");
- +// register int *r12 asm ("r12");
- +
- + if(class && args > 3){
- + nrofopsonstack = args - 3;
- + nrofopsinregister = 3;
- + }else if(class){
- + nrofopsonstack = 0;
- + nrofopsinregister = args;
- + }else if(args > 4){
- + nrofopsonstack = args -4;
- + nrofopsinregister = 4;
- + }else{
- + nrofopsonstack = 0;
- + nrofopsinregister = args;
- + }
- +
- + //write all operands except 3 or 4 to the stack
- + for(i=0; i < nrofopsonstack; i++){
- + //printf("!!!!!writing arg %d to stack\n",i);
- + __asm__ __volatile__(
- + "ld.w r11,%0 \n\t"
- + "st.w --sp,r11 "
- + :: "m"(*--opntr)
- + :"sp","r11");
- + }
- +
- +
- + //TODO: make sure none of the registers above have been changed
- + switch(ret_type) {
- + case RET_VOID:
- + goto do_void_function;
- + case RET_DOUBLE:
- + goto do_double_function;
- + case RET_LONG:
- + goto do_longlong_function;
- + case RET_FLOAT:
- + goto do_float_function;
- + default:
- + goto do_default_function;
- + }
- +
- + do_void_function:
- + WRITE_PARAMS(label_void)
- + __asm__ __volatile__(
- + "icall r5"
- + ::"m"(f));
- + label_void:
- + (*(void (*)())f)();
- + //printf("!!!!!!!!!!!!! called void JNIMethod %s!!!!!!!!!!\n",sig);
- + goto empty_stack;
- +
- + do_double_function:
- + WRITE_PARAMS(label_double)
- + label_double:
- + *(double*)ostack = (*(double (*)())f)();
- + ostack += 2;
- + //printf("!!!!!!!!!!!!! called double JNIMethod %s %l!!!!!!!!!!\n",sig,*ostack);
- + goto empty_stack;
- +
- + do_longlong_function:
- + WRITE_PARAMS(label_longlong)
- + label_longlong:
- + *(long long*)ostack = (*(long long (*)())f)();
- + ostack += 2;
- + //printf("!!!!!!!!!!!!! called long JNIMethod %s %l!!!!!!!!!!\n",sig,*ostack);
- + goto empty_stack;
- +
- + do_float_function:
- + WRITE_PARAMS(label_float)
- + label_float:
- + *(float*)ostack = (*(float (*)())f)();
- + ostack++;
- + //printf("!!!!!!!!!!!!! called float JNIMethod %s %f!!!!!!!!!!\n",sig,*ostack);
- + goto empty_stack;
- +
- + do_default_function:
- + WRITE_PARAMS(label_default)
- + label_default:
- + *ostack++ = (*(u4 (*)())f)();
- + //printf("!!!!!!!!!!!!! called default JNIMethod %s!!!!!!!!!!\n",sig);
- + goto empty_stack;
- +
- + empty_stack:
- +
- + //Get rid of the items on the stack
- + if(nrofopsonstack > 0) {
- + __asm__ __volatile__("add sp,%0" ::"r"(nrofopsonstack): "sp");
- + }
- + return ostack;*/
- +
- +
- +// r8 = (u4*)(*--opntr);
- +// r9 = (u4*)(*--opntr);
- +// r10 = (u4*)(*--opntr);
- +// r11 = (u4*)(*--opntr);
- +// r12 = env;
- +
- +
- +
- +/*
- + //write all operands to register
- + if(!class){
- + switch(nrofopsinregister){
- + case 4:
- + __asm__ __volatile__(
- + "ld.w r8,%[r8] \n\t"
- + "ld.w r9,%[r9] \n\t"
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[r11] \n\t"
- + "ld.w r12,%[env]"
- + :: [r8]"m"(*--opntr),[r9]"m"(*--opntr),[r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env)
- + :"r8","r9","r10","r11","r12"
- + );
- + goto select_function;
- + case 3:
- + __asm__ __volatile__(
- + "ld.w r9,%[r9] \n\t"
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[r11] \n\t"
- + "ld.w r12,%[env]"
- + :: [r9]"m"(*--opntr),[r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env)
- + :"r9","r10","r11","r12"
- + );
- + goto select_function;
- + case 2:
- + __asm__ __volatile__(
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[r11] \n\t"
- + "ld.w r12,%[env]"
- + :: [r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env)
- + :"r10","r11","r12"
- + );
- + goto select_function;
- + case 1:
- + __asm__ __volatile__(
- + "ld.w r11,%[r11] \n\t"
- + "ld.w r12,%[env]"
- + ::[r11]"m"(*--opntr),[env]"m"(env)
- + :"r11","r12"
- + );
- + goto select_function;
- + case 0:
- + __asm__ __volatile__(
- + "ld.w r12,%[env]"
- + ::[env]"m"(env)
- + :"r12"
- + );
- + goto select_function;
- + }
- + }else{//class needs to be written to r11
- + switch(nrofopsinregister){
- + case 3:
- + __asm__ __volatile__(
- + "ld.w r8,%[r8] \n\t"
- + "ld.w r9,%[r9] \n\t"
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[class] \n\t"
- + "ld.w r12,%[env]"
- + :: [r8]"m"(*--opntr),[r9]"m"(*--opntr),[r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env)
- + :"r8","r9","r10","r11","r12"
- + );
- + goto select_function;
- + case 2:
- + __asm__ __volatile__(
- + "ld.w r9,%[r9] \n\t"
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[class] \n\t"
- + "ld.w r12,%[env]"
- + :: [r9]"m"(*--opntr),[r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env)
- + :"r9","r10","r11","r12"
- + );
- + goto select_function;
- + case 1:
- + __asm__ __volatile__(
- + "ld.w r10,%[r10] \n\t"
- + "ld.w r11,%[class] \n\t"
- + "ld.w r12,%[env]"
- + :: [r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env)
- + :"r10","r11","r12"
- + );
- + goto select_function;
- + case 0:
- + __asm__ __volatile__(
- + "ld.w r11,%[class] \n\t"
- + "ld.w r12,%[env]"
- + :: [class]"m"(class),[env]"m"(env)
- + :"r10","r11","r12"
- + );
- + goto select_function;
- + }
- + }
- + select_function: //This label is put here to make some cleaner assembler jumps above
- + */
- +
- +// int isstatic;
- +// if(class){
- +// isstatic = 1;
- +// }else{
- +// isstatic = 0;
- +// }
- +// printf("!!!!!!!!!!!!! calling JNIMethod (sig:%s) (type:%d) (argcount:%d) (static:%d)!!!!!!!!!!\n",sig,ret_type,args,isstatic);
- +
- +//Dit werkt!!!
- +// if(args == 3 && isstatic == 0 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,*--opntr,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +/*
- + u4 *opntr = ostack + args;
- + long long *result;
- + if(class){
- + //printf("I am static!!!!!!!\n");
- + if(args == 0){
- + //*ostack = (*(u4 (*)())f)(env,class);
- + *result = (*(long long (*)())f)(env,class);
- + }else if(args == 1){
- + *result = (*(long long (*)())f)(env,class,*--opntr);
- + }else if(args == 2){
- + *result = (*(long long (*)())f)(env,class,*--opntr,*--opntr);
- + }else if(args == 3){
- + *result = (*(long long (*)())f)(env,class,*--opntr,*--opntr,*--opntr);
- + }else if(args == 4){
- + *result = (*(long long (*)())f)(env,class,*--opntr,*--opntr,*--opntr,*--opntr);
- + }else if(args == 5){
- + *result = (*(long long (*)())f)(env,class,*--opntr,*--opntr,*--opntr,*--opntr,*--opntr);
- + }
- + }else{
- + //printf("I am not static!!!!!!!\n");
- + if(args == 0){
- + *result = (*(long long (*)())f)(env);
- + }else if(args == 1){
- + *result = (*(long long (*)())f)(env,*--opntr);
- + }else if(args == 2){
- + *result = (*(long long (*)())f)(env,*--opntr,*--opntr);
- + }else if(args == 3){
- + *result = (*(long long (*)())f)(env,*--opntr,*--opntr,*--opntr);
- + }else if(args == 4){
- + *result = (*(long long (*)())f)(env,*--opntr,*--opntr,*--opntr,*--opntr);
- + }else if(args == 5){
- + *result = (*(long long (*)())f)(env,*--opntr,*--opntr,*--opntr,*--opntr,*--opntr);
- + }
- + }
- +
- + switch(ret_type) {
- + case RET_VOID:
- + printf("-------->Performed void function %s\n",sig);
- + break;
- +
- + case RET_DOUBLE:
- + *(double*)ostack = *(double(*))result;
- + ostack += 2;
- + printf("-------->Performed double function %s,casting to %d\n",sig, ret_type);
- + //printf("returned a double %f\n",*ostack);
- + break;
- +
- + case RET_LONG:
- + *(long long*)ostack = *(long long(*))result;
- + ostack += 2;
- + printf("-------->Performed long function %s,casting to %d\n",sig, ret_type);
- + //printf("returned a long %l\n",*ostack);
- + break;
- +
- + case RET_FLOAT:
- + *(float*)ostack = *(float(*))result;
- + ostack++;
- + printf("-------->Performed float function %s,casting to %d\n",sig, ret_type);
- + //printf("returned a float %f\n",*ostack);
- + break;
- +
- + default:
- + *ostack++ = *(u4(*))result;
- + //ostack++;
- + printf("-------->Performed default function %s,casting to %d\n",sig, ret_type);
- + //printf("returned a default %d\n",*ostack);
- + break;
- + }
- + return ostack;
- + */
- +
- +
- +
- +
- +// if(args == 3 && isstatic == 0 && ret_type == RET_DFLT){
- +// printf("I am here!!!!!!!\n");
- +// u4 *result = (*(u4 (*)())f)(env,*--opntr,*--opntr,*--opntr);
- +// *ostack++ = result;
- +// //*ostack++ = (*(u4 (*)())f)(env,*--opntr,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 2 && isstatic == 0 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 1 && isstatic == 0 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,*--opntr);
- +// return ostack;
- +// }
- +//
- +// if(args == 6 && isstatic == 1 && ret_type == RET_DFLT){
- +// printf("I am here for 7 args..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,class,*--opntr,*--opntr,*--opntr,*--opntr,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 4 && isstatic == 1 && ret_type == RET_DFLT){
- +// printf("I am here for 5 args..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,class,*--opntr,*--opntr,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 3 && isstatic == 1 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,class,*--opntr,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 2 && isstatic == 1 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,class,*--opntr,*--opntr);
- +// return ostack;
- +// }
- +// if(args == 1 && isstatic == 1 && ret_type == RET_DFLT){
- +// printf("I am here..\n");
- +// *ostack++ = (*(u4 (*)())f)(env,class,*--opntr);
- +// return ostack;
- +// }
- +
- + //int i;
- +
- + //for(i = 0; i < args; i++){
- + // printf("!!!!!should write arg %d\n",i);
- + //__asm__ __volatile__("ld.w r11,%0" :: "m"(*--opntr):"r11");
- + //__asm__ __volatile__("st.w --sp,r11" ::: "sp","r11");
- + //}
- +
- +// int i=args;
- +// if(class) {
- +// for(i=args;i>3;i--){
- +// __asm__ __volatile__("ld.w r8,%0" :: "m"(*--opntr):"r8");
- +// __asm__ __volatile__("st.w --sp,r8" ::: "sp","r8");
- +// }
- +// if(args >= 3){
- +// __asm__ __volatile__("ld.w r8,%0" :: "m"(*--opntr):"r8");
- +// }
- +// if(args >= 2){
- +// __asm__ __volatile__("ld.w r9,%0" :: "m"(*--opntr):"r9");
- +// }
- +// if(args >= 1){
- +// __asm__ __volatile__("ld.w r10,%0" :: "m"(*--opntr):"r10");
- +// }
- +// __asm__ __volatile__("ld.w r11,%0" :: "m"(class):"r11");
- +// __asm__ __volatile__("ld.w r12,%0" :: "m"(env):"r12");
- +// }else{//static, don't add class variable
- +// for(i=args;i>4;i--){
- +// //r8 will be reused by the last register argument
- +// __asm__ __volatile__("ld.w r8,%0" :: "m"(*--opntr):"r8");
- +// __asm__ __volatile__("st.w --sp,r8" ::: "sp","r8");
- +// }
- +// if(args >= 4){
- +// __asm__ __volatile__("ld.w r8,%0" :: "m"(*--opntr):"r8");
- +// }
- +// if(args >= 3){
- +// __asm__ __volatile__("ld.w r9,%0" :: "m"(*--opntr):"r9");
- +// }
- +// if(args >= 2){
- +// __asm__ __volatile__("ld.w r10,%0" :: "m"(*--opntr):"r10");
- +// }
- +// if(args >= 1){
- +// __asm__ __volatile__("ld.w r11,%0" :: "m"(*--opntr):"r11");
- +// }
- +// __asm__ __volatile__("ld.w r12,%0" :: "m"(env):"r12");
- +// }
- +
- +// printf("!!!!!pushing environment to r12\n");
- +
- + //printf("!!!!!!!!!!!!! switching ret_type %s %d ,nr of args: %d!!!!!!!!!!\n",sig, ret_type,args);
- +// switch(ret_type) {
- +// case RET_VOID:
- +// (*(void (*)())f)();
- +// //printf("!!!!!!!!!!!!! called void JNIMethod %s!!!!!!!!!!\n",sig);
- +// break;
- +//
- +// case RET_DOUBLE:
- +// *(double*)ostack = (*(double (*)())f)();
- +// ostack += 2;
- +// //printf("!!!!!!!!!!!!! called double JNIMethod %s %l!!!!!!!!!!\n",sig,*ostack);
- +// break;
- +//
- +// case RET_LONG:
- +// *(long long*)ostack = (*(long long (*)())f)();
- +// ostack += 2;
- +// //printf("!!!!!!!!!!!!! called long JNIMethod %s %l!!!!!!!!!!\n",sig,*ostack);
- +// break;
- +//
- +// case RET_FLOAT:
- +// *(float*)ostack = (*(float (*)())f)();
- +// ostack++;
- +// //printf("!!!!!!!!!!!!! called float JNIMethod %s %f!!!!!!!!!!\n",sig,*ostack);
- +// break;
- +//
- +// default:
- +// *ostack++ = (*(u4 (*)())f)();
- +// //printf("!!!!!!!!!!!!! called default JNIMethod %s!!!!!!!!!!\n",sig);
- +// break;
- +// }
- +//
- +// if(class && args > 3) {
- +// int to_add = args-3;
- +// __asm__ __volatile__("add sp,%0" ::"r"(to_add): "sp");
- +// }else if(!class && args > 4){
- +// int to_add = args-4;
- +// __asm__ __volatile__("add sp,%0" ::"r"(to_add): "sp");
- +// }
- +// //printf("!!!!!!!!!!!!! returning JNIMethod (sig:%s) (type:%d) (argcount:%d)!!!!!!!!!!\n",sig,ret_type,args);
- +// //printf("!!!!!!!!!!!!! returning %s %d ,nr of args: %d!!!!!!!!!!\n",sig, ret_type,args);
- +// //printf("!!!!!!!!!!!!! returning JNIMethod !!!!!!!!!!\n");
- +// //__asm__ __volatile__ ("addl %0,%%esp" :: "r" ((args + 1) * sizeof(u4)) : "cc", "sp");
- +//
- +// return ostack;
- +
- +
- +//write all operands, class and env to register
- +#define WRITE_PARAMS(label) \
- + if(!class){ \
- + switch(nrofopsinregister){ \
- + case 4: \
- + __asm__ __volatile__( \
- + "ld.w r8,%[r8] \n\t" \
- + "ld.w r9,%[r9] \n\t" \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[r11] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r8]"m"(*--opntr),[r9]"m"(*--opntr),[r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env) \
- + :"r8","r9","r10","r11","r12" \
- + ); \
- + goto label; \
- + case 3: \
- + __asm__ __volatile__( \
- + "ld.w r9,%[r9] \n\t" \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[r11] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r9]"m"(*--opntr),[r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env) \
- + :"r9","r10","r11","r12" \
- + ); \
- + goto label; \
- + case 2: \
- + __asm__ __volatile__( \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[r11] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r10]"m"(*--opntr),[r11]"m"(*--opntr),[env]"m"(env) \
- + :"r10","r11","r12" \
- + ); \
- + goto label; \
- + case 1: \
- + __asm__ __volatile__( \
- + "ld.w r11,%[r11] \n\t" \
- + "ld.w r12,%[env]" \
- + ::[r11]"m"(*--opntr),[env]"m"(env) \
- + :"r11","r12" \
- + ); \
- + goto label; \
- + case 0: \
- + __asm__ __volatile__( \
- + "ld.w r12,%[env]" \
- + ::[env]"m"(env) \
- + :"r12" \
- + ); \
- + goto label; \
- + } \
- + }else{ \
- + switch(nrofopsinregister){ \
- + case 3: \
- + __asm__ __volatile__( \
- + "ld.w r8,%[r8] \n\t" \
- + "ld.w r9,%[r9] \n\t" \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[class] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r8]"m"(*--opntr),[r9]"m"(*--opntr),[r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env) \
- + :"r8","r9","r10","r11","r12" \
- + ); \
- + goto label; \
- + case 2: \
- + __asm__ __volatile__( \
- + "ld.w r9,%[r9] \n\t" \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[class] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r9]"m"(*--opntr),[r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env) \
- + :"r9","r10","r11","r12" \
- + ); \
- + goto label; \
- + case 1: \
- + __asm__ __volatile__( \
- + "ld.w r10,%[r10] \n\t" \
- + "ld.w r11,%[class] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [r10]"m"(*--opntr),[class]"m"(class),[env]"m"(env) \
- + :"r10","r11","r12" \
- + ); \
- + goto label; \
- + case 0: \
- + __asm__ __volatile__( \
- + "ld.w r11,%[class] \n\t" \
- + "ld.w r12,%[env]" \
- + :: [class]"m"(class),[env]"m"(env) \
- + :"r10","r11","r12" \
- + ); \
- + goto label; \
- + } \
- + } \
- + //This label is put here to make some cleaner assembler jumps above
- +#endif
- diff -urpN jamvm-1.5.0/src/os/linux/avr32/init.c jamvm-1.5.0-avr32/src/os/linux/avr32/init.c
- --- jamvm-1.5.0/src/os/linux/avr32/init.c 1970-01-01 01:00:00.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/os/linux/avr32/init.c 2008-02-08 09:20:38.000000000 +0100
- @@ -0,0 +1,39 @@
- +/*
- + * Copyright (C) 2003, 2004, 2006, 2007
- + * Robert Lougher <rob@lougher.org.uk>.
- + *
- + * This file is part of JamVM.
- + *
- + * This program is free software; you can redistribute it and/or
- + * modify it under the terms of the GNU General Public License
- + * as published by the Free Software Foundation; either version 2,
- + * or (at your option) any later version.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + *
- + * You should have received a copy of the GNU General Public License
- + * along with this program; if not, write to the Free Software
- + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- + */
- +
- +//#include <fpu_control.h>
- +//#include <stdio.h>
- +
- +/* Change floating point precision to double (64-bit) from
- + * the extended (80-bit) Linux default. */
- +
- +//void setDoublePrecision() {
- +// fpu_control_t cw;
- +//
- +// _FPU_GETCW(cw);
- +// cw &= ~_FPU_EXTENDED;
- +// cw |= _FPU_DOUBLE;
- +// _FPU_SETCW(cw);
- +//}
- +
- +void initialisePlatform() {
- + //TODO: is this needed for avr32? setDoublePrecision();
- +}
- diff -urpN jamvm-1.5.0/src/os/linux/avr32/Makefile.am jamvm-1.5.0-avr32/src/os/linux/avr32/Makefile.am
- --- jamvm-1.5.0/src/os/linux/avr32/Makefile.am 1970-01-01 01:00:00.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/os/linux/avr32/Makefile.am 2008-02-08 09:20:38.000000000 +0100
- @@ -0,0 +1,25 @@
- +##
- +## Copyright (C) 2003, 2004, 2005, 2006, 2007
- +## Robert Lougher <rob@lougher.org.uk>.
- +##
- +## This file is part of JamVM.
- +##
- +## This program is free software; you can redistribute it and/or
- +## modify it under the terms of the GNU General Public License
- +## as published by the Free Software Foundation; either version 2,
- +## or (at your option) any later version.
- +##
- +## This program is distributed in the hope that it will be useful,
- +## but WITHOUT ANY WARRANTY; without even the implied warranty of
- +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +## GNU General Public License for more details.
- +##
- +## You should have received a copy of the GNU General Public License
- +## along with this program; if not, write to the Free Software
- +## Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- +##
- +
- +noinst_LTLIBRARIES = libnative.la
- +libnative_la_SOURCES = init.c dll_md.c
- +
- +AM_CPPFLAGS = -I$(top_builddir)/src
- diff -urpN jamvm-1.5.0/src/os/linux/avr32/Makefile.in jamvm-1.5.0-avr32/src/os/linux/avr32/Makefile.in
- --- jamvm-1.5.0/src/os/linux/avr32/Makefile.in 1970-01-01 01:00:00.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/os/linux/avr32/Makefile.in 2008-02-08 09:20:38.000000000 +0100
- @@ -0,0 +1,446 @@
- +# Makefile.in generated by automake 1.10 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +VPATH = @srcdir@
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +subdir = src/os/linux/avr32
- +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- + $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- +CONFIG_HEADER = $(top_builddir)/src/config.h
- +CONFIG_CLEAN_FILES =
- +LTLIBRARIES = $(noinst_LTLIBRARIES)
- +libnative_la_LIBADD =
- +am_libnative_la_OBJECTS = init.lo dll_md.lo
- +libnative_la_OBJECTS = $(am_libnative_la_OBJECTS)
- +DEFAULT_INCLUDES = -I. -I$(top_builddir)/src@am__isrc@
- +depcomp = $(SHELL) $(top_srcdir)/depcomp
- +am__depfiles_maybe = depfiles
- +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- +CCLD = $(CC)
- +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- + $(LDFLAGS) -o $@
- +SOURCES = $(libnative_la_SOURCES)
- +DIST_SOURCES = $(libnative_la_SOURCES)
- +ETAGS = etags
- +CTAGS = ctags
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +ACLOCAL = @ACLOCAL@
- +ALLOCA = @ALLOCA@
- +AMTAR = @AMTAR@
- +AR = @AR@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +CC = @CC@
- +CCAS = @CCAS@
- +CCASDEPMODE = @CCASDEPMODE@
- +CCASFLAGS = @CCASFLAGS@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CXX = @CXX@
- +CXXCPP = @CXXCPP@
- +CXXDEPMODE = @CXXDEPMODE@
- +CXXFLAGS = @CXXFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +ECHO = @ECHO@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +EGREP = @EGREP@
- +EXEEXT = @EXEEXT@
- +F77 = @F77@
- +FFLAGS = @FFLAGS@
- +GREP = @GREP@
- +INSTALL = @INSTALL@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JAVAC = @JAVAC@
- +LDFLAGS = @LDFLAGS@
- +LIBOBJS = @LIBOBJS@
- +LIBS = @LIBS@
- +LIBTOOL = @LIBTOOL@
- +LN_S = @LN_S@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAINT = @MAINT@
- +MAKEINFO = @MAKEINFO@
- +MKDIR_P = @MKDIR_P@
- +OBJEXT = @OBJEXT@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +RANLIB = @RANLIB@
- +SED = @SED@
- +SET_MAKE = @SET_MAKE@
- +SHELL = @SHELL@
- +STRIP = @STRIP@
- +VERSION = @VERSION@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +ac_ct_CXX = @ac_ct_CXX@
- +ac_ct_F77 = @ac_ct_F77@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +arch = @arch@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +exec_prefix = @exec_prefix@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +interp_cflags = @interp_cflags@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +os = @os@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target_alias = @target_alias@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +use_zip_no = @use_zip_no@
- +use_zip_yes = @use_zip_yes@
- +with_classpath_install_dir = @with_classpath_install_dir@
- +noinst_LTLIBRARIES = libnative.la
- +libnative_la_SOURCES = init.c dll_md.c
- +AM_CPPFLAGS = -I$(top_builddir)/src
- +all: all-am
- +
- +.SUFFIXES:
- +.SUFFIXES: .c .lo .o .obj
- +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- + && exit 0; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/os/linux/avr32/Makefile'; \
- + cd $(top_srcdir) && \
- + $(AUTOMAKE) --gnu src/os/linux/avr32/Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +
- +clean-noinstLTLIBRARIES:
- + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
- + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
- + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- + test "$$dir" != "$$p" || dir=.; \
- + echo "rm -f \"$${dir}/so_locations\""; \
- + rm -f "$${dir}/so_locations"; \
- + done
- +libnative.la: $(libnative_la_OBJECTS) $(libnative_la_DEPENDENCIES)
- + $(LINK) $(libnative_la_OBJECTS) $(libnative_la_LIBADD) $(LIBS)
- +
- +mostlyclean-compile:
- + -rm -f *.$(OBJEXT)
- +
- +distclean-compile:
- + -rm -f *.tab.c
- +
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dll_md.Plo@am__quote@
- +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@
- +
- +.c.o:
- +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
- +
- +.c.obj:
- +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- +
- +.c.lo:
- +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
- +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
- +
- +mostlyclean-libtool:
- + -rm -f *.lo
- +
- +clean-libtool:
- + -rm -rf .libs _libs
- +
- +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) ' { files[$$0] = 1; } \
- + END { for (i in files) print i; }'`; \
- + mkid -fID $$unique
- +tags: TAGS
- +
- +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + tags=; \
- + here=`pwd`; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) ' { files[$$0] = 1; } \
- + END { for (i in files) print i; }'`; \
- + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- + test -n "$$unique" || unique=$$empty_fix; \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$tags $$unique; \
- + fi
- +ctags: CTAGS
- +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- + $(TAGS_FILES) $(LISP)
- + tags=; \
- + here=`pwd`; \
- + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- + unique=`for i in $$list; do \
- + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- + done | \
- + $(AWK) ' { files[$$0] = 1; } \
- + END { for (i in files) print i; }'`; \
- + test -z "$(CTAGS_ARGS)$$tags$$unique" \
- + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- + $$tags $$unique
- +
- +GTAGS:
- + here=`$(am__cd) $(top_builddir) && pwd` \
- + && cd $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) $$here
- +
- +distclean-tags:
- + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- +
- +distdir: $(DISTFILES)
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- + fi; \
- + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- + else \
- + test -f $(distdir)/$$file \
- + || cp -p $$d/$$file $(distdir)/$$file \
- + || exit 1; \
- + fi; \
- + done
- +check-am: all-am
- +check: check-am
- +all-am: Makefile $(LTLIBRARIES)
- +installdirs:
- +install: install-am
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + `test -z '$(STRIP)' || \
- + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
- + mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-compile distclean-generic \
- + distclean-tags
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-info: install-info-am
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-ps: install-ps-am
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -rf ./$(DEPDIR)
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- + mostlyclean-libtool
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: install-am install-strip
- +
- +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- + clean-libtool clean-noinstLTLIBRARIES ctags distclean \
- + distclean-compile distclean-generic distclean-libtool \
- + distclean-tags distdir dvi dvi-am html html-am info info-am \
- + install install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-pdf install-pdf-am install-ps install-ps-am \
- + install-strip installcheck installcheck-am installdirs \
- + maintainer-clean maintainer-clean-generic mostlyclean \
- + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
- + pdf pdf-am ps ps-am tags uninstall uninstall-am
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- diff -urpN jamvm-1.5.0/src/os/linux/Makefile.am jamvm-1.5.0-avr32/src/os/linux/Makefile.am
- --- jamvm-1.5.0/src/os/linux/Makefile.am 2007-10-28 00:19:26.000000000 +0200
- +++ jamvm-1.5.0-avr32/src/os/linux/Makefile.am 2008-02-08 09:20:38.000000000 +0100
- @@ -20,7 +20,7 @@
- ##
-
- SUBDIRS = @arch@
- -DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips
- +DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips avr32
-
- noinst_LTLIBRARIES = libos.la
- libos_la_SOURCES = os.c
- diff -urpN jamvm-1.5.0/src/os/linux/Makefile.in jamvm-1.5.0-avr32/src/os/linux/Makefile.in
- --- jamvm-1.5.0/src/os/linux/Makefile.in 2007-10-29 07:02:37.000000000 +0100
- +++ jamvm-1.5.0-avr32/src/os/linux/Makefile.in 2008-02-08 09:20:38.000000000 +0100
- @@ -191,7 +191,7 @@ use_zip_no = @use_zip_no@
- use_zip_yes = @use_zip_yes@
- with_classpath_install_dir = @with_classpath_install_dir@
- SUBDIRS = @arch@
- -DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips
- +DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips avr32
- noinst_LTLIBRARIES = libos.la
- libos_la_SOURCES = os.c
- AM_CPPFLAGS = -I$(top_builddir)/src
|