aboutsummaryrefslogtreecommitdiff
path: root/libjava/libgcj.spec.in
AgeCommit message (Collapse)AuthorFilesLines
2003-02-13configure.host (alpha*-*): Default to -mieee.Jeff Sturm1-1/+1
* configure.host (alpha*-*): Default to -mieee. * configure.in (IEEESPEC): New. * libgcj.spec.in (jc1): Add IEEESPEC. * configure: Rebuild. From-SVN: r62815
2003-02-03libgcj.spec.in (jc1): Add BACKTRACESPEC.Andrew Haley1-1/+1
2003-02-03 Andrew Haley <aph@redhat.com> * libgcj.spec.in (jc1): Add BACKTRACESPEC. * configure.host (x86_64): Default to -fno-omit-frame-pointer. * configure.in (BACKTRACESPEC): New. * configure: Regenerate. From-SVN: r62316
2002-03-31* libgcj.spec.in, libgcj-test.spec.in: Revert for now.Alexandre Oliva1-2/+2
From-SVN: r51659
2002-03-31libgcj.spec.in: Override libgcc, not lib.Alexandre Oliva1-2/+2
* libgcj.spec.in: Override libgcc, not lib. * libgcj-test.spec.in: Likewise. From-SVN: r51640
2002-03-27libgcj.spec.in: Add CHECKREFSPEC.Anthony Green1-1/+1
2002-03-27 Anthony Green <green@redhat.com> * libgcj.spec.in: Add CHECKREFSPEC. * configure.in: Ditto. * configure.host: Ditto. Check references for xscale-elf. * configure: Rebuilt. From-SVN: r51457
2001-08-01* libgcj.spec.in: Pass -fkeep-inline-functions to jc1.Jeff Sturm1-1/+1
From-SVN: r44539
2001-07-18For PR java/2812:Tom Tromey1-1/+1
* libgcj.spec.in (*lib): Added LIBICONV. * configure: Rebuilt. * configure.in: Call AM_ICONV. Don't check for iconv function. Add parameters to JV_HASH_SYNCHRONIZATION define. * acinclude.m4 (AM_ICONV): New macro, from Bruno Haible. From-SVN: r44116
2001-06-02Remove libgcjdata hack. Fix jv-scan usage in dejagnu.Anthony Green1-7/+0
From-SVN: r42812
2001-05-24[multiple changes]Tom Tromey1-1/+1
2001-05-23 Tom Tromey <tromey@redhat.com> * posix-threads.cc (_Jv_self_cache): Renamed from self_cache. * gcj/Makefile.in: Rebuilt. * gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h. * gcj/javaprims.h: Include gcj/libgcj-config.h. * gcj/libgcj-config.h.in: New file. * libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@. * configure: Rebuilt. * configure.in: Enable hash synchronization by default on some platforms. (HASH_SYNC_SPEC): New subst. (AC_CONFIG_HEADER): Added gcj/libgcj-config.h. Correctly use `test -z' instead of `test -n' in a couple places. (JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to LIBGCJ_CXXFLAGS. * configure.host (enable_java_net_default): Initialize. (enable_hash_synchronization_default): New variable. 2001-05-23 Hans Boehm <Hans_Boehm@hp.com> * boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash synchronization in use. (_Jv_MarkArray): Likewise. (_Jv_AllocBytes): Don't check return result. (handle_out_of_memory): New function. (_Jv_InitGC): Set GC_oom_fn. (trace_one_vtable): New global. (_Jv_AllocTraceOne): New function. * configure.in: Added --enable-hash-synchronization. * defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc, java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked. * nogc.cc (_Jv_AllocObj): Throw out-of-memory. (_Jv_AllocArray): Likewise. (_Jv_AllocBytes): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_AllocTraceOne): Likewise. * posix-threads.cc (_Jv_ThreadRegister): Handle slow pthread_self(). (self_cache): New global. (_Jv_ThreadSelf_out_of_line): New function. * prims.cc (_Jv_AllocBytesChecked): Removed. (_Jv_ThrowNoMemory): New function. (_Jv_AllocObject): Don't check for null return from allocator. (_Jv_NewObjectArray): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_NewPrimArray): Allocate pointer-free object if possible. * include/javaprims.h (_Jv_AllocPtrFreeObject): Declare. (_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value. * include/boehm-gc.h (_Jv_AllocObj): Define. (_Jv_AllocPtrFreeObj): Define. * include/jvm.h (_Jv_AllocPtrFreeObj): Declare. (_Jv_ThrowNoMemory): Declare. (_Jv_AllocTraceOne): Declare. (_Jv_AllocBytesChecked): Removed. * include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock, _Jv_MutexUnlock): Handle LOCK_DEBUG. (_Jv_ThreadSelf): Handle case where system pthread_self() is slow. * java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as friend. * java/lang/Object.h (sync_info): Conditional upon presence of hash synchronization. * java/lang/natObject.cc: Much new code to handle thin locks and hash synchronization. * java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free object if possible. From-SVN: r42519
2001-05-01libgcj.spec.in (jc1): Add EXCEPTIONSPEC.Andrew Haley1-1/+1
2001-04-30 Andrew Haley <aph@cambridge.redhat.com> * libgcj.spec.in (jc1): Add EXCEPTIONSPEC. * configure.host (EXCEPTIONSPEC): New. * configure.in (EXCEPTIONSPEC): New. * configure: Rebuilt. From-SVN: r41733
2001-03-28IA-64 ABI Exception Handling.Richard Henderson1-1/+1
From-SVN: r40924
2001-02-27libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static linking.Bryce McKinlay1-1/+1
* libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static linking. From-SVN: r40089
2001-02-05Make-lang.in (jvspec.o): Add DRIVER_DEFINES to the list of macros used when ↵Bryce McKinlay1-6/+4
compiling jvspec.c. gcc/java: * Make-lang.in (jvspec.o): Add DRIVER_DEFINES to the list of macros used when compiling jvspec.c. * jvspec.c (lang_specific_driver): Link with the shared libgcc by default. libjava: * libgcj.spec.in: Don't force static libgcc into the executable. * configure.in (FORCELIBGCCSPEC): Removed. From-SVN: r39449
2000-09-30Implement bitmap descriptor based marking for Boehm GC.Hans Boehm1-1/+1
2000-09-30 Hans Boehm <boehm@acm.org> Bryce McKinlay <bryce@albatross.co.nz> Implement bitmap descriptor based marking for Boehm GC. * configure.in: Define JC1GCSPEC. Set it if boehm-gc is used. * configure: Rebuilt. * libgcj.spec.in: Pass JC1GCSPEC to jc1. * include/jvm.h (struct _Jv_VTable): New field `gc_descr'. New inline method get_finalizer(). (struct _Jv_ArrayVTable): Ditto. Declare method array with NUM_OBJECT_METHODS elements instead of NUM_OBJECT_METHODS + 1. (_Jv_AllocObj): Add new jclass parameter. (_Jv_AllocArray): Ditto. (_Jv_BuildGCDescr): New prototype. * prims.cc (_Jv_AllocObject): Rename parameter `c' to `klass'. Pass `klass' to _Jv_AllocObj. Don't set the new object's vtable. Use get_finalizer() instead of direct finalizer vtable offset. (_Jv_NewObjectArray): Rename parameter `clas' to `klass'. Pass `klass' to _Jv_AllocArray. Don't set the new array's vtable. (_Jv_NewPrimArray): Call _Jv_FindArrayClass before _Jv_AllocObj. Pass `klass' to _Jv_AllocObj. Don't set the new array's vtable. * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): New #defines. (_Jv_ResolvePoolEntry): Use METHOD_NOT_THERE and METHOD_INACCESSIBLE. (_Jv_DetermineVTableIndex): Ditto. (_Jv_PrepareClass): Ditto. Remove offset-by-one adjustments from vtable calculations to account for new gc_descr field. * boehm.cc: #include gc_gcj.h. (obj_kind_x, obj_free_list): `#if 0'-ed away. (_Jv_MarkObj): Check that vtable doesn't point to a cleared object. New commentary from HB. Mark the classes vtable. (_Jv_MarkArray): Check that vtable doesn't point to a cleared object. (GC_DEFAULT_DESCR): New #define. (_Jv_BuildGCDescr): New function. Use GC_DEFAULT_DESCR, for now. (_Jv_AllocObj): New parameter `klass'. Use GC_GCJ_MALLOC (). (_Jv_AllocArray): New parameter `klass'. Allocate with GC_MALLOC and scan conservativly if size is less than min_heap_addr. Set vtable pointer of new object before returning. (_Jv_AllocBytes): Use GC_MALLOC_ATOMIC, not GC_GENERIC_MALLOC. (_Jv_InitGC): Call GC_init_gcj_malloc(). Don't set up marking and allocation for obj_kind_x. * nogc.cc (_Jv_BuildGCDescr): New function. Return 0. (_Jv_AllocObj): Set vtable on returned object. (_Jv_AllocArray): Ditto. * java/lang/Class.h (_Jv_NewObjectArray): No longer a friend. (_Jv_NewPrimArray): Ditto. (_Jv_AllocObj): Declare as a friend. (_Jv_AllocArray): Ditto. * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Copy gc_descr from &ObjectClass into new array class. Remove offset-by-one adjustments from `method' size calculations to account for gc_descr field. Co-Authored-By: Bryce McKinlay <bryce@albatross.co.nz> From-SVN: r36679
2000-05-20Makefile.in: Rebuilt.Tom Tromey1-1/+1
* Makefile.in: Rebuilt. * Makefile.am (hack1): Removed. (awto_files): Likewise. (libgcjawt_la_SOURCES): Likewise. (EXTRA_libgcjawt_la_SOURCES): Likewise. (libgcjawt_la_DEPENDENCIES): Likewise. (libgcjawt_la_LIBADD): Likewise. (libgcjawt_la_LDFLAGS): Likewise. (libgcjawt_la_LINK): Likewise. ($(awt_java_source_files:.java=.class)): Likewise. (libgcj.zip): Don't depend on AWT files. (MOSTLYCLEANFILES): Don't include AWT files. ($(awto_files)): Removed. (nat_headers): Removed AWT files. (cond_awt_java_source_files): Removed. (ordinary_java_source_files): Added awt_java_source_files. * libgcj.spec.in (*lib): Removed -lgcjawt. * configure: Rebuilt. * configure.in: Removed --enable-java-awt option. From-SVN: r34058
2000-05-19Jumbo patch:Tom Tromey1-1/+1
* Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes From-SVN: r34028
2000-04-28re GNATS gcj/218 (Java executables can abort trying to access a null pointer ↵Tom Tromey1-1/+1
in a leaf function) * libgcj.spec.in (*jc1): Added -fasynchronous-exceptions. Fix for PR gcj/218. From-SVN: r33511
1999-12-20libgcjdata.c: New file.Anthony Green1-0/+8
1999-12-19 Anthony Green <green@cygnus.com> * libgcjdata.c: New file. * libgcj.spec.in: Use @LIBDATASTARTSPEC@ in startfile. * configure: Rebuilt. * configure.in (LIBDATASTARTSPEC): Force data with a known name into the program. * Makefile.in: Rebuilt. * Makefile.am: Build libgcjdata.a. * libgcj.spec.in: Use @FORCELIBGCCSPEC@ in startfile. * configure: Rebuilt. * configure.in (FORCELIBGCCSPEC): Force important parts of libgcc into every program. From-SVN: r31027
1999-11-19sjlj jumbo patchTom Tromey1-1/+2
From-SVN: r30591
1999-09-22* libgcj.spec.in: Use `jc1' spec, not `cc1' spec.Tom Tromey1-2/+1
From-SVN: r29602
1999-09-02posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define.Tom Tromey1-1/+1
* include/posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define. (_Jv_PthreadGetMutex): Use it. (_Jv_PthreadCheckMonitor): Use new M_COUNT macros. (_Jv_MutexInit): Use PTHREAD_MUTEX_IS_STRUCT. (_Jv_MutexLock): Likewise. (_Jv_MutexUnlock): Likewise. * include/config.h.in: Rebuilt. * acconfig.h (PTHREAD_MUTEX_HAVE_M_COUNT, PTHREAD_MUTEX_HAVE___M_COUNT): New undefs. * configure: Rebuilt. * libgcj.spec.in: Don't mention INTERPSPEC. * configure.in (INTERPSPEC): Removed. Only run pthreads-related checks when using POSIX threads. Check for m_count and __m_count in mutex structure. From-SVN: r29048
1999-08-08[multiple changes]Anthony Green1-1/+1
1999-08-09 Anthony Green <green@cygnus.com> * gij.cc: New file. * include/config.h.in: Rebuilt. * acconfig.h: Add INTERPRETER. * configure: Rebuilt. * Makefile.in: Rebuilt. * Makefile.am (libffi_files): Identify the libffi object files for inclusion in libgcj. (LIBFFIINCS): Define. * interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1): Dummy definition for configurations without an interpreter. * java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to java::lang::Boolean constructor. * include/java-interp.h: Always include java-cpool.h. * java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0 when INTERPRETER not defined. * java/lang/Class.h (finalize): Define. * gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch IOException from File.getCanonicalPath. (getStream): Likewise. * NEWS: More news. * THANKS: More thanks. 1999-08-09 Kresten Krab Thorup <krab@gnu.org> * resolve.cc (get_ffi_type_from_signature): Generate uint16 for jchar type. (_Jv_PrepareClass): Allow non-abstract classes to have abstract subclasses. (_Jv_ResolvePoolEntry): Revert subclass check for protected fields and methods. * interpret.cc (continue1/perform_invoke): Don't sign extend uint16 return val. (continue1/lshl,lshr): Push long, not int. (continue1/ulshr): Use UINT64, not long long. * defineclass.cc (handleFieldsEnd): Handle case when all fields are static. * java/lang/natClass.cc (forName): Add call to _Jv_InitClass. * java/lang/FirstThread.java (run): Add top-level exception handler. (run0): Renamed from run. 1999-08-08 Kresten Krab Thorup <krab@gnu.org> * configure.in (--with-interpreter): Added. * include/config.h.in (INTERPRETER): Added. * java/lang/ClassLoader.java: File replaced. * java/lang/VMClassLoader.java: New file. * java/lang/natClassLoader.cc: New file. * gnu/gcj/runtime/MethodInvocation.java: New file. * gnu/gcj/util/path/SearchPath.java: New file. * gnu/gcj/util/path/PathEntry.java: New file. * gnu/gcj/util/path/DirectoryPathEntry.java: New file. * gnu/gcj/util/path/ZipPathEntry.java: New file. * gnu/gcj/util/path/URLPathEntry.java: New file. * gnu/gcj/util/path/CacheEntry.java: New file. * include/java-interp.h: New file. * include/java-cpool.h: New file. * include/java-insns.h: New file. * defineclass.cc: New file. * interpret.cc: New file. * resolve.cc: New file. * java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass, _Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass, _Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc. (finalize): New. (STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE, STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_ prefix. (initializeClass): Use new JV_ prefixed names. Also, call ClassLoader::resolveClass instead of _Jv_ResolveClass. * java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING, JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED, JV_STATE_LINKED): New. (_Jv_WaitForState, _Jv_RegisterInitiatingLoader, _Jv_UnregisterClass, _Jv_InternClassStrings): New friends. (_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod, _Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass, _Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod, _Jv_InterpMethodInvocation): New friends for interpreter. (finalize): New. (CONSTANT_Class, CONSTANT_String, etc.): Moved to include/java-cpool.h and renamed with JV_ prefix. * include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New decls. (_Jv_UnregisterClass): New decl. * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added class loader argument. (_Jv_FindClass): Use class loader. * prims.cc (_Jv_makeUtf8Const): New function. (_Jv_NewObjectArray): Change use of _Jv_FindArrayClass. (_Jv_NewPrimArray): Ditto. (_Jv_FindClassFromSignature): Ditto. * java/lang/reflect/natArray.cc (newInstance): Ditto. * java/lang/reflect/natMethod.cc (getType): Ditto. * include/java-field.h (_Jv_Field::isRef): Make robust for non-resolved contexts. * boehm.cc (_Jv_MarkObj): Mark interpreter-related fields. Also, don't mark class->next field. * java/lang/VirtualMachineError.java: Added FIXME note. * configure.in (INTERPSPEC): New spec. * libgcj.spec.in: Added INTERPSPEC. * Makefile.am: Added gcjh friends for java/lang/VMClassLoader and gnu/gcj/runtime/MethodInvocation. (libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc. (ordinary_java_source_files): Added above mentioned java classes. * configure: Rebuilt. * Makefile.in: Rebuilt. From-SVN: r28597
1999-07-21prims.cc (JvRunMain): Always initialize arithexception.Andrew Haley1-0/+3
1999-07-19 Andrew Haley <aph@cygnus.com> * prims.cc (JvRunMain): Always initialize arithexception. (_Jv_divI): New function. (_Jv_remI): New function. (_Jv_divJ): New function. (_Jv_remI): New function. * include/jvm.h: Add these new functions. Makefile.am: add DIVIDESPEC. aclocal.m4: ditto. configure.host: set DIVIDESPEC. libgcj.spec.in: pass DIVIDESPEC to compiler. configure: rebuilt. Makefile.in: rebuilt. From-SVN: r28211
1999-05-11Makefile.in: Rebuilt.Tom Tromey1-2/+2
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec. * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after our libraries. From-SVN: r26889
1999-05-11Makefile.in, configure: Rebuilt.Tom Tromey1-0/+7
* Makefile.in, configure: Rebuilt. * Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs. (jv_convert_LDADD): Added ZLIBS. Removed -lm, -lc, -lgcc. (jv_convert_DEPENDENCIES): Added ZDEPS. * configure.in (GCSPEC): Added `-L' to point to boehm-gc build directory. (THREADSPEC): Added `-L' to point to qthreads build directory. (ZLIBS): New subst. (ZDEPS): New subst. * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_DATA): New macro. * configure.in: Create libgcj.spec. Look for -lsocket and -lnsl. Recognize --with-system-zlib. (GCSPEC): New subst. (THREADSPEC): New subst. (SYSTEMSPEC): New subst. (ZLIBSPEC): New subst. * libgcj.spec.in: New file. From-SVN: r26885