aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-02-12win32.cc: Added two #includes to make win32.cc compile.Adam Megacz2-0/+6
2002-02-12 Adam Megacz <adam@xwt.org> * win32.cc: Added two #includes to make win32.cc compile. From-SVN: r49696
2002-02-12boehm.cc (initialized, [...]): Removed unused declarations.Bryce McKinlay2-90/+9
* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused declarations. (_Jv_InitGC): Don't bother locking, as this is always called from a single-thread. Turn off GC_all_interior_pointers. Remove dead code. From-SVN: r49695
2002-02-12win32.h: Added _Jv_platform_gettimeofday.Adam Megacz3-0/+15
2002-02-11 Adam Megacz <adam@xwt.org> * include/win32.h: Added _Jv_platform_gettimeofday. * win32.cc (_Jv_platform_gettimeofday): Added dummy function. From-SVN: r49693
2002-02-12natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and ↵Adam Megacz3-0/+8
java/lang/reflect/Modifier.h cooperate. 2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate. From-SVN: r49692
2002-02-12natFileWin32.cc: Created a placeholder class with lots of FIXMEs.Adam Megacz2-63/+53
2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc: Created a placeholder class with lots of FIXMEs. From-SVN: r49691
2002-02-11exception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().Adam Megacz2-4/+20
2002-02-11 Adam Megacz <adam@xwt.org> * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed std::abort() to simply abort(). Also added "fake" std::abort() so we can #include unwind-pe.h without having to link against libstdc++-v3. From-SVN: r49685
2002-02-11For PR java/5641:Tom Tromey3-0/+28
* libjava.compile/PR5641.xfail: New file. * libjava.compile/PR5641.java: New file. From-SVN: r49660
2002-02-11libjava.exp (libjava_find_lib): Remove duplicate .la files.Rainer Orth2-3/+11
2002-02-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * lib/libjava.exp (libjava_find_lib): Remove duplicate .la files. From-SVN: r49659
2002-02-10interpret.cc (continue1): Use PUSHL, not PUSHI.Andreas Tobler2-1/+5
2002-02-10 Andreas Tobler <toa@pop.agri.ch> * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI. From-SVN: r49655
2002-02-08interpret.cc (convert): New function.Tom Tromey2-4/+44
* interpret.cc (convert): New function. (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use convert. Include Long.h. From-SVN: r49621
2002-02-08Add xscale-elf supportAnthony Green2-0/+11
From-SVN: r49616
2002-02-08jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not dereferenced.Martin Kahlert2-2/+18
2002-02-08 Martin Kahlert <martin.kahlert@infineon.com> * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not dereferenced. (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals frame. From-SVN: r49615
2002-02-08natFile.cc (_access): Use __builtin_alloca.Tom Tromey2-12/+27
* java/io/natFile.cc (_access): Use __builtin_alloca. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. From-SVN: r49607
2002-02-08Reformatted a changelog entryAdam Megacz1-2/+2
From-SVN: r49604
2002-02-08* HACKING: Fix URL for the automake-gcj.Bryce McKinlay2-1/+5
From-SVN: r49600
2002-02-07natThrowable.cc: Updated copyright.Tom Tromey6-5/+12
* java/lang/natThrowable.cc: Updated copyright. * java/io/natFileWin32.cc: Updated copyright. * java/io/natFileDescriptorWin32.cc: Updated copyright. * win32-threads.cc: Updated copyright. * name-finder.cc: Updated copyright. * include/name-finder.h: Updated copyright. From-SVN: r49586
2002-02-07name-finder.h: Conditionally include sys/wait.h.Tom Tromey3-1/+9
* include/name-finder.h: Conditionally include sys/wait.h. * include/config.h.in: Rebuilt. From-SVN: r49585
2002-02-07natFile.cc (_access): Don't stack-allocate buffer.Tom Tromey2-23/+34
* java/io/natFile.cc (_access): Don't stack-allocate buffer. Size buffer based on real size of string. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (unixroot): Removed. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. (performListRoots): Always return new array. From-SVN: r49584
2002-02-07prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.Tom Tromey7-28/+57
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. * win32.cc (win32_exception_handler): Now static. * include/win32.h (_Jv_platform_initialize): Declare. (win32_exception_handler): Don't declare. * java/lang/natSystem.cc (currentTimeMillis): Use _Jv_platform_gettimeofday. * posix.cc (_Jv_platform_gettimeofday): Renamed. (_Jv_select): Use new name. (_Jv_platform_initialize): New function. * include/posix.h (_Jv_platform_gettimeofday): Renamed from _Jv_gettimeofday. (_Jv_platform_initialize): Declare. From-SVN: r49583
2002-02-07configure: Rebuilt.Tom Tromey3-313/+329
* configure: Rebuilt. * configure.in: Removed unnecessary parens. From-SVN: r49581
2002-02-07For some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on Linux...Adam Megacz1-2/+0
For some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on Linux; this patch backs out my patch that added the #ifdefs until I can figure out what happened. From-SVN: r49572
2002-02-07configure.in: Changed mingw) to *mingw*).Adam Megacz6-33/+63
2002-02-06 Adam Megacz <adam@xwt.org> * configure.in: Changed mingw) to *mingw*). * win32.cc: Created this file. * win32.h: Created this file. * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved win32_exception_handler from prims.cc to win32.cc, added header in win32.h. * prims.cc: removed some #ifdef-WIN32'd headers which are no longer needed now that we have platform.h From-SVN: r49566
2002-02-07shs.h, [...]: use uint<n>_t instead of LONG and BYTEAdam Megacz4-22/+33
2002-02-06 Adam Megacz <adam@xwt.org> * shs.h, shs.cc, natSimpleSHSStream.cc: use uint<n>_t instead of LONG and BYTE From-SVN: r49565
2002-02-07name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_HAdam Megacz4-331/+330
2002-02-06 Adam Megacz <adam@xwt.org> * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H From-SVN: r49564
2002-02-07embedded updatesAnthony Green12-318/+532
From-SVN: r49562
2002-02-07verify.cc (require_array_type): If argument is a null array of references, ↵Tom Tromey2-2/+9
return null as the element type. * verify.cc (require_array_type): If argument is a null array of references, return null as the element type. From-SVN: r49561
2002-02-07verify.cc (verify_instructions_0): Actually push the duplicate of a wide type.Mark Wielaard2-0/+7
2002-02-06 Mark Wielaard <mark@klomp.org> * verify.cc (verify_instructions_0) [op_dup2]: Actually push the duplicate of a wide type. From-SVN: r49559
2002-02-06verify.cc (type::isnull): New method.Tom Tromey2-1/+16
* verify.cc (type::isnull): New method. (require_array_type): Handle case where array is null. (verify_instructions_0) [op_arraylength]: Likewise. From-SVN: r49555
2002-02-06Oops, forgot these in last check-in.Bryce McKinlay2-354/+333
From-SVN: r49537
2002-02-06configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.Bryce McKinlay4-10/+24
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES. Symlink PLATFORMH to platform.h. * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add PLATFORMOBJS. * java/lang/natSystem.cc: #include platform.h not posix.h. * Makefile.in: Rebuilt with libgcj automake. * configure: Rebuilt. From-SVN: r49534
2002-02-05* Makefile.in: Undo munging last change.Richard Henderson2-16/+21
From-SVN: r49519
2002-02-05Undo munging last update.Richard Henderson1-87/+2452
From-SVN: r49514
2002-02-05win32.cc: Created it.Adam Megacz5-2692/+347
2002-02-04 Adam Megacz <adam@xwt.org> * win32.cc: Created it. configure.in: Added PLATFORM_SPECIFIC_SOURCES, which is set to posix.cc or win32.cc. Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES). From-SVN: r49509
2002-02-05configure.in: Corrected mingw case branches; added * before and after.Adam Megacz1-0/+5
2002-02-04 Adam Megacz <adam@xwt.org> * configure.in: Corrected mingw case branches; added * before and after. From-SVN: r49508
2002-02-05configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec if compiling for ↵Adam Megacz3-228/+247
win32 2002-02-04 Adam Megacz <adam@xwt.org> * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec if compiling for win32 From-SVN: r49507
2002-02-05win32-threads.cc: #undef STRICT after gc.h inclusionAdam Megacz2-0/+6
2002-02-04 Adam Megacz <adam@xwt.org> * win32-threads.cc: #undef STRICT after gc.h inclusion From-SVN: r49506
2002-02-02* Makefile.in: Rebuilt.Tom Tromey2-17/+76
From-SVN: r49447
2002-02-02* Makefile.am (clean-nat): New target.Jason Merrill2-0/+8
From-SVN: r49443
2002-02-02* java/io/natFile.cc: Removed old "FIXME" comments.Tom Tromey2-13/+5
From-SVN: r49434
2002-02-02natPosixProcess.cc (myclose): New function.Tom Tromey2-14/+33
* java/lang/natPosixProcess.cc (myclose): New function. (fail): Use it. (startProcess): Likewise. From-SVN: r49433
2002-02-02*** empty log message ***Adam Megacz1-1/+1
From-SVN: r49431
2002-02-02prims.cc: Added #undef STRICT after #include<windows.h>.Adam Megacz2-1/+6
2002-02-01 Adam Megacz <adam@xwt.org> * prims.cc: Added #undef STRICT after #include<windows.h>. From-SVN: r49430
2002-02-022002-02-01 Adam Megacz <adam@xwt.org>Adam Megacz2-21/+17
* prims.cc (_Jv_CreateJavaVM): We now use WIN32 instead of USE_WIN32_SIGNALLING and USE_WINSOCK. (win32_exception_handler): Now throws an exception out of the signal handler; assumes SJLJ From-SVN: r49429
2002-02-022002-02-01 Adam MegaczAdam Megacz2-31/+87
* win32-threads.cc: (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected wait() algorithm to make it safe. (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy): Added lazy creation of Win32 Events for better performance (really_start): This now uses GC_CreateThread so boehm-gc knows about new threads even when statically linked. From-SVN: r49428
2002-02-02win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer ↵Adam Megacz2-51/+42
wait() algorithm. 2002-02-01 Adam Megacz <adam@xwt.org> * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algorithm. (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify, _Jv_CondNotifyAll): Implementations moved to win32-threads.cc. (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock, _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs instead of mutex. (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98. From-SVN: r49427
2002-02-02configure.in: Added support for mingw.Adam Megacz5-256/+290
2002-02-01 Adam Megacz <adam@xwt.org> * configure.in: Added support for mingw. * java/lang/Win32Process.java: Created as empty file. * java/lang/natWin32Process.cc: Created as empty file. From-SVN: r49425
2002-02-01re PR java/4972 (undefined reference to `libiconv')Craig Rodrigues4-328/+327
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> PR java/4972 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags for libiconv in LIBICONV variable. * configure: Regenerated. From-SVN: r49411
2002-02-01verify.cc (state::enter_subroutine): New method.Tom Tromey2-10/+39
* verify.cc (state::enter_subroutine): New method. (handle_jsr_insn): Use it. (state::merge): When processing a `ret', correctly use subroutine's state to determine which local variables have changed. (push_exception_jump): Don't let stack overflow. From-SVN: r49388
2002-01-31gccbug.in: Follow GNU Coding Standards for --version.Joseph Myers2-1/+6
gcc: * gccbug.in: Follow GNU Coding Standards for --version. Use GCC version rather than GNATS version in --version output. gcc/f: * g77spec.c (lang_specific_driver): Follow GNU Coding Standards for --version. gcc/java: * gjavah.c (version), jcf-dump.c (version), jv-scan.c (version): Follow GNU Coding Standards for --version. libjava: * gnu/gcj/convert/Convert.java: Only include one copyright year in --version output. From-SVN: r49372
2002-01-30natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return ↵Tom Tromey2-2/+6
type. * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type. From-SVN: r49345