cacao.git
18 years ago* added src/libltdl
twisti [Sun, 12 Jun 2005 23:25:22 +0000 (23:25 +0000)]
* added src/libltdl

18 years ago* removed --{en,dis}able-static --{en,dis}able-shared for sub packages,
twisti [Sun, 12 Jun 2005 23:24:27 +0000 (23:24 +0000)]
* removed --{en,dis}able-static --{en,dis}able-shared for sub packages,
  because we always need a static library for libltdl
* added src/libltdl

18 years ago* added DISABLE_GC and libltdl
twisti [Sun, 12 Jun 2005 23:21:54 +0000 (23:21 +0000)]
* added DISABLE_GC and libltdl

18 years agolibltdl from GNU Libtool 1.5.18
twisti [Sun, 12 Jun 2005 23:21:27 +0000 (23:21 +0000)]
libltdl from GNU Libtool 1.5.18

18 years ago* Added some includes
twisti [Fri, 10 Jun 2005 18:43:20 +0000 (18:43 +0000)]
* Added some includes

18 years ago* Adopted to darwin abi
twisti [Fri, 10 Jun 2005 18:42:56 +0000 (18:42 +0000)]
* Adopted to darwin abi

18 years ago* We need to include this header into asmpart.S because of LA_LR_OFFSET.
twisti [Fri, 10 Jun 2005 18:42:34 +0000 (18:42 +0000)]
* We need to include this header into asmpart.S because of LA_LR_OFFSET.

18 years ago* also include ARCH_DIR
twisti [Fri, 10 Jun 2005 18:22:29 +0000 (18:22 +0000)]
* also include ARCH_DIR

18 years agofix stacktrace problem found by twisti
jowenn [Fri, 10 Jun 2005 10:01:44 +0000 (10:01 +0000)]
fix stacktrace problem found by twisti

18 years ago* machine dependent stuff
twisti [Thu, 9 Jun 2005 21:23:11 +0000 (21:23 +0000)]
* machine dependent stuff

18 years ago* use parsed descriptors
twisti [Thu, 9 Jun 2005 21:22:54 +0000 (21:22 +0000)]
* use parsed descriptors
* ld offset fix in patcher stub (more to do)

18 years ago* compile fix for mips, warning fix for others
twisti [Thu, 9 Jun 2005 21:22:01 +0000 (21:22 +0000)]
* compile fix for mips, warning fix for others

18 years ago* removed SET_ARG_STACKSLOTS
twisti [Thu, 9 Jun 2005 20:39:37 +0000 (20:39 +0000)]
* removed SET_ARG_STACKSLOTS
* use SIZEOF_VOID_P

18 years ago* moved defines into md-asm.h
twisti [Thu, 9 Jun 2005 20:39:00 +0000 (20:39 +0000)]
* moved defines into md-asm.h

18 years ago* moved ABI stuff into md-abi.h
twisti [Thu, 9 Jun 2005 20:36:48 +0000 (20:36 +0000)]
* moved ABI stuff into md-abi.h
*e AC_C_BIGENDIAN in configure

18 years ago* added md files
twisti [Thu, 9 Jun 2005 20:35:42 +0000 (20:35 +0000)]
* added md files

18 years ago* use patcher monitorenter/exit macros
twisti [Thu, 9 Jun 2005 20:35:21 +0000 (20:35 +0000)]
* use patcher monitorenter/exit macros
* bugfix: leave monitor in exception case

18 years ago* Use AC_C_BIGENDIAN in configure.in
twisti [Thu, 9 Jun 2005 20:31:13 +0000 (20:31 +0000)]
* Use AC_C_BIGENDIAN in configure.in

18 years ago* don't use get_variable_message_length, it's not neessary
twisti [Thu, 9 Jun 2005 16:11:03 +0000 (16:11 +0000)]
* don't use get_variable_message_length, it's not neessary
* builtin_trace_exception: use dump memory

18 years agoBug in long argument copying and Trace Argument copying eliminated
christian [Thu, 9 Jun 2005 07:29:48 +0000 (07:29 +0000)]
Bug in long argument copying and Trace Argument copying eliminated

18 years agonew Stack memory allocation, use of unused arg regs as temp disabled
christian [Thu, 9 Jun 2005 07:28:50 +0000 (07:28 +0000)]
new Stack memory allocation, use of unused arg regs as temp disabled

18 years ago* builtintable_internal: fixed 2 typo's
twisti [Wed, 8 Jun 2005 20:58:01 +0000 (20:58 +0000)]
* builtintable_internal: fixed 2 typo's

18 years ago* use dump memory in trace functions, should be faster
twisti [Wed, 8 Jun 2005 20:57:25 +0000 (20:57 +0000)]
* use dump memory in trace functions, should be faster
* use SIZEOF_VOID_P instead of arch defines

18 years ago* use SIZEOF_VOID_P instead of arch defines
twisti [Wed, 8 Jun 2005 20:56:37 +0000 (20:56 +0000)]
* use SIZEOF_VOID_P instead of arch defines
* removed USEBUILTINTABLE define (we need another one to disable automatic
  replacement)

18 years agoAdded: codegen_disassemble_nativestub
twisti [Wed, 8 Jun 2005 20:54:54 +0000 (20:54 +0000)]
Added: codegen_disassemble_nativestub

18 years agoMachine dependent stuff.
twisti [Wed, 8 Jun 2005 20:54:18 +0000 (20:54 +0000)]
Machine dependent stuff.

18 years ago* moved ABI stuff to specific files
twisti [Wed, 8 Jun 2005 20:54:05 +0000 (20:54 +0000)]
* moved ABI stuff to specific files
* removed BlockPtrOfPC
* use parsed descriptors
* native stub cleanup

18 years agoRemoved useless BlockPtrOfPC macro.
twisti [Wed, 8 Jun 2005 20:53:09 +0000 (20:53 +0000)]
Removed useless BlockPtrOfPC macro.

18 years agoRemoved SET_ARG_STACKSLOTS.
twisti [Wed, 8 Jun 2005 19:43:46 +0000 (19:43 +0000)]
Removed SET_ARG_STACKSLOTS.

18 years agoMoved defines to md-asm.h
twisti [Wed, 8 Jun 2005 19:43:30 +0000 (19:43 +0000)]
Moved defines to md-asm.h

18 years agoAdded md stuff.
twisti [Wed, 8 Jun 2005 19:30:39 +0000 (19:30 +0000)]
Added md stuff.

18 years agoMoved ABI stuff into md-abi.h
twisti [Wed, 8 Jun 2005 19:30:09 +0000 (19:30 +0000)]
Moved ABI stuff into md-abi.h

18 years ago* removed U8_AVAILABLE, since we know what alpha can do
twisti [Wed, 8 Jun 2005 19:29:36 +0000 (19:29 +0000)]
* removed U8_AVAILABLE, since we know what alpha can do

18 years ago* use PATCHER_MARK_PATCHED_MONITOREXIT on exit
twisti [Wed, 8 Jun 2005 19:26:04 +0000 (19:26 +0000)]
* use PATCHER_MARK_PATCHED_MONITOREXIT on exit
* use PATCHER_MONITOREXIT in exception case

18 years ago* Java_java_lang_reflect_Method_invokeNative: forgot to set throwAccess to
twisti [Wed, 8 Jun 2005 18:21:28 +0000 (18:21 +0000)]
* Java_java_lang_reflect_Method_invokeNative: forgot to set throwAccess to
  false

18 years agoMoved abi stuff to machine depended files
christian [Wed, 8 Jun 2005 14:41:35 +0000 (14:41 +0000)]
Moved abi stuff to machine depended files

18 years agokjc script.
twisti [Wed, 8 Jun 2005 13:15:00 +0000 (13:15 +0000)]
kjc script.

18 years ago* added: tests/codepatching/Makefile, src/scripts/kjc
twisti [Wed, 8 Jun 2005 13:07:01 +0000 (13:07 +0000)]
* added: tests/codepatching/Makefile, src/scripts/kjc

18 years ago- added codepatching to SUBDIRS
twisti [Wed, 8 Jun 2005 12:51:03 +0000 (12:51 +0000)]
- added codepatching to SUBDIRS
- temporary added -noverify, remove it when verifier does work again

18 years agoObviously...
twisti [Wed, 8 Jun 2005 12:50:23 +0000 (12:50 +0000)]
Obviously...

18 years agoIgnore standard files.
twisti [Wed, 8 Jun 2005 12:50:09 +0000 (12:50 +0000)]
Ignore standard files.

18 years agoUse threads to check the locking code.
twisti [Wed, 8 Jun 2005 12:49:51 +0000 (12:49 +0000)]
Use threads to check the locking code.

18 years ago* fill_callblock: renamed to fill_callblock_from_vargs
twisti [Wed, 8 Jun 2005 11:26:49 +0000 (11:26 +0000)]
* fill_callblock: renamed to fill_callblock_from_vargs
* fill_callblock_objA:
 - renamed to fill_callblock_from_objectarray
 - bug fix: wrong offset in object array
* FromReflectedMethod: some changes
* GetStringUTFChars: implemented like kaffe does
* jni_method_invokeNativeHelper:
 - some changes, should we set the value in the object inline?
 - better exception handling

18 years agoget_parametertypes:
twisti [Wed, 8 Jun 2005 11:18:01 +0000 (11:18 +0000)]
get_parametertypes:
 - bug fix: added missing &
 - fixed indent

18 years agoJava_java_lang_reflect_Method_invokeNative: made code more readable
twisti [Wed, 8 Jun 2005 11:16:38 +0000 (11:16 +0000)]
Java_java_lang_reflect_Method_invokeNative: made code more readable

18 years agoCorrect use of java.library.path and gnu.classpath.boot.library.path.
twisti [Wed, 8 Jun 2005 11:06:07 +0000 (11:06 +0000)]
Correct use of java.library.path and gnu.classpath.boot.library.path.

18 years agoAdded: DISABLE_GC
twisti [Wed, 8 Jun 2005 11:05:10 +0000 (11:05 +0000)]
Added: DISABLE_GC

18 years agoAdded: string_java_lang_reflect_InvocationTargetException
twisti [Wed, 8 Jun 2005 11:04:14 +0000 (11:04 +0000)]
Added: string_java_lang_reflect_InvocationTargetException

18 years agoBetter error handling in wrapping the exception.
twisti [Wed, 8 Jun 2005 11:03:52 +0000 (11:03 +0000)]
Better error handling in wrapping the exception.

18 years agoNew ACC flags:
twisti [Wed, 8 Jun 2005 11:03:00 +0000 (11:03 +0000)]
New ACC flags:
 - ACC_UNDEF, ACC_NONE: for internal use
 - flags for 49.0 class format

18 years ago- new_exception*: check for native_and_init* return value and return
twisti [Wed, 8 Jun 2005 11:01:37 +0000 (11:01 +0000)]
- new_exception*: check for native_and_init* return value and return
  exceptionptr in error case
- new_classformaterror: warning fix

18 years agoUse SIZEOF_VOID_P instead of POINTERSIZE.
twisti [Wed, 8 Jun 2005 10:59:04 +0000 (10:59 +0000)]
Use SIZEOF_VOID_P instead of POINTERSIZE.

18 years agoABI stuff.
twisti [Wed, 8 Jun 2005 10:58:04 +0000 (10:58 +0000)]
ABI stuff.

18 years agoParsed descriptors changes: use abi pre-allocation
twisti [Wed, 8 Jun 2005 10:57:50 +0000 (10:57 +0000)]
Parsed descriptors changes: use abi pre-allocation

18 years agoMoved stuff to md-asm.h
twisti [Wed, 8 Jun 2005 10:56:49 +0000 (10:56 +0000)]
Moved stuff to md-asm.h

18 years ago- removed SET_ARG_STACKSLOTS
twisti [Wed, 8 Jun 2005 10:56:25 +0000 (10:56 +0000)]
- removed SET_ARG_STACKSLOTS
- added some macros

18 years ago#include "md-abi.h"
twisti [Wed, 8 Jun 2005 10:55:34 +0000 (10:55 +0000)]
#include "md-abi.h"

18 years agoMoved abi stuff into md-abi.h
twisti [Wed, 8 Jun 2005 10:33:50 +0000 (10:33 +0000)]
Moved abi stuff into md-abi.h

18 years agoAdded machine dependent files.
twisti [Wed, 8 Jun 2005 10:33:14 +0000 (10:33 +0000)]
Added machine dependent files.

18 years ago- use monitorenter/exit macros: removed dontfillinexceptionstacktrace, this
twisti [Wed, 8 Jun 2005 10:31:36 +0000 (10:31 +0000)]
- use monitorenter/exit macros: removed dontfillinexceptionstacktrace, this
  should be used again when we have stacktraces on all archs
- warning fix

18 years agoNative stub fixes.
twisti [Tue, 7 Jun 2005 16:04:15 +0000 (16:04 +0000)]
Native stub fixes.

18 years agoadded arm architecture
michi [Tue, 7 Jun 2005 15:31:38 +0000 (15:31 +0000)]
added arm architecture

18 years agoMULTIANEWARRAY: linux bugfix
twisti [Tue, 7 Jun 2005 15:07:55 +0000 (15:07 +0000)]
MULTIANEWARRAY: linux bugfix

18 years agoconting max use of argument registers and stack use for a method
christian [Tue, 7 Jun 2005 08:37:09 +0000 (08:37 +0000)]
conting max use of argument registers and stack use for a method

18 years agoMoved md_param_alloc from md-abi.h to md.h since md-abi.h is included in
twisti [Mon, 6 Jun 2005 21:21:19 +0000 (21:21 +0000)]
Moved md_param_alloc from md-abi.h to md.h since md-abi.h is included in
asmpart.S.

18 years agoget_parametertypes: use fully parsed descriptors
twisti [Mon, 6 Jun 2005 15:39:58 +0000 (15:39 +0000)]
get_parametertypes: use fully parsed descriptors

18 years ago- used parsed descriptors
twisti [Mon, 6 Jun 2005 15:38:52 +0000 (15:38 +0000)]
- used parsed descriptors
- code indent

18 years agoAdded:
twisti [Mon, 6 Jun 2005 15:37:58 +0000 (15:37 +0000)]
Added:
 - AC_COMPILE_CHECK_SIZEOF
 - src/vm/jit/powerpc/darwin/Makefile
 - src/vm/jit/powerpc/linux/Makefile

18 years ago- resolve_method: check for mi->parseddesc->params and generate it if not
twisti [Mon, 6 Jun 2005 15:36:12 +0000 (15:36 +0000)]
- resolve_method: check for mi->parseddesc->params and generate it if not
  available, so we can use the correct param stuff (static vs. non-static)
- removed INSTRUCTION_PUTCONST_FIELDREF (only used twice)

18 years ago- load_constantpool: try to add all descriptors to the pool
twisti [Mon, 6 Jun 2005 15:34:32 +0000 (15:34 +0000)]
- load_constantpool: try to add all descriptors to the pool
- load_class_from_classbuffer: pass m->flags for class methods to
  descriptor_pool_parse_method_descriptor so we can do the register
  pre-allocation

18 years ago- descriptor_pool_add: check for method descriptors and add all of them
twisti [Mon, 6 Jun 2005 15:32:16 +0000 (15:32 +0000)]
- descriptor_pool_add: check for method descriptors and add all of them
  since the static flag may be different
- descriptor_pool_parse_method_descriptor: pass method flags and generate,
  if possible, the params array which contains the register allocation for
  this particular function (descriptor)
- added: descriptor_params_from_paramtypes
- some code beautification

18 years agoAdded: builtintable.inc
twisti [Mon, 6 Jun 2005 15:28:39 +0000 (15:28 +0000)]
Added: builtintable.inc

18 years ago- use parsed descriptors
twisti [Mon, 6 Jun 2005 15:28:11 +0000 (15:28 +0000)]
- use parsed descriptors
- use generic ICMD_BUILTIN

18 years agoCommented builtin stuff. Please fix me!
twisti [Mon, 6 Jun 2005 15:26:26 +0000 (15:26 +0000)]
Commented builtin stuff. Please fix me!

18 years ago- removed: BUILTIN{1,2,3}, INSTRUCTION_PUTCONST_FIELDREF
twisti [Mon, 6 Jun 2005 15:25:56 +0000 (15:25 +0000)]
- removed: BUILTIN{1,2,3}, INSTRUCTION_PUTCONST_FIELDREF

18 years ago- removed BUILTIN{1,2,3}
twisti [Mon, 6 Jun 2005 15:25:39 +0000 (15:25 +0000)]
- removed BUILTIN{1,2,3}
- use SIZEOF_VOID_P
- removed sort_builtintable from jit_init

18 years agoLinux changes.
twisti [Mon, 6 Jun 2005 15:24:15 +0000 (15:24 +0000)]
Linux changes.

18 years agoChanged to generic ICMD_BUILTIN.
twisti [Mon, 6 Jun 2005 15:22:56 +0000 (15:22 +0000)]
Changed to generic ICMD_BUILTIN.

18 years agoCommented builtin stuff. This has to be fixed correctly.
twisti [Mon, 6 Jun 2005 15:22:21 +0000 (15:22 +0000)]
Commented builtin stuff. This has to be fixed correctly.

18 years agoCode beautify.
twisti [Mon, 6 Jun 2005 15:21:19 +0000 (15:21 +0000)]
Code beautify.

18 years agoAdded: utf_clone
twisti [Mon, 6 Jun 2005 15:20:41 +0000 (15:20 +0000)]
Added: utf_clone

18 years agoDefined ACC_UNDEF, ACC_NONE: these are used internally
twisti [Mon, 6 Jun 2005 15:01:54 +0000 (15:01 +0000)]
Defined ACC_UNDEF, ACC_NONE: these are used internally

18 years ago- removed old builtin table stuff
twisti [Mon, 6 Jun 2005 15:00:29 +0000 (15:00 +0000)]
- removed old builtin table stuff
- added: builtin_init, builtintable_init, builtintable_get_internal,
  builtintable_get_automatic
- use SIZEOF_VOID_P instead of POINTERSIZE
- use parsed descriptor

18 years ago- added OS_DIR to SUBDIRS
twisti [Mon, 6 Jun 2005 14:53:30 +0000 (14:53 +0000)]
- added OS_DIR to SUBDIRS
- add libmd.la to libarch.la

18 years agoPOINTERSIZE, CONSECUTIVE_FLOAT_ARGS: removed
twisti [Mon, 6 Jun 2005 14:52:51 +0000 (14:52 +0000)]
POINTERSIZE, CONSECUTIVE_FLOAT_ARGS: removed

18 years agoInclude memory.h for OFFSET macro.
twisti [Mon, 6 Jun 2005 14:51:38 +0000 (14:51 +0000)]
Include memory.h for OFFSET macro.

18 years agoMoved ABI and machine dependent stuff into linux/ subdirectory.
twisti [Mon, 6 Jun 2005 14:48:21 +0000 (14:48 +0000)]
Moved ABI and machine dependent stuff into linux/ subdirectory.

18 years agoMoved ABI and machine dependent stuff into darwin/ subdirectory.
twisti [Mon, 6 Jun 2005 14:47:28 +0000 (14:47 +0000)]
Moved ABI and machine dependent stuff into darwin/ subdirectory.

18 years agoAdded MMOVE macro.
twisti [Mon, 6 Jun 2005 14:45:17 +0000 (14:45 +0000)]
Added MMOVE macro.

18 years agoAdded md_param_alloc.
twisti [Mon, 6 Jun 2005 14:44:56 +0000 (14:44 +0000)]
Added md_param_alloc.

18 years ago- moved jit_init
twisti [Mon, 6 Jun 2005 14:44:06 +0000 (14:44 +0000)]
- moved jit_init
- added builtin_init

18 years agoIgnore nativetable.inc
twisti [Mon, 6 Jun 2005 14:42:48 +0000 (14:42 +0000)]
Ignore nativetable.inc

18 years agoUse memory macros.
twisti [Mon, 6 Jun 2005 14:42:29 +0000 (14:42 +0000)]
Use memory macros.

18 years ago- renamed arguments to fit classpath's
twisti [Mon, 6 Jun 2005 14:41:42 +0000 (14:41 +0000)]
- renamed arguments to fit classpath's
- use static utf_init

18 years agoIgnore generated files.
twisti [Mon, 6 Jun 2005 14:37:32 +0000 (14:37 +0000)]
Ignore generated files.

18 years agoContains builtin tables (internal, automatic). Included in builtin.c.
twisti [Mon, 6 Jun 2005 14:35:29 +0000 (14:35 +0000)]
Contains builtin tables (internal, automatic). Included in builtin.c.

18 years agoInclude OS_DIR.
twisti [Tue, 31 May 2005 22:35:04 +0000 (22:35 +0000)]
Include OS_DIR.

18 years ago- include <stdarg.h>
twisti [Tue, 31 May 2005 18:36:17 +0000 (18:36 +0000)]
- include <stdarg.h>
- define _exceptionptr

18 years ago- removed lazy loading defines
twisti [Tue, 31 May 2005 16:04:10 +0000 (16:04 +0000)]
- removed lazy loading defines
- changed output of unresolved builtin functions
- added #include "md-abi.h": TRACE_ARGS_NUM
- use short TYPE_ defines instead of long ones (i think we should finally
  merge them)

18 years agoRemoved lazy loading defines and old, unused code.
twisti [Tue, 31 May 2005 16:02:14 +0000 (16:02 +0000)]
Removed lazy loading defines and old, unused code.