cacao.git
18 years agoremoved typing error (! missing in md_return_alloc)
christian [Thu, 7 Jul 2005 16:35:34 +0000 (16:35 +0000)]
removed typing error (! missing in md_return_alloc)

18 years ago* loader_load_all_classes: skip META-INF entries
twisti [Thu, 7 Jul 2005 15:45:30 +0000 (15:45 +0000)]
* loader_load_all_classes: skip META-INF entries

18 years agoOutput RA instead of A-1 for allocated return values with -sa
christian [Thu, 7 Jul 2005 14:33:27 +0000 (14:33 +0000)]
Output RA instead of A-1 for allocated return values with -sa

18 years ago* don't include "md.h", not needed
twisti [Thu, 7 Jul 2005 09:41:59 +0000 (09:41 +0000)]
* don't include "md.h", not needed

18 years ago* EXTRA_DIST: removed
twisti [Thu, 7 Jul 2005 09:37:26 +0000 (09:37 +0000)]
* EXTRA_DIST: removed
* md.c added

18 years ago* Not required
twisti [Thu, 7 Jul 2005 09:37:04 +0000 (09:37 +0000)]
* Not required

18 years ago* Moved os independent stuff here from linux/md.c, darwin/md.c
twisti [Thu, 7 Jul 2005 09:27:20 +0000 (09:27 +0000)]
* Moved os independent stuff here from linux/md.c, darwin/md.c

18 years ago* Renamed md.c to md-os.c
twisti [Thu, 7 Jul 2005 09:26:30 +0000 (09:26 +0000)]
* Renamed md.c to md-os.c

18 years ago* Formatted some macros a bit
twisti [Wed, 6 Jul 2005 21:23:33 +0000 (21:23 +0000)]
* Formatted some macros a bit

18 years ago* More changes
twisti [Tue, 5 Jul 2005 14:00:37 +0000 (14:00 +0000)]
* More changes

18 years ago* Machine dependent, but os independent functions
twisti [Tue, 5 Jul 2005 14:00:17 +0000 (14:00 +0000)]
* Machine dependent, but os independent functions

18 years ago* Added md.c
twisti [Tue, 5 Jul 2005 14:00:02 +0000 (14:00 +0000)]
* Added md.c

18 years ago* Renamed md.c to md-os.c
twisti [Tue, 5 Jul 2005 13:59:43 +0000 (13:59 +0000)]
* Renamed md.c to md-os.c

18 years ago* Cleanup and trying to make the functions a bit simpler and clearer.
twisti [Tue, 5 Jul 2005 13:40:14 +0000 (13:40 +0000)]
* Cleanup and trying to make the functions a bit simpler and clearer.

18 years ago* md_stacktrace_get_returnaddress: added
twisti [Tue, 5 Jul 2005 13:39:44 +0000 (13:39 +0000)]
* md_stacktrace_get_returnaddress: added

18 years ago* native_resolve_function: bugfix, just always generate overloaded function
twisti [Tue, 5 Jul 2005 11:18:20 +0000 (11:18 +0000)]
* native_resolve_function: bugfix, just always generate overloaded function
  name, this should not happen that often and it's easier this way

18 years ago* native_get_exceptiontypes: bugfix, removed excount and just use the
twisti [Tue, 5 Jul 2005 10:04:12 +0000 (10:04 +0000)]
* native_get_exceptiontypes: bugfix, removed excount and just use the
  methodinfo data

18 years ago* asm_calljavafunction/2: calculate pv recalculate value with labels
twisti [Tue, 5 Jul 2005 08:49:55 +0000 (08:49 +0000)]
* asm_calljavafunction/2: calculate pv recalculate value with labels
* some cosmetic changes

18 years ago* INVOKESPECIAL: use software null pointer, checking a register should be
twisti [Tue, 5 Jul 2005 08:48:07 +0000 (08:48 +0000)]
* INVOKESPECIAL: use software null pointer, checking a register should be
  faster than accessing memory
* createnativestub: save floats with M_FST for native functions

18 years ago* builtin_new: removed commented debug output
twisti [Tue, 5 Jul 2005 08:46:37 +0000 (08:46 +0000)]
* builtin_new: removed commented debug output

18 years agoNew jni Version Number
christian [Mon, 4 Jul 2005 21:32:49 +0000 (21:32 +0000)]
New jni Version Number

18 years ago* Install kjc and gnu.getopt
twisti [Mon, 4 Jul 2005 21:28:14 +0000 (21:28 +0000)]
* Install kjc and gnu.getopt

18 years ago* Ignore generated files
twisti [Mon, 4 Jul 2005 21:27:43 +0000 (21:27 +0000)]
* Ignore generated files

18 years ago* rmic: removed
twisti [Mon, 4 Jul 2005 21:21:39 +0000 (21:21 +0000)]
* rmic: removed
* contrib, javac: added

18 years ago* SUBDIRS: added contrib
twisti [Mon, 4 Jul 2005 21:21:10 +0000 (21:21 +0000)]
* SUBDIRS: added contrib

18 years ago* javac.in: added
twisti [Mon, 4 Jul 2005 21:20:52 +0000 (21:20 +0000)]
* javac.in: added

18 years ago* The compiler we want to use
twisti [Mon, 4 Jul 2005 21:09:35 +0000 (21:09 +0000)]
* The compiler we want to use

18 years agodebug helper removed
christian [Mon, 4 Jul 2005 21:02:17 +0000 (21:02 +0000)]
debug helper removed

18 years agooutput file for extest.java corrected
christian [Mon, 4 Jul 2005 20:45:02 +0000 (20:45 +0000)]
output file for extest.java corrected

18 years ago* thread_getself: implemented
twisti [Mon, 4 Jul 2005 20:41:28 +0000 (20:41 +0000)]
* thread_getself: implemented

18 years ago* GetEnv: call thread_getself, but i don't know if this is correct
twisti [Mon, 4 Jul 2005 20:40:55 +0000 (20:40 +0000)]
* GetEnv: call thread_getself, but i don't know if this is correct

18 years ago* Added -verbose:[class|gc|jni], yet only jni works
twisti [Mon, 4 Jul 2005 20:39:26 +0000 (20:39 +0000)]
* Added -verbose:[class|gc|jni], yet only jni works

18 years ago* Renamed collectverbose to opt_verbosegc (but it still does not work)
twisti [Mon, 4 Jul 2005 20:38:33 +0000 (20:38 +0000)]
* Renamed collectverbose to opt_verbosegc (but it still does not work)

18 years agoTest script for make chekall added
christian [Mon, 4 Jul 2005 20:38:29 +0000 (20:38 +0000)]
Test script for make chekall added

18 years ago* collectverbose: removed
twisti [Mon, 4 Jul 2005 20:38:07 +0000 (20:38 +0000)]
* collectverbose: removed
* opt_verbosejni, opt_verbosegc: added

18 years ago* Updated to classpath 0.16
twisti [Mon, 4 Jul 2005 20:35:24 +0000 (20:35 +0000)]
* Updated to classpath 0.16

18 years ago* stringtable_update, get_type: removed
twisti [Mon, 4 Jul 2005 20:33:12 +0000 (20:33 +0000)]
* stringtable_update, get_type: removed
* native_get_parametertypes, native_get_exceptiontypes,
  native_get_returntype: prefixed with native_

18 years ago* native_resolve_function: implemented -verbose:jni
twisti [Mon, 4 Jul 2005 20:31:45 +0000 (20:31 +0000)]
* native_resolve_function: implemented -verbose:jni
* native_get_parametertypes, native_get_exceptiontypes,
  native_get_returntype: prefixed with native_ and some changes

18 years agoRegister packing Macros moved to codegen.inc.h
christian [Sun, 3 Jul 2005 16:41:57 +0000 (16:41 +0000)]
Register packing Macros moved to codegen.inc.h

18 years agoBoth builtin_trace_args calls moved into a function. Call Stack generation
christian [Sun, 3 Jul 2005 16:40:49 +0000 (16:40 +0000)]
Both builtin_trace_args calls moved into a function. Call Stack generation
for Linux corrected.

18 years agoPreliminary Bugfix for PowerPC/Linux. Only 3 parameters are handled
christian [Sun, 3 Jul 2005 16:38:33 +0000 (16:38 +0000)]
Preliminary Bugfix for PowerPC/Linux. Only 3 parameters are handled
correctly by sprintf in C-Code

18 years agoPreliminary Bugfix for PowerPC/Linux - only 3 Params are handled correctly
christian [Sun, 3 Jul 2005 16:37:30 +0000 (16:37 +0000)]
Preliminary Bugfix for PowerPC/Linux - only 3 Params are handled correctly
by sprintf in C-Code

18 years agofix subclass testing in typeinfo.c: check subclass relationship using the
edwin [Sat, 2 Jul 2005 14:05:47 +0000 (14:05 +0000)]
fix subclass testing in typeinfo.c: check subclass relationship using the
merged list if the common type is not a subclass of the destination type.
This has become necessary because of lazy loading since the class hierarchy
may change dynamically and there may be unresolved types in the merged list.

18 years agoremoved -noverify option
edwin [Sat, 2 Jul 2005 13:59:19 +0000 (13:59 +0000)]
removed -noverify option

18 years ago* md_param_alloc: simplified a bit
twisti [Thu, 30 Jun 2005 22:36:45 +0000 (22:36 +0000)]
* md_param_alloc: simplified a bit

18 years ago* fill_callblock_from_vargs: float passing fix
twisti [Thu, 30 Jun 2005 21:45:21 +0000 (21:45 +0000)]
* fill_callblock_from_vargs: float passing fix

18 years ago* Use functions for test for better debugability.
twisti [Thu, 30 Jun 2005 20:54:41 +0000 (20:54 +0000)]
* Use functions for test for better debugability.

18 years ago* Always sign-extend the item values to 8-bytes in the call blocks, made
twisti [Thu, 30 Jun 2005 14:42:01 +0000 (14:42 +0000)]
* Always sign-extend the item values to 8-bytes in the call blocks, made
  problems on alpha and mips

18 years ago* Added native clinit exception, for staticvm just catch the
twisti [Thu, 30 Jun 2005 10:10:14 +0000 (10:10 +0000)]
* Added native clinit exception, for staticvm just catch the
  UnsatisfiedLinkError

18 years ago* OPT_VERBOSE: added load/linkverbose
twisti [Thu, 30 Jun 2005 09:58:38 +0000 (09:58 +0000)]
* OPT_VERBOSE: added load/linkverbose
* version: print part of GNU header
* Better use strlen("0") instead of 1

18 years ago* native_findfunction: return non-NULL, otherwise we get an exception
twisti [Thu, 30 Jun 2005 09:55:49 +0000 (09:55 +0000)]
* native_findfunction: return non-NULL, otherwise we get an exception

18 years ago* Link with fdlibm
twisti [Thu, 30 Jun 2005 09:54:19 +0000 (09:54 +0000)]
* Link with fdlibm

18 years ago* M_RET: added
twisti [Thu, 30 Jun 2005 09:18:02 +0000 (09:18 +0000)]
* M_RET: added

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Thu, 30 Jun 2005 09:16:21 +0000 (09:16 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Use some risc-style macros

18 years ago* builtin_fdiv, builtin_ddiv, builtin_dneg: implemented correcly as
twisti [Wed, 29 Jun 2005 14:57:36 +0000 (14:57 +0000)]
* builtin_fdiv, builtin_ddiv, builtin_dneg: implemented correcly as
  described in VM spec (plus comments), more to come!

18 years ago* Added some tests
twisti [Wed, 29 Jun 2005 14:55:33 +0000 (14:55 +0000)]
* Added some tests

18 years agomd_return_alloc added to precolor the stack slots containing the return
christian [Wed, 29 Jun 2005 12:42:19 +0000 (12:42 +0000)]
md_return_alloc added to precolor the stack slots containing the return
values to the return register and regard integer/float argument use.

18 years agomd_return_alloc coded to precolour stack slots holding the return register.
christian [Wed, 29 Jun 2005 12:40:42 +0000 (12:40 +0000)]
md_return_alloc coded to precolour stack slots holding the return register.
rd->arg[int|flt]reguse calculation in md_param_alloc corrected.

18 years agoPrecoloring of stackslot holding the return value to the return register(s) implemented.
christian [Wed, 29 Jun 2005 12:39:31 +0000 (12:39 +0000)]
Precoloring of stackslot holding the return value to the return register(s) implemented.
( md_return_alloc )
----------------------------------------------------------------------

18 years ago* gc_ignore_warnings: removed, it was not used
twisti [Tue, 28 Jun 2005 19:01:39 +0000 (19:01 +0000)]
* gc_ignore_warnings: removed, it was not used

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:53:28 +0000 (18:53 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Check for exception in native_findfunction

18 years ago* Put some logging in JWDEBUG
twisti [Tue, 28 Jun 2005 18:52:05 +0000 (18:52 +0000)]
* Put some logging in JWDEBUG

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:50:43 +0000 (18:50 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Don't check for libm, we use fdlibm instead
* Build GTK peers by default

18 years ago* Java_java_lang_VMThread_isAlive: removed
twisti [Tue, 28 Jun 2005 18:47:50 +0000 (18:47 +0000)]
* Java_java_lang_VMThread_isAlive: removed
* Java_java_lang_VMThread_nativeInit: removed
* Java_java_lang_VMThread_registerNatives: removed
* Removed some logging

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:45:22 +0000 (18:45 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Set java.version to 1.4.2
* Use strlen("0") instead of 1

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:44:10 +0000 (18:44 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:39:35 +0000 (18:39 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* use_class_as_object: changed return type from void to bool
* native_findfunction: throw an exception if native function is not found

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:38:16 +0000 (18:38 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* use_class_as_object: changed return type from void to bool

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:37:28 +0000 (18:37 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM

18 years ago* Link against fdlibm instead of libm
twisti [Tue, 28 Jun 2005 18:36:27 +0000 (18:36 +0000)]
* Link against fdlibm instead of libm

18 years ago* new_exception_javastring: added
twisti [Tue, 28 Jun 2005 18:36:08 +0000 (18:36 +0000)]
* new_exception_javastring: added

18 years ago* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:35:37 +0000 (18:35 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Link with fdlibm instead of libm

18 years ago* Added SUBDIRS: we have to build fdlibm since this library contains
twisti [Tue, 28 Jun 2005 18:34:46 +0000 (18:34 +0000)]
* Added SUBDIRS: we have to build fdlibm since this library contains
  suitable math functions (e.g. IRIX fmod bug)

18 years ago* Only cosmetic changes
twisti [Tue, 28 Jun 2005 18:32:46 +0000 (18:32 +0000)]
* Only cosmetic changes

18 years ago* Java_java_lang_VMObject_wait: changed signature in comment, renamed
twisti [Tue, 28 Jun 2005 18:24:47 +0000 (18:24 +0000)]
* Java_java_lang_VMObject_wait: changed signature in comment, renamed
  params link in classpath

18 years ago* Ignore classes, vm.zip
twisti [Tue, 28 Jun 2005 18:22:39 +0000 (18:22 +0000)]
* Ignore classes, vm.zip

18 years ago* Ooops, i should use a java string instead of an utf...
twisti [Tue, 28 Jun 2005 16:05:50 +0000 (16:05 +0000)]
* Ooops, i should use a java string instead of an utf...

18 years ago* Ignore kjc, rmic
twisti [Tue, 28 Jun 2005 15:51:25 +0000 (15:51 +0000)]
* Ignore kjc, rmic

18 years ago* Added OPT_SHOWVERSION, OPT_HELP, OPT_X
twisti [Tue, 28 Jun 2005 15:41:30 +0000 (15:41 +0000)]
* Added OPT_SHOWVERSION, OPT_HELP, OPT_X
* Xusage: implemented, print non-standard Java options
* usage: reformatted
* version: added first part of GNU header
* getmainclassnamefromjar: forget JNI and use cacao internal functions,
  better error handling

18 years ago* AttachCurrentThread: added function header comment
twisti [Tue, 28 Jun 2005 12:46:42 +0000 (12:46 +0000)]
* AttachCurrentThread: added function header comment

18 years ago* Set MCODECHECK sizes much higher, so we don't run into trouble. I think
twisti [Mon, 27 Jun 2005 20:59:28 +0000 (20:59 +0000)]
* Set MCODECHECK sizes much higher, so we don't run into trouble. I think
  this does not make any performance breakdown, since code segment increase
  happens first after 32KB.

18 years ago* Ooops, a darwin accident
twisti [Mon, 27 Jun 2005 19:58:48 +0000 (19:58 +0000)]
* Ooops, a darwin accident

18 years ago* Updated to boehm 6.5
twisti [Mon, 27 Jun 2005 19:55:40 +0000 (19:55 +0000)]
* Updated to boehm 6.5
* Use DARWIN_DONT_PARSE_STACK on powerpc-darwin

18 years ago* Added DISABLE_DUMP: use normal malloc in dump functions
twisti [Mon, 27 Jun 2005 15:51:12 +0000 (15:51 +0000)]
* Added DISABLE_DUMP: use normal malloc in dump functions

18 years ago* --disable-dump: added, this disables the use of the dump memory and
twisti [Mon, 27 Jun 2005 15:50:30 +0000 (15:50 +0000)]
* --disable-dump: added, this disables the use of the dump memory and
  should ease debugging for heap corruption

18 years ago* native_make_overloaded_function: heap corruption bugfix, forgot to add
twisti [Mon, 27 Jun 2005 15:03:01 +0000 (15:03 +0000)]
* native_make_overloaded_function: heap corruption bugfix, forgot to add
  the initial name length + \0

18 years agoTyping error from last commit fixed
christian [Mon, 27 Jun 2005 14:21:44 +0000 (14:21 +0000)]
Typing error from last commit fixed

18 years agoReserve stack space for saving return values to survive monitorexit according to...
christian [Mon, 27 Jun 2005 14:19:36 +0000 (14:19 +0000)]
Reserve stack space for saving return values to survive monitorexit according to the type

18 years ago* md_init: added
twisti [Mon, 27 Jun 2005 12:07:54 +0000 (12:07 +0000)]
* md_init: added

18 years agoCorrect saving of integer return register for [AIL]RETURN for monitorexit
christian [Mon, 27 Jun 2005 10:55:38 +0000 (10:55 +0000)]
Correct saving of integer return register for [AIL]RETURN for monitorexit

18 years ago* Ignore ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES
twisti [Mon, 27 Jun 2005 08:58:00 +0000 (08:58 +0000)]
* Ignore ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES

18 years ago* Bugfix: check return type for IS_2_WORD_TYPE and save more space on stack for
twisti [Sun, 26 Jun 2005 23:53:54 +0000 (23:53 +0000)]
* Bugfix: check return type for IS_2_WORD_TYPE and save more space on stack for
  monitorexit
* use more risc macros

18 years ago* M_ALD, M_AST: macros added
twisti [Sun, 26 Jun 2005 23:51:36 +0000 (23:51 +0000)]
* M_ALD, M_AST: macros added

18 years agocorrect handling for register usage for return types
christian [Sun, 26 Jun 2005 21:48:50 +0000 (21:48 +0000)]
correct handling for register usage for return types

18 years agoone M_ILD in var_to_reg_int too much
christian [Sun, 26 Jun 2005 21:48:11 +0000 (21:48 +0000)]
one M_ILD in var_to_reg_int too much

18 years agomd_param_alloc has to be called if paramcount==0, too
christian [Sun, 26 Jun 2005 21:47:29 +0000 (21:47 +0000)]
md_param_alloc has to be called if paramcount==0, too

18 years ago* md_init: added
twisti [Sun, 26 Jun 2005 13:06:51 +0000 (13:06 +0000)]
* md_init: added

18 years ago* Added md_init
twisti [Sun, 26 Jun 2005 11:39:18 +0000 (11:39 +0000)]
* Added md_init

18 years ago* Added md_init
twisti [Sat, 25 Jun 2005 15:32:34 +0000 (15:32 +0000)]
* Added md_init

18 years ago* Removed machine independent stuff
twisti [Sat, 25 Jun 2005 15:29:50 +0000 (15:29 +0000)]
* Removed machine independent stuff
* Renamed handlers
* Added md_init