christian [Thu, 23 Jun 2005 14:19:18 +0000 (14:19 +0000)]
Register Packing macros moved to md-abi.h
No more *_SECOND_* and *_FIRST_*, all this macros operate now only on high
and low part, according to the machine architecture.
edwin [Thu, 23 Jun 2005 14:03:24 +0000 (14:03 +0000)]
exception handling in typeinfo.c and typecheck.c
possible bugfix in typestate_merge
cleaned up typecheck.c, use verifier_state where possible
set leafmethod=false if patcher needed for field access
lots of comments added
twisti [Thu, 23 Jun 2005 14:00:27 +0000 (14:00 +0000)]
* Removed darwin stuff for old hardware nullpointer handling (this are the
original boehm-gc6.3 files)
twisti [Thu, 23 Jun 2005 13:53:13 +0000 (13:53 +0000)]
* Use sigaction for sigsegv handler
* Removed machine independent stuff
* Renamed handler
twisti [Thu, 23 Jun 2005 13:51:33 +0000 (13:51 +0000)]
* generic_print_address: fixed typo which generated a wrong address
twisti [Thu, 23 Jun 2005 13:51:06 +0000 (13:51 +0000)]
* asm_handle_nullptr_exception: removed
* asm_call_jit_compiler: use some defines to calculate the stack offsets
twisti [Thu, 23 Jun 2005 13:50:00 +0000 (13:50 +0000)]
* JAVA_{GET,PUT}{STATIC,FIELD}: check for initialized in !opt_verify
twisti [Thu, 23 Jun 2005 13:40:41 +0000 (13:40 +0000)]
* Removed machine independent stuff
* Renamed handler
twisti [Thu, 23 Jun 2005 13:19:41 +0000 (13:19 +0000)]
* Time for -Werror
twisti [Thu, 23 Jun 2005 11:12:28 +0000 (11:12 +0000)]
* Include global.h before java_lang_String.h
twisti [Thu, 23 Jun 2005 10:14:39 +0000 (10:14 +0000)]
* Removed machine independent stuff
* Renamed handlers
twisti [Thu, 23 Jun 2005 10:09:50 +0000 (10:09 +0000)]
* thread_dump: send SIGUSR1 to all threads, this maybe has to be changed
since boehm uses USR1 on some archs for suspend
twisti [Thu, 23 Jun 2005 09:54:26 +0000 (09:54 +0000)]
* Added: stacktrace_dump_trace
twisti [Thu, 23 Jun 2005 09:52:06 +0000 (09:52 +0000)]
* Renamed init_exceptions to signal_init
twisti [Thu, 23 Jun 2005 09:51:32 +0000 (09:51 +0000)]
* Removed machine independent stuff
* Renamed handlers
twisti [Thu, 23 Jun 2005 09:42:34 +0000 (09:42 +0000)]
* Moved md_param_alloc prototype to decriptor.h
twisti [Thu, 23 Jun 2005 09:34:51 +0000 (09:34 +0000)]
* Added: signal.c, signallocal.h
twisti [Thu, 23 Jun 2005 09:34:21 +0000 (09:34 +0000)]
* Machine independent signal handler stuff.
twisti [Thu, 23 Jun 2005 09:30:04 +0000 (09:30 +0000)]
* Include stdlib.h again to prevent a compiler warning, till i can fix the
code and use cacao memory macros
edwin [Wed, 22 Jun 2005 22:07:33 +0000 (22:07 +0000)]
added comments and assertions, minor cleanup
edwin [Wed, 22 Jun 2005 20:28:31 +0000 (20:28 +0000)]
added comments (and some assertions)
edwin [Wed, 22 Jun 2005 16:27:21 +0000 (16:27 +0000)]
fix error message code: utf_sprint declarer->name, not declarer
edwin [Wed, 22 Jun 2005 16:16:41 +0000 (16:16 +0000)]
added checkaccess parameter to resolve_class_from_typedesc
edwin [Wed, 22 Jun 2005 16:08:51 +0000 (16:08 +0000)]
added checkaccess parameter to resolve_class* functions
improved exception handling in typeinfo.c
do not check access rights to classes for subtype checks
edwin [Wed, 22 Jun 2005 13:24:19 +0000 (13:24 +0000)]
fixed undefined return value of verify_init_locals
edwin [Wed, 22 Jun 2005 12:38:20 +0000 (12:38 +0000)]
made verify_ functions static
edwin [Wed, 22 Jun 2005 12:32:04 +0000 (12:32 +0000)]
introducted verifier_state structure
started to split monster function typecheck() into several functions
move towards verifiying lazy loading
some comments
edwin [Wed, 22 Jun 2005 12:09:11 +0000 (12:09 +0000)]
fix subtype checking for merged array types
better error message if subtype test fails
added some RESOLVE_VERBOSE message (maybe remove later)
edwin [Wed, 22 Jun 2005 12:05:49 +0000 (12:05 +0000)]
if (opt_verify) set iptr->val.a to NULL to indicate unresolved reference
edwin [Wed, 22 Jun 2005 12:03:36 +0000 (12:03 +0000)]
added stubs for typeinfo functions
twisti [Wed, 22 Jun 2005 10:51:53 +0000 (10:51 +0000)]
* Added opt_shownativestub to show disassembled native stubs
* Bugfix: dump_release was a bit too early (we need cd for debugging)
twisti [Wed, 22 Jun 2005 10:51:03 +0000 (10:51 +0000)]
* Added opt_shownativestub to show disassembled native stubs
twisti [Wed, 22 Jun 2005 10:28:54 +0000 (10:28 +0000)]
* patcher_get_putfield: only patch back 5-bytes, since the instruction is
smaller than 8-bytes
* Added machine code comments to function headers
christian [Wed, 22 Jun 2005 10:02:54 +0000 (10:02 +0000)]
Variables for later to be corrected argument register use commented out correctly
christian [Wed, 22 Jun 2005 09:51:11 +0000 (09:51 +0000)]
Added/Corrected [INT|ADR|FLT]_[REG|TMP|SAV|ARG|RES]_CNT defines
christian [Wed, 22 Jun 2005 09:49:20 +0000 (09:49 +0000)]
Adopted to compile with the registerdata changes. Not to be used for now.
christian [Wed, 22 Jun 2005 09:48:28 +0000 (09:48 +0000)]
Correct entries in Authors/Changes
christian [Wed, 22 Jun 2005 09:47:44 +0000 (09:47 +0000)]
Changes in the registerdata structure:
all max*, if* are put together with the corresponding member
all members for the number of registers are replaced by #defines in the appropriate md-abi.h (
[INT|ADR|FLT]_[REG|TMP|SAV|ARG|RES]_CNT )
twisti [Wed, 22 Jun 2005 09:26:04 +0000 (09:26 +0000)]
* Only patch back 5 bytes code (call size) since 8 bytes may overwrite a
instruction of the next basic block
twisti [Wed, 22 Jun 2005 09:24:37 +0000 (09:24 +0000)]
* Added a filler entry to builtintable_automatic to prevent a compiler
warning where all ICMDs are supported (e.g. i386)
twisti [Wed, 22 Jun 2005 09:23:53 +0000 (09:23 +0000)]
* builtintable_sort_internal: removed, we don't need it
* subtract 1 from automatic table size (compiler warning filler)
twisti [Tue, 21 Jun 2005 15:53:07 +0000 (15:53 +0000)]
* Added M_ALD, M_AST macros
twisti [Tue, 21 Jun 2005 15:52:44 +0000 (15:52 +0000)]
* Fixed nasty eclipse show-stopper: x86_64_mov_imm_membase moves 32-bit
sign-extended to a 64-bit location
twisti [Tue, 21 Jun 2005 15:51:39 +0000 (15:51 +0000)]
* Some code cleanup, so maybe one day i can understand the code
twisti [Tue, 21 Jun 2005 11:47:05 +0000 (11:47 +0000)]
* createnativestub: removed machine independent code
* started to use macros like on Alpha
twisti [Tue, 21 Jun 2005 11:46:06 +0000 (11:46 +0000)]
* Added M_LADD, M_AADD macros
twisti [Tue, 21 Jun 2005 10:40:28 +0000 (10:40 +0000)]
* Bugfix: membase %rsp/%r12 special case
twisti [Tue, 21 Jun 2005 10:18:15 +0000 (10:18 +0000)]
* createnativestub: removed machine independent code
twisti [Tue, 21 Jun 2005 09:19:14 +0000 (09:19 +0000)]
* createnativestub: removed machine independent code
stefan [Mon, 20 Jun 2005 23:09:59 +0000 (23:09 +0000)]
fixed a deadlock introduced by previous patch
stefan [Mon, 20 Jun 2005 22:46:55 +0000 (22:46 +0000)]
let's clear this up a bit
stefan [Mon, 20 Jun 2005 22:36:55 +0000 (22:36 +0000)]
let's clear this up a bit
stefan [Mon, 20 Jun 2005 22:14:59 +0000 (22:14 +0000)]
replaced one hack by another
twisti [Mon, 20 Jun 2005 21:56:37 +0000 (21:56 +0000)]
* Set java.version to 1.4.1 for eclipse-3.1
edwin [Mon, 20 Jun 2005 21:14:33 +0000 (21:14 +0000)]
do not check protected access for methods of arrays (problem with clone method)
work on lazy loading verification
twisti [Mon, 20 Jun 2005 20:53:09 +0000 (20:53 +0000)]
* createnativestub: removed machine independent code
twisti [Mon, 20 Jun 2005 18:26:03 +0000 (18:26 +0000)]
* Moved machine independent code from createnativestub to
codegen_createnativestub
edwin [Mon, 20 Jun 2005 15:23:48 +0000 (15:23 +0000)]
fix merging error
edwin [Mon, 20 Jun 2005 15:19:46 +0000 (15:19 +0000)]
some fixes
edwin [Mon, 20 Jun 2005 15:18:41 +0000 (15:18 +0000)]
added stub for typeinfo_init_class
edwin [Mon, 20 Jun 2005 15:13:08 +0000 (15:13 +0000)]
added two macros for PUT{FIELD,STATIC}CONST
edwin [Mon, 20 Jun 2005 15:11:47 +0000 (15:11 +0000)]
move the verifier towards lazy loading
edwin [Mon, 20 Jun 2005 15:04:31 +0000 (15:04 +0000)]
turn on TYPECHECK_DEBUG, turn off TYPECHECK_VERBOSE
twisti [Mon, 20 Jun 2005 15:01:24 +0000 (15:01 +0000)]
* Come on... it's not that hard!
edwin [Mon, 20 Jun 2005 15:00:55 +0000 (15:00 +0000)]
shorter debug dump for parsed descriptors
edwin [Mon, 20 Jun 2005 13:06:15 +0000 (13:06 +0000)]
added builtintable_entry_debug_dump
edwin [Mon, 20 Jun 2005 12:01:34 +0000 (12:01 +0000)]
some work on the resolve functions for verification
edwin [Mon, 20 Jun 2005 11:59:14 +0000 (11:59 +0000)]
fixed classref field for 'this' parameter in methoddescs
edwin [Mon, 20 Jun 2005 11:54:06 +0000 (11:54 +0000)]
added class_get_self_classref, should be made faster, however
twisti [Mon, 20 Jun 2005 09:58:48 +0000 (09:58 +0000)]
* handler_signal_quit: added, this handler calls the thread_dump function
when SIGQUIT is received
twisti [Mon, 20 Jun 2005 09:57:14 +0000 (09:57 +0000)]
* Added utf_run
twisti [Mon, 20 Jun 2005 09:56:49 +0000 (09:56 +0000)]
* Started to implement thread_dump
* threadstartup: use global utf variables
twisti [Mon, 20 Jun 2005 09:53:53 +0000 (09:53 +0000)]
* Added thread_dump
edwin [Sat, 18 Jun 2005 16:37:34 +0000 (16:37 +0000)]
split create_unresolved_* functions in create_* and constrain_* parts
create_ functions are called in parse.c
constrain_ functions will be called by typecheck.c
edwin [Sat, 18 Jun 2005 14:55:20 +0000 (14:55 +0000)]
added comments and a little fix to parameter allocation
use METHODDESC_NOPARAMS to indicate number of allocated params == 0
moved descriptor parsing macros to descriptor.c
twisti [Sat, 18 Jun 2005 09:20:34 +0000 (09:20 +0000)]
* Use code/data segment in native stub
twisti [Fri, 17 Jun 2005 13:38:35 +0000 (13:38 +0000)]
* Alpha signal stuff
twisti [Fri, 17 Jun 2005 13:01:06 +0000 (13:01 +0000)]
* codegen_createnativestub: passed wrong length to
codegen_disassemble_nativestub, added show data segment code
twisti [Fri, 17 Jun 2005 12:18:29 +0000 (12:18 +0000)]
* asm_calljavafunction2: keep stack 16-byte aligned
twisti [Fri, 17 Jun 2005 12:14:57 +0000 (12:14 +0000)]
* Added md.c
twisti [Fri, 17 Jun 2005 12:14:45 +0000 (12:14 +0000)]
* Just typos
twisti [Fri, 17 Jun 2005 11:24:00 +0000 (11:24 +0000)]
* Added putfieldconst zero for risc architectures
twisti [Fri, 17 Jun 2005 08:12:53 +0000 (08:12 +0000)]
* Include correct signal.h
twisti [Fri, 17 Jun 2005 08:12:26 +0000 (08:12 +0000)]
* Don't use native_findfunction with non-static classpath
* compile warning fix
twisti [Fri, 17 Jun 2005 08:11:34 +0000 (08:11 +0000)]
* bug fixing in native library hash code, it should work now completely, at
least it does on FreeBSD.
twisti [Thu, 16 Jun 2005 22:08:27 +0000 (22:08 +0000)]
* ignore generated header files (static ones are still missing)
edwin [Thu, 16 Jun 2005 19:10:35 +0000 (19:10 +0000)]
class loading synchronization: throw away loaded class if a class with the
same (loader,name) pair has already been defined/loaded.
twisti [Thu, 16 Jun 2005 11:57:46 +0000 (11:57 +0000)]
* Insert stackframesize in method header
* Fixed 16-bit offset overflow in patcher stub, so jalopy works, but this
should be done for all loads (but how?)
twisti [Thu, 16 Jun 2005 11:56:01 +0000 (11:56 +0000)]
* Small fix: let M_ALD use M_ILD
twisti [Thu, 16 Jun 2005 11:55:22 +0000 (11:55 +0000)]
* Bugfix: a double skips 2 integer argument registers
twisti [Thu, 16 Jun 2005 11:49:27 +0000 (11:49 +0000)]
* Test with 15 arguments, since powerpc-darwin has 13 float argument
registers.
christian [Thu, 16 Jun 2005 09:09:04 +0000 (09:09 +0000)]
Removed runverbose depended usecount of argintregs for return regs
twisti [Wed, 15 Jun 2005 15:59:49 +0000 (15:59 +0000)]
* Forgot native/native.h include
twisti [Wed, 15 Jun 2005 15:57:38 +0000 (15:57 +0000)]
* patcher_resolve_native: implemented
twisti [Wed, 15 Jun 2005 15:54:29 +0000 (15:54 +0000)]
* Removed STATIC_CLASSPATH from alpha
twisti [Wed, 15 Jun 2005 14:14:34 +0000 (14:14 +0000)]
* Moved stuff to md.c
* use machine independent address macros
* native stub changes (code/data segment)
* dynamic library loading
twisti [Wed, 15 Jun 2005 14:13:23 +0000 (14:13 +0000)]
* M_ASUB_IMM: added for both archs
twisti [Wed, 15 Jun 2005 14:12:59 +0000 (14:12 +0000)]
* changed some long stuff to use machine independent address macros
* removed monitor functions
twisti [Wed, 15 Jun 2005 14:10:47 +0000 (14:10 +0000)]
* Defined stuff for MIPS32
twisti [Wed, 15 Jun 2005 14:10:07 +0000 (14:10 +0000)]
* define some stuff for MIPS32