bnw-simple merge
[official-gcc.git] / boehm-gc / ChangeLog
blob2c8ab1a7a05d32303c871b481de076db011bebe3
1 2002-06-09  H.J. Lu  (hjl@gnu.org)
3         * include/private/gc_locks.h (GC_test_and_set): Support
4         Linux/mips.
5         (GC_TEST_AND_SET_DEFINED): Likewise.
7         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
8         Linux/mips.
9         (DATAEND): Likewise.
10         (LINUX_STACKBOTTOM): Likewise.
11         (STACKBOTTOM): Removed for Linux/mips.
13 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
15         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
16         (GC_pthread_create): Fix typo.
17         (GC_TRY_LOCK): Likewise.
18         * include/private/gc_locks.h (GC_test_and_set): Only take one
19         one argument.
20         (LOCK): Adjust appropriately.
21         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if 
22         _SIGRTMIN is unavailable.
24 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
26         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
27         * aclocal.m4: Regenerate.
28         * configure: Regenerate.
30 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
32         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
33         script entry, and set LD to it when configuring multilibs.
34         * configure: Rebuilt.
36 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
38         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
39         (noinst_LTLIBRARIES): Add libgcjgc.la.
41         * Makefile.in: Rebuild.
43 2002-04-22  David S. Miller  <davem@redhat.com>
45         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
46         64-bit SPARC Linux, the __libc_stack_end technique does
47         not work in this case.
49 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
51         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
53 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
55         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
56         SPARC Linux.
58 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
60         * include/private/gcconfig.h (DATAEND): Update comment example
61         to match reality.
63 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
65         * include/private/gcconfig.h (DATAEND): Clarify comment.
67 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
68         
69         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
70         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
71         declare.
72         * allchblk.c (GC_allchblk_nth): Change text and support reduced
73         frequency for blacklist warning message.
74         * misc.c (GC_large_alloc_warn_interval,
75         GC_large_alloc_warn_suppressed): define.
76         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and 
77         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
78         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
79         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
81         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
83 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
85         * include/private/gcconfig.h: Add support for an unmapped
86         memory hole between the end of the initialized data segment
87         and the start of the BSS on FreeBSD/i386.
89 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
91         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
92         NetBSD/i386.
94 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
96         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
97         (GC_local_gcj_malloc): Add assertion.
98         (start_mark_threads): Fix abort message.
99         * mark.c (GC_mark_from): Generalize assertion.
100         * reclaim.c (GC_clear_fl_links): New function.
101         (GC_start_reclaim): Must clear some freelist links.
102         * include/private/specific.h, specific.c: Add assertions.
103         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
104         Rearrange tse fields.
106 2002-03-27  Richard Henderson  <rth@redhat.com>
108         * os_dep.c (GC_init_linux_data_start): Fix references to
109         __data_start and _end.
111 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
113         * include/private/gcconfig.h: Change all likely references
114         to linker script synthesized symbols to use this idiom:
115         extern int etext[]; etext
117 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
119         * linux_threads.c (GC_get_nprocs): Close file descriptor.
121 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
123         * include/private/gcconfig.h: Add unified test for FreeBSD.
124         Support FreeBSD/alpha.
125         * os_dep.c: Do not include <machine/trap.h> unless available.
126         (GC_freebsd_stack_base): Fix types.
128 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
130         * Makefile.am: Make a convenience library.
131         * Makefile.in: Rebuilt.
133 2002-03-15  Anthony Green  <green@redhat.com>
135         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
136         * configure.in: Disable use of getenv for win32 targets (some of
137         which have broken implementations).
138         * configure: Rebuilt.
140 2002-03-12  Adam Megacz  <adam@xwt.org>
142         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
143         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
144         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
145         statically initialized it to TRUE if compiling with GCC.
146         * win32_threads.c (thread_start): We no longer use SEH if
147         compiling with GCC.
148         * mark.c (GC_mark_some): We no longer use SEH if
149         compiling with GCC.
150         
151 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
153         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ 
154         support is enabled, for hash synchronization.
156 2002-02-24  Adam Megacz  <adam@xwt.org>
158         * Makefile.am: Added win32_threads.c to sources list.
159         * win32_threads.c: Added two */'s which I had neglected.
161 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
163         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
164         * Makefile.in: Rebuilt.
166 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
168         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
169         
170         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a 
171         preprocessor file.
172         * mips_sgi_mach_dep.S: Likewise.
173         * Makefile.am: Update for above changes.
174         * Makefile.in: Rebuilt.
176 2002-02-12  Richard Henderson  <rth@redhat.com>
178         * configure.in: Re-apply 2001-06-26 configure change.
179         * configure: Rebuild.
181 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
183         Imported GC 6.1 Alpha 3.
185         * sparc_mach_dep.S: Delete incorrectly named file.
187 2001-02-11  Adam Megacz <adam@xwt.org
189         * configure.in: support for win32, saner
190         cross-compile options
192 2001-02-08  Anthony Green  <green@redhat.com>
194         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
195           board embedded targets.
196         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
197           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
198           redundant uses of ECOS.
199         * misc.c: Use NOSYS where ECOS is being used.
200           Don't define GC_write twice for ECOS systems.
201           (GC_write): New function for NOSYS targets.
203 2002-02-06  Adam Megacz <adam@xwt.org>
205         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
206         now exposed on all Win32 platforms.
207         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
208         compiles on Win32; it invokes CreateThread() if GC is built
209         as a DLL; otherwise it registers the thread.
210         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
211         libgcjgc was not built as a DLL.
213 2002-02-01  Adam Megacz <adam@xwt.org>
215         * boehm-gc on win32 now automatically detects if it is being built
216         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
217         
218 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
220         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
221         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
222         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
223         DATASTART and DATAEND roots.
224         * rs6000_mach_dep.s: Add function descriptor and traceback table.
226 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
228         * dyn_load.c: Define ElfW (if needed) for all targets,
229         not just GNU/Linux.
230         (GC_FirstDLOpenedLinkMap): Use it.
231         (GC_register_dynamic_libraries_dl): Use it.
232         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
233         for sparcv9.
235 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
237         PR other/3725
238         * configure.in: Add AC_SUBST(target_alias). 
239         * configure: Regenerated.
241 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
243         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
244         case for GC_FREEBSD_THREADS.
245         * configure.in (*-*-freebsd*): Clarify warning.
246         * configure: Rebuilt.
248 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
249             Andreas Tobler <toa@pop.agri.ch>
251         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
253 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
255         * linux_threads.c (GC_init_parallel): Do not declare as a static
256         constructor.
257         * include/gc.h (GC_init): Declare here. Add description.
258         * include/private/gc_priv.h (GC_init): Remove declaration.
260 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
262         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
263         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
264         GC_FREEBSD_THREADS, handle strange interaction between system
265         pthread implementation and boehm-gc signal-handler architecture.
266         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
267         set stack.
268         * include/private/gcconfig.h (configuration keyed off FREEBSD):
269         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
270         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
272 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
274         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
275         * Makefile.in: Rebuilt.
277 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
279         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
280         merged local changes.
282 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
284         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
285         Solaris 2/Intel definition.
286         
287         * configure.in (i?86-*-solaris2.[89]*): Define
288         SOLARIS25_PROC_VDB_BUG_FIXED.
289         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
290         * configure: Regenerate.
292         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
293         (DATAEND): Define using _end.
295 2001-09-11  Per Bothner  <per@bothner.com>
297         * include/Makefile.am:  New file.  It defines include_HEADERS.
298         * Makefile.am (SUBDIRS):  New macro, set to include.
299         * configure.in (AC_OUTPUT):  Add include/Makefile.
301 2001-08-20  Tom Tromey  <tromey@redhat.com>
303         * configure: Rebuilt.
304         * configure.in: Always ask gcc for threads package.
306 2001-08-17  Tom Tromey  <tromey@redhat.com>
308         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
309         merged local changes.
311 2001-08-02  David Billinghurst <David.Billinghurst>
313         * configure: Rebuilt.
314         * configure.in:  POSIX threads on cygwin does not link with
315         -lpthreads.
317 2001-07-03  Tom Tromey  <tromey@redhat.com>
319         Fix for PR bootstrap/3281:
320         * aclocal.m4, configure, Makefile.in: Rebuilt.
321         * acinclude.m4: Set mkinstalldirs for in-tree build.
323 2001-06-26  Richard Henderson  <rth@redhat.com>
325         * alpha_mach_dep.s: Mark call-saved FP registers.
326         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
327         * configure.in (alpha*): Re-enable alpha_mach_dep.s
328         * configure: Rebuild.
330 2001-06-12  Tom Tromey  <tromey@redhat.com>
332         * aclocal.m4, configure: Rebuilt.
333         * acinclude.m4: Find configure.host in srcdir.
335 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
337         * configure.in (AC_EXEEXT): Work around in case it expands to
338         nothing, as in autoconf 2.50.
339         * acinclude.m4: Likewise.
340         * aclocal.m4, configure: Rebuilt.
342 2001-06-07  Tom Tromey  <tromey@redhat.com>
344         For PR bootstrap/3075:
345         * configure, aclocal.m4, Makefile.in: Rebuilt.
346         * configure.in: Don't call AC_CONFIG_AUX_DIR or
347         AC_CANONICAL_SYSTEM.
348         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
349         AC_CANONICAL_SYSTEM here.
350         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
351         boehm_gc_basedir.
353 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
355         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
356         (libgcjgc_la_SOURCES): Remove typo.
357         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
358         * Makefile.in: Rebuilt.
360 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
362         Imported version version 6.0alpha7.
364         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
365         README.amiga, README.debugging, README.dj, README.hp, README.linux,
366         README.rs6000, README.sgi, README.solaris2, README.uts,
367         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
368         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
369         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
370         hpux_irix_threads.c, makefile.depend, nursery.c,
371         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
372         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
373         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
374         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
375         files.
377 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
379         * configure.host: Build with -fexceptions.
380         * linux_threads.c: Remember which thread stopped world for
382 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
383             with final tuning by Bryce McKinlay
385         * configure.in: Add support for --enable-threads=posix on FreeBSD.
386         * configure: Rebuilt.
388 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
390         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
391         (GC_noop1): Change declaration to take one argument.
393 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
395         * configure.in: Obtain THREADS with `gcc -v'.
396         * configure: Rebuilt.
398 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
400         * misc.c: Back out buggy changes to stack clearing code.
401         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
402         spent clearing memory.
404 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
406         * finalize.c:
407         - Accomodate finalization requests for static objects.
408           (Will be required by hash synchronization.  May be needed
409           in some configurations now.)
411         * gc_priv.h:
412         - Define MIN_WORDS.  All allocation requests are rounded
413           up to at least this size.  Removes a subtle assumption that
414           Java objects have a 2 word header.
416         * gcconfig.h:
417         - Adjust Linux/IA64 configuration for non-ancient kernels.
418           (Necessary fix for IA64.)
420         * linux_threads.c:
421         - Fix syntax error in currently unused code.  Will be needed
422           for Linux/PA-RISC.
424         * malloc.c:
425         - Handle MIN_WORDS.
427         * misc.c:
428         - Handle MIN_WORDS.
429         - Change stack cleaning code to typically clear about one tenth
430           the memory it used to in the threads configuration.  Occasionally
431           still clear more.  (This is really a fix for a long-standing
432           and fairly significant performance bug with threads.)
434         * os_dep.c:
435         - Fix the code for finding the beginning of the data segment under
436           Linux.  I believe this is necessary for some IA64 Linux
437           distributions.  It will also helo other platforms, though those
438           may additionally require a gcconfig.h adjustment.  (This basically
439           works around the absence of a data_start or __data_start
440           definition in glibc.)
442         * test.c:
443         - Handle rounding due to MIN_WORDS.
445 2001-03-22  Tom Tromey  <tromey@redhat.com>
447         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
449 2001-03-19  Tom Tromey  <tromey@redhat.com>
451         * Makefile.in: Rebuilt.
452         * Makefile.am (gctest_LDFLAGS): new macro.
454 2001-03-16  Tom Tromey  <tromey@redhat.com>
456         * Makefile.in: Rebuilt.
457         * Makefile.am (TESTS_ENVIRONMENT): New macro.
459 2001-01-23  Rod Stewart <stewart@lab43.org>
461         * gcconfig.h: Check for `__arm__', not `arm'.
463 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
465         * configure.in: Rename THREADLIB to THREADLIBS.
466         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
467         ensures that we link the correct version of the linuxthreads semaphore
468         functions.
469         * Makefile.in: Rebuilt.
470         * configure: Rebuilt.
471         
472         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the 
473         list of signals which are not blocked during suspend in the NO_SIGNALS
474         case.
476 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
478         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
480 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
482         * Makefile.dist: Renamed from Makefile.orig.
484 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
486         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
487         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
488         set accordingly.
489         * Makefile.in: Rebuilt.
490         * configure: Likewise.
492 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
494         * gcconfig.h: Add new case for powerpc EABI.
495         [PPC]: Handle embedded OS for powerpc simulator.
497 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
499         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 
500         cross-compile configuration only.
501         * Makefile.am: Build gcj_mlc.c.
502         * configure, Makefile.in: Rebuilt.
504 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
506         * acinclude.m4: Include libtool macros from the top level.
507         * aclocal.m4, configure: Rebuilt.
509 2000-09-04  Anthony Green  <green@redhat.com>
511         Fix for PR libgcj/230:
512         * mark.c (GC_mark_from_mark_stack): Remove call to
513         GC_debug_object_start.
514         * gc_priv.h (GC_debug_object_start): Remove prototype.
516 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
518         * gcconfig.h [OSF1] (_end): Declare as `int'.
520 2000-08-02  Tom Tromey  <tromey@cygnus.com>
522         * gc_priv.h (GC_generic_malloc_inner): Prototype.
523         (GC_generic_malloc): Likewise.
524         (GC_add_to_black_list_normal): Likewise.
525         (GC_find_header): Likewise.
526         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
527         * gc_mark.h (GC_find_start): Prototype.
528         (GC_signal_mark_stack_overflow): Likewise.
530 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
532         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
533         * configure: Rebuilt.
535         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
537 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
539         Imported version 5.1.
540         * acinclude.m4: Push version to 5.1.
542 2000-06-19  Andrew Haley  <aph@cygnus.com>
544         * os_dep.c (read): Pass two dummy args to syscall().
546 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
548         Imported 5.0 release version.
549         * acinclude.m4: Increment version to 5.0.
551 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
553         Imported version 5.0alpha7.
554         * acinclude.m4: Update version to 5.0a7.
556 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
558         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
559         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
560         - sparc glibc does not provide it.
561         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
562         Make STACKBOTTOM depend on the wordsize.
563         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
564         (struct frame): Declare on sparc*-linux*.
565         (GC_save_callers): Bias the frame pointers if needed (sparc64).
566         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
567         Implement on sparc64.
568         (GC_clear_stack_inner): Implement on sparc64.
569         * gc_priv.h (GC_test_and_set): Implement for sparc.
570         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
571         GC_save_regs_in_stack on sparc.
573 2000-04-23  Tom Tromey  <tromey@cygnus.com>
575         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
577 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
579         Imported version version 5.0alpha6.
580         * acinclude.m4: Bump version to 5.0a6.
581         * configure.in: Don't use alpha_mach_dep.s.
582         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete 
583         obsolete files.
584         * Makefile.am, Makefile.in: irix_threads.c is now
585         hpux_irix_threads.c.
586         * Makefile.orig: Updated from gc distribution Makefile.
588 2000-03-26  Anthony Green  <green@redhat.com>
590         * misc.c (GC_enable): Always define GC_enable and GC_disable.
592 2000-02-14  Tom Tromey  <tromey@cygnus.com>
594         * gc.h (dlopen): Define as GC_dlopen on Linux.
595         (GC_dlopen): Declare on Linux.
596         * dyn_load.c (GC_dlopen): Define for Linux.
598 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
600         * gcconfig.h (DATASTART): Add missing extern declaration
601         for data_start on powerpc.
603 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
605         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
606         NO_SIGNALS case.
608 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
610         * gcconfig.h: Define DATASTART for Alpha Linux.
612 1999-12-19  Anthony Green  <green@cygnus.com>
614         * gcconfig.h: Use libgcj hack for Alpha Linux.  
615         Undefine MPROTEXT_VDB (from Jeff Sturm).
616         * os_dep.c: Remove Alpha Linux hacks.
617         * misc.c: Ditto.
619 1999-12-13  Tom Tromey  <tromey@cygnus.com>
621         * aclocal.m4, configure: Rebuilt.
622         * acinclude.m4: Changed version to 5.0a4.
623         * Makefile.in: Rebuilt.
624         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
626 1999-12-12  Anthony Green  <green@cygnus.com>
628         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
629         Linux.
630         (DYNAMIC_LOADING): Define for PowerPC Linux.
631         * os_dep.c: Remove some special cases for PowerPC Linux.
632         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
633         for PowerPC Linux.
635 1999-11-04  Tom Tromey  <tromey@cygnus.com>
637         * Makefile.in: Rebuilt.
638         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
640         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
641         (GC_thr_init): Don't declare.
643         * configure: Rebuilt.
644         * configure.in: Removed qt threads case.
645         * dyn_load.c: Don't mention QUICK_THREADS.
646         * os_dep.c: Don't mention QUICK_THREADS.
647         * misc.c: Don't mention QUICK_THREADS.
648         * gcconfig.h: Don't mention QUICK_THREADS.
649         * gc_priv.h: Removed QUICK_THREADS code.
650         * quick_threads.c: Removed.
652 1999-11-03  Tom Tromey  <tromey@cygnus.com>
654         * gcconfig.h: Merged in local changes from old config.h.
656 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
658         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
660 1999-11-02  Tom Tromey  <tromey@cygnus.com>
662         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
664         * configure: Rebuilt.
665         * configure.in: Don't create boehm-config.h.
666         * Makefile.in: Rebuilt.
667         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
668         config.h.
669         ($(all_objs)): Depend on gcconfig.h.
670         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
671         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
672         * config.h: Removed.
674 1999-11-01  Tom Tromey  <tromey@cygnus.com>
676         * Makefile.in: Rebuilt.
677         * Makefile.am (gctest_LDADD): Added THREADLIB.
678         (TESTS): New macro.
679         * configure: Rebuilt.
680         * configure.in (INCLUDES): New subst.
682 1999-09-29  Steve Chamberlain  <sac@pobox.com>
684         * config.h: Added picoJava target.
685         * mach_dep.h (GC_push_regs):  New code for picoJava.
687 1999-09-28  Tom Tromey  <tromey@cygnus.com>
689         * aclocal.m4, configure: Rebuilt.
690         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
691         appropriate AC_PROG_ symbol.
693 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
695         * gc_priv.h:  IRIX thread changes from
696         include/private/gc_priv.h.
698 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
700         * Makefile.in: Rebuilt.
701         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
702         builds.
704         * configure: Rebuilt.
705         * configure.in: Properly align --help output, fix capitalization
706         and punctuation.
707         * acinclude.m4: Likewise.
709 1999-08-04  Tom Tromey  <tromey@cygnus.com>
711         * configure.in: Added missing `;;'.  From Anthony Green.
713 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
715         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
717 1999-08-03  Tom Tromey  <tromey@cygnus.com>
719         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
720         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
722 1999-08-02  Tom Tromey  <tromey@cygnus.com>
724         * aclocal.m4, configure: Rebuilt for new libtool.
726 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
728         * mips_sgi_mach_dep.s: Enable PIC option.
730 1999-07-19  Tom Tromey  <tromey@cygnus.com>
732         * config.h (MPROTECT_VDB): Don't define on Linux.
734 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
736         * Makefile.am (.s.lo): Avoid `#line' directives.
737         * Makefile.in: Rebuilt.
739 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
741         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
742         generate *-recursive for this Makefile, use *-am instead.
743         * Makefile.in: Rebuilt.
745 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
747         * Makefile.am (.s.lo): Renamed from `.s.o'.
748         * Makefile.in: Rebuilt.
750 1999-06-21  Tom Tromey  <tromey@cygnus.com>
752         Alpha patch from Jeff Sturm:
753         * os_dep.c (GC_init_linuxalpha): New function.
754         * misc.c: Initialize for alpha linux.
755         * gc_priv.h (GC_test_and_set): Define for alpha.
756         * config.h: Don't assume __data_start on alpha.
758         * Makefile.in: Rebuilt.
759         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
760         -release.
762         * Makefile.in: Rebuilt.
763         * Makefile.am (toolexeclibdir): Define as libdir when
764         appropriate.
765         * configure: Rebuilt.
766         * configure.in (USE_LIBDIR): New conditional.
768         * configure: Rebuilt.
769         * configure.in: Recognize all forms of alpha.
771 1999-06-17  Anthony Green  <green@cygnus.com>
773         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
774         Carlo Dapor <carlo@vis.ethz.ch>).
776 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
778         * configure.in: Switch from irix threads to posix threads
779         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
780         for mips architecture.
781         * configure: Regenerate.
783 1999-04-30  Tom Tromey  <tromey@cygnus.com>
785         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
787 1999-04-26  Tom Tromey  <tromey@cygnus.com>
789         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
790         `weak'.
792 1999-04-23  Tom Tromey  <tromey@cygnus.com>
794         * Makefile.in, configure: Rebuilt.
795         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
796         (libgcjgc_la_SOURCES): Renamed.
797         (libgcjgc_la_LIBADD): Likewise.
798         (libgcjgc_la_DEPENDENCIES): Likewise.
799         (EXTRA_libgcjgc_la_SOURCES): Likewise.
800         (gctest_LDADD): Use libgcjgc.la.
801         (all_objs): Mention libgcj_la_OBJECTS.
802         (EXTRA_LTLIBRARIES): Renamed.
803         (toollib_LTLIBRARIES): Likewise.
804         (libgcjgc_la_LDFLAGS): New macro
805         (toolexecdir): Renamed.
806         (toolexeclibdir): Likewise.
807         (toolexeclib_LTLIBRARIES): Likewise.
808         (LTCOMPILE): Renamed; added libtool invocation.
809         (LINK): Added libtool invocation.
810         (.s.o): use LTCOMPILE.
811         * configure.in: Call AM_PROG_LIBTOOL.  
812         (target_all): Set to libgcjgc.la.
813         Mention `.lo' forms of object files.
815 1999-04-21  Tom Tromey  <tromey@cygnus.com>
817         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
818         GC_stackbottom.
820         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
821         sigcontext.h.  From Matthias Klose <doko@itso.de>.
823 1999-04-16  Tom Tromey  <tromey@cygnus.com>
825         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
826         David Pettersson <dapet@mai.liu.se>
828 1999-04-14  Tom Tromey  <tromey@cygnus.com>
830         * configure: Rebuilt.
831         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
832         incorrect patch of 199-04-09.
834         * configure: Rebuilt.
835         * configure.in: Added support for alpha.
836         From David Pettersson <dapet@mai.liu.se>.
838 1999-04-13  Tom Tromey  <tromey@cygnus.com>
840         * Makefile.in: Rebuilt.
841         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
842         solaris-threads.h.
844 1999-04-09  Tom Tromey  <tromey@cygnus.com>
846         * configure: Rebuilt.
847         * configure.in: Use sparc_mach_dep.s when building on Solaris.
849 1999-02-23  Tom Tromey  <tromey@cygnus.com>
851         * configure: Rebuilt.
852         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
853         SOLARIS_THREADS and _SOLARIS_PTHREADS.
855 1999-02-18  Tom Tromey  <tromey@cygnus.com>
857         * quick_threads.c (GC_push_all_stacks): Change order of arguments
858         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
859         for case where LO is NULL.
861 1999-02-10  Tom Tromey  <tromey@cygnus.com>
863         * aclocal.m4, configure, Makefile.in: Rebuilt.
864         * acinclude.m4: Updated to be used with automake 1.4.
865         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
866         with automake 1.4.
867         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
868         (libgcjgc_a_SOURCES): Likewise.
869         (libgcjgc_a_LIBADD): Likewise.
870         (libgcjgc_a_DEPENDENCIES): Likewise.
871         (EXTRA_libgcjgc_a_SOURCES): Likewise.
872         (gctest_LDADD): Likewise.
873         (all_objs): Likewise.
875 1999-01-08  Tom Tromey  <tromey@cygnus.com>
877         * configure: Rebuilt.
878         * configure.in: Define LINUX_THREADS if using POSIX threads on
879         Linux.
881         * gc_priv.h (GC_test_and_set): Put return type into definition.
883 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
885         * Makefile.am: add support for eCos.  In particular, add C++
886         support for compiling the file ecos.cc.
887         * ecos.cc: new file.
888         * acinclude.m4: add C++ support.
889         * aclocal.m4: likewise
890         * config.h: add eCos support.
891         * configure: likewise
892         * configure.in: likewise
893         * misc.c (GC_write): add eCos support.
894         * os_dep.c (tiny_sbrk): add eCos support.
895         
896 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
898         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
899         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
901 1998-11-23  Tom Tromey  <tromey@cygnus.com>
903         * configure.host (boehm_gc_cflags): Don't add `-O2'.
905 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
907         * Makefile.am, Makefile.in, configure.host: tx39 build option 
908         "-G 0" added.
909         
910 1998-11-17  Tom Tromey  <tromey@cygnus.com>
912         * configure: Rebuilt.
913         * configure.in: Switch on host, not target.
915 1998-11-16  Tom Tromey  <tromey@cygnus.com>
917         * gc_priv.h (GC_debug_object_start): Declare.
918         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
919         * gc.h (GC_debug_register_finalizer_no_order,
920         GC_register_finalizer_no_order): Declare.
921         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
922         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
923         (GC_debug_generic_malloc): Likewise.
924         (GC_debug_object_start): new function.
926 1998-11-11  Tom Tromey  <tromey@cygnus.com>
928         * configure: Rebuilt.
929         * configure.in: Recognize --enable-java-gc, not --enable-gc.
931 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
933         * dyn_load.c: Handle QUICK_THREADS case.
935 1998-10-21  Tom Tromey  <tromey@cygnus.com>
937         * configure: Rebuilt.
938         * configure.in: Put cpp defines here, not in config.h.  Recognize
939         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
940         define PACKAGE or VERSION.
941         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
942         Don't define.
944         * os_dep.c (GC_default_push_other_roots): Define when
945         QUICK_THREADS defined.
946         * misc.c: Added QUICK_THREADS case.
947         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
948         * config.h (THREADS): Define if QUICK_THREADS defined.
949         * Makefile.in: Rebuilt.
950         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
951         quick_threads.c.
952         * quick_threads.c: New file.
954 1998-10-20  Tom Tromey  <tromey@cygnus.com>
956         * aclocal.m4, configure: Rebuilt.
957         * acinclude.m4: Don't subst machine_dir or sys_dir.
958         * configure.host: Removed unused code.
960 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
962         * configure: Rebuilt.
963         * configure.in: Fix typo in previous patch.
965 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
967         * Makefile.in, aclocal.m4, configure: Rebuilt.
968         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
969         * configure.host: Created.
971 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
973         * Makefile.in: Rebuilt.
974         * Makefile.am (lib_LIBRARIES): Use target_all.
975         (EXTRA_LIBRARIES): New macro.
976         * configure: Rebuilt.
977         * configure.in: Recognize --enable-gc.
979 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
981         * Makefile.in: Rebuilt.
982         * Makefile.am (COMPILE): Define.
983         (LINK): Likewise.
984         (.s.o): Use MY_CFLAGS.
985         * configure: Rebuilt.
986         * configure.in (MY_CFLAGS): Define and subst.
988 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
990         * configure: Rebuilt.
991         * configure.in: Added --with-cross-host argument.  Use
992         $with_cross_host to determine when cross-compiling.
994         * config.h (SMALL_CONFIG): Don't define.
995         * configure: Rebuilt.
996         * configure.in: Define SMALL_CONFIG when cross-compiling.
998 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
1000         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1001         allchblk.c: Merged with 4.13a2 while preserving local changes.
1003         * Makefile.orig: Updated from Makefile in 4.13a2.
1005         * configure: Rebuilt.
1006         * configure.in: Updated version number to 4.13a2.  On Solaris,
1007         don't build with -O when using gcc.
1009         Merged in version 4.13alpha2:
1010         * config.h (USE_MMAP): Re-enable on Solaris.
1011         * solaris_pthreads.c: Removed RCS Id line.
1012         * alpha_mach_dep.s: Removed RCS Id line.
1014 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
1016         * config.h (USE_MMAP): Don't define for Solaris.
1018 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
1020         * Makefile.in: Rebuilt.
1021         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1023         * Makefile.in: Rebuilt.
1024         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1026 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
1028         * Makefile.in: Rebuilt.
1029         * Makefile.am ($(all_objs)): Depend on config.h.
1031         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1032         DATASTART as &_etext.
1033         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1034         * configure: Rebuilt.
1035         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1036         tx39.
1038 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
1040         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1041         (GC_maybe_gc): Likewise.
1042         * os_dep.c: If NO_SIGSET defined, then have empty
1043         GC_disable_signals and GC_enable_signals.
1044         * configure: Rebuilt.
1045         * configure.in: Added --with-target-subdir option.  If
1046         cross-compiling, define NO_SIGSET and NO_CLOCK.
1048 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
1050         * Makefile.in: Rebuilt.
1051         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1052         (AS): Removed.
1053         * aclocal.m4, configure: Rebuilt.
1054         * acinclude.m4: New file.
1055         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
1057 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
1059         * configure: Rebuilt.
1060         * configure.in: Link boehm-config.h to config.h.
1061         * Makefile.in: Rebuilt.
1062         * Makefile.am (INCLUDES): Removed.
1063         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1064         JAVA_FINALIZATION): Define
1066 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
1068         * Many files: Use GC_bool, not bool.
1069         * gc_priv.h: Define GC_bool, not bool.
1071         * misc.c (GC_dont_gc): Define as int.
1072         (GC_quiet): Likewise.
1073         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1074         * alloc.c (GC_dont_expand): Define as int.
1075         * gc_priv.h: For gcc, define bool as char.
1077 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
1079         * Makefile.in: Rebuilt.
1080         * Makefile.am (check_PROGRAMS): New macro.
1081         (gctest_SOURCES): Likewise.
1082         (gctest_LDADD): Likewise.
1084 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
1086         * Makefile.in: Rebuilt.
1087         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1088         * configure: Rebuilt.
1089         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1091 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1093         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1094         New files.
1095         * Makefile.orig: Renamed from Makefile.