gcc/libjava/include
Andrew Haley 621ae65dcd lang.c (java_init): Handle flag_indirect_classes.
2006-04-21  Andrew Haley  <aph@redhat.com>

        * lang.c (java_init): Handle flag_indirect_classes.
        * jvgenmain.c: Use "class$$" instead of "class$".
        * mangle.c (java_mangle_decl): Accept RECORD_TYPEs sw well as
        DECLs.
        (mangle_class_field): Special case "class$$" as well as "class$".
        * constants.c (build_ref_from_constant_pool): If
        flag_indirect_classes, generate a ref into the heap.
        * decl.c (constants_field_decl_node,
        constants_data_field_decl_node): New.
        * class.c (build_static_class_ref): New.
        (build_classdollar_field): Factor out from build_class_ref().
        (make_field_value): Handle static fields in heap.
        (make_class_data): Make sure we get a static ref to class.
        Make class initializer const if flag_indirect_classes.
        (register_class): Build a class_ref for initialization if
        flag_indirect_classes.
        (emit_indirect_register_classes): New.

2006-04-21  Andrew Haley  <aph@redhat.com>

        * include/execution.h (struct _Jv_CompiledEngine): Define for
        compiled classes.
        * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
        _Jv_RegisterLibForGc.
        (_Jv_RegisterClasses_Counted): Likewise.
        (_Jv_NewClassFromInitializer): New.
        (_Jv_RegisterNewClasses): New.
        * sources.am: Regenerate.
        * boehm.cc (_Jv_GC_has_static_roots): new.
        (_Jv_InitGC): Call GC_register_has_static_roots_callback.
        (filename_node, find_file, _Jv_print_gc_store, new_node,
        _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
        * scripts/makemake.tcl: Add -fno-indirect-classes.
        * Makefile.in: Regenerate.
        * link.cc (resolve_pool_entry): Allocate constant pool.
        Allocate fields.

From-SVN: r113224
2006-04-24 15:33:16 +00:00
..
boehm-gc.h lang.c (java_init): Handle flag_indirect_classes. 2006-04-24 15:33:16 +00:00
config.h.in configure.ac: Weaken the check for MMAP. 2006-04-23 00:17:26 +02:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h lang.c (java_init): Handle flag_indirect_classes. 2006-04-24 15:33:16 +00:00
i386-signal.h re PR other/26208 (Serious problem with unwinding through signal frames) 2006-02-27 18:26:26 +01:00
java-assert.h
java-chardecomp.h
java-chartables.h unicode-muncher.pl: Removed this file. 2006-03-28 16:12:52 +00:00
java-cpool.h
java-insns.h
java-interp.h * include/java-interp.h: Removed extern "C" around #include <ffi.h>. 2006-03-07 18:40:06 +00:00
java-props.h
java-stack.h stacktrace.cc (GetStackTraceElements): Call gnu::gcj::runtime::NameFinder::removeUnknown() to determine if... 2006-02-17 13:01:40 +00:00
jni_md.h
jvm.h link.cc (_Jv_Linker::print_class_loaded): Declare string constants as "const char *". 2006-02-08 20:38:13 +00:00
jvmpi.h
Makefile.am
Makefile.in Makefile.in: Rebuilt. 2006-04-04 00:30:05 +00:00
mips-signal.h
no-gc.h
no-threads.h
pa-signal.h
posix-threads.h
posix.h win32.cc (_Jv_platform_nanotime): New function. 2006-03-09 18:47:54 +00:00
powerpc-signal.h powerpc-signal.h: Fix typo in comment. 2006-03-10 23:31:15 +01:00
s390-signal.h
sh-signal.h linux-unwind.h (shmedia_fallback_frame_state): Set fs->signal_frame. 2006-03-16 02:44:10 +00:00
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h
win32.h win32.cc (_Jv_platform_nanotime): New function. 2006-03-09 18:47:54 +00:00
x86_64-signal.h x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New. 2006-04-10 16:01:23 +00:00