2002-07-18 H.J. Lu <hjl@gnu.org>
[official-gcc.git] / boehm-gc / ChangeLog
blobef9c6845dc9e70d7166395209958db98d2b300e5
1 2002-07-18  H.J. Lu <hjl@gnu.org>
3         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
5 2002-07-18  H.J. Lu  (hjl@gnu.org)
7         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
8         Linux/mips.
10 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
11             Jonathan Clark
13         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
15 2002-06-09  H.J. Lu  (hjl@gnu.org)
17         * include/private/gc_locks.h (GC_test_and_set): Support
18         Linux/mips.
19         (GC_TEST_AND_SET_DEFINED): Likewise.
21         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
22         Linux/mips.
23         (DATAEND): Likewise.
24         (LINUX_STACKBOTTOM): Likewise.
25         (STACKBOTTOM): Removed for Linux/mips.
27 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
29         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
30         (GC_pthread_create): Fix typo.
31         (GC_TRY_LOCK): Likewise.
32         * include/private/gc_locks.h (GC_test_and_set): Only take one
33         one argument.
34         (LOCK): Adjust appropriately.
35         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if 
36         _SIGRTMIN is unavailable.
38 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
40         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
41         * aclocal.m4: Regenerate.
42         * configure: Regenerate.
44 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
46         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
47         script entry, and set LD to it when configuring multilibs.
48         * configure: Rebuilt.
50 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
52         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
53         (noinst_LTLIBRARIES): Add libgcjgc.la.
55         * Makefile.in: Rebuild.
57 2002-04-22  David S. Miller  <davem@redhat.com>
59         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
60         64-bit SPARC Linux, the __libc_stack_end technique does
61         not work in this case.
63 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
65         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
67 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
69         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
70         SPARC Linux.
72 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
74         * include/private/gcconfig.h (DATAEND): Update comment example
75         to match reality.
77 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
79         * include/private/gcconfig.h (DATAEND): Clarify comment.
81 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
82         
83         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
84         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
85         declare.
86         * allchblk.c (GC_allchblk_nth): Change text and support reduced
87         frequency for blacklist warning message.
88         * misc.c (GC_large_alloc_warn_interval,
89         GC_large_alloc_warn_suppressed): define.
90         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and 
91         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
92         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
93         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
95         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
97 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
99         * include/private/gcconfig.h: Add support for an unmapped
100         memory hole between the end of the initialized data segment
101         and the start of the BSS on FreeBSD/i386.
103 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
105         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
106         NetBSD/i386.
108 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
110         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
111         (GC_local_gcj_malloc): Add assertion.
112         (start_mark_threads): Fix abort message.
113         * mark.c (GC_mark_from): Generalize assertion.
114         * reclaim.c (GC_clear_fl_links): New function.
115         (GC_start_reclaim): Must clear some freelist links.
116         * include/private/specific.h, specific.c: Add assertions.
117         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
118         Rearrange tse fields.
120 2002-03-27  Richard Henderson  <rth@redhat.com>
122         * os_dep.c (GC_init_linux_data_start): Fix references to
123         __data_start and _end.
125 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
127         * include/private/gcconfig.h: Change all likely references
128         to linker script synthesized symbols to use this idiom:
129         extern int etext[]; etext
131 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
133         * linux_threads.c (GC_get_nprocs): Close file descriptor.
135 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
137         * include/private/gcconfig.h: Add unified test for FreeBSD.
138         Support FreeBSD/alpha.
139         * os_dep.c: Do not include <machine/trap.h> unless available.
140         (GC_freebsd_stack_base): Fix types.
142 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
144         * Makefile.am: Make a convenience library.
145         * Makefile.in: Rebuilt.
147 2002-03-15  Anthony Green  <green@redhat.com>
149         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
150         * configure.in: Disable use of getenv for win32 targets (some of
151         which have broken implementations).
152         * configure: Rebuilt.
154 2002-03-12  Adam Megacz  <adam@xwt.org>
156         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
157         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
158         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
159         statically initialized it to TRUE if compiling with GCC.
160         * win32_threads.c (thread_start): We no longer use SEH if
161         compiling with GCC.
162         * mark.c (GC_mark_some): We no longer use SEH if
163         compiling with GCC.
164         
165 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
167         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ 
168         support is enabled, for hash synchronization.
170 2002-02-24  Adam Megacz  <adam@xwt.org>
172         * Makefile.am: Added win32_threads.c to sources list.
173         * win32_threads.c: Added two */'s which I had neglected.
175 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
177         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
178         * Makefile.in: Rebuilt.
180 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
182         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
183         
184         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a 
185         preprocessor file.
186         * mips_sgi_mach_dep.S: Likewise.
187         * Makefile.am: Update for above changes.
188         * Makefile.in: Rebuilt.
190 2002-02-12  Richard Henderson  <rth@redhat.com>
192         * configure.in: Re-apply 2001-06-26 configure change.
193         * configure: Rebuild.
195 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
197         Imported GC 6.1 Alpha 3.
199         * sparc_mach_dep.S: Delete incorrectly named file.
201 2001-02-11  Adam Megacz <adam@xwt.org
203         * configure.in: support for win32, saner
204         cross-compile options
206 2001-02-08  Anthony Green  <green@redhat.com>
208         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
209           board embedded targets.
210         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
211           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
212           redundant uses of ECOS.
213         * misc.c: Use NOSYS where ECOS is being used.
214           Don't define GC_write twice for ECOS systems.
215           (GC_write): New function for NOSYS targets.
217 2002-02-06  Adam Megacz <adam@xwt.org>
219         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
220         now exposed on all Win32 platforms.
221         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
222         compiles on Win32; it invokes CreateThread() if GC is built
223         as a DLL; otherwise it registers the thread.
224         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
225         libgcjgc was not built as a DLL.
227 2002-02-01  Adam Megacz <adam@xwt.org>
229         * boehm-gc on win32 now automatically detects if it is being built
230         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
231         
232 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
234         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
235         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
236         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
237         DATASTART and DATAEND roots.
238         * rs6000_mach_dep.s: Add function descriptor and traceback table.
240 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
242         * dyn_load.c: Define ElfW (if needed) for all targets,
243         not just GNU/Linux.
244         (GC_FirstDLOpenedLinkMap): Use it.
245         (GC_register_dynamic_libraries_dl): Use it.
246         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
247         for sparcv9.
249 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
251         PR other/3725
252         * configure.in: Add AC_SUBST(target_alias). 
253         * configure: Regenerated.
255 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
257         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
258         case for GC_FREEBSD_THREADS.
259         * configure.in (*-*-freebsd*): Clarify warning.
260         * configure: Rebuilt.
262 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
263             Andreas Tobler <toa@pop.agri.ch>
265         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
267 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
269         * linux_threads.c (GC_init_parallel): Do not declare as a static
270         constructor.
271         * include/gc.h (GC_init): Declare here. Add description.
272         * include/private/gc_priv.h (GC_init): Remove declaration.
274 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
276         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
277         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
278         GC_FREEBSD_THREADS, handle strange interaction between system
279         pthread implementation and boehm-gc signal-handler architecture.
280         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
281         set stack.
282         * include/private/gcconfig.h (configuration keyed off FREEBSD):
283         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
284         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
286 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
288         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
289         * Makefile.in: Rebuilt.
291 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
293         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
294         merged local changes.
296 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
298         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
299         Solaris 2/Intel definition.
300         
301         * configure.in (i?86-*-solaris2.[89]*): Define
302         SOLARIS25_PROC_VDB_BUG_FIXED.
303         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
304         * configure: Regenerate.
306         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
307         (DATAEND): Define using _end.
309 2001-09-11  Per Bothner  <per@bothner.com>
311         * include/Makefile.am:  New file.  It defines include_HEADERS.
312         * Makefile.am (SUBDIRS):  New macro, set to include.
313         * configure.in (AC_OUTPUT):  Add include/Makefile.
315 2001-08-20  Tom Tromey  <tromey@redhat.com>
317         * configure: Rebuilt.
318         * configure.in: Always ask gcc for threads package.
320 2001-08-17  Tom Tromey  <tromey@redhat.com>
322         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
323         merged local changes.
325 2001-08-02  David Billinghurst <David.Billinghurst>
327         * configure: Rebuilt.
328         * configure.in:  POSIX threads on cygwin does not link with
329         -lpthreads.
331 2001-07-03  Tom Tromey  <tromey@redhat.com>
333         Fix for PR bootstrap/3281:
334         * aclocal.m4, configure, Makefile.in: Rebuilt.
335         * acinclude.m4: Set mkinstalldirs for in-tree build.
337 2001-06-26  Richard Henderson  <rth@redhat.com>
339         * alpha_mach_dep.s: Mark call-saved FP registers.
340         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
341         * configure.in (alpha*): Re-enable alpha_mach_dep.s
342         * configure: Rebuild.
344 2001-06-12  Tom Tromey  <tromey@redhat.com>
346         * aclocal.m4, configure: Rebuilt.
347         * acinclude.m4: Find configure.host in srcdir.
349 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
351         * configure.in (AC_EXEEXT): Work around in case it expands to
352         nothing, as in autoconf 2.50.
353         * acinclude.m4: Likewise.
354         * aclocal.m4, configure: Rebuilt.
356 2001-06-07  Tom Tromey  <tromey@redhat.com>
358         For PR bootstrap/3075:
359         * configure, aclocal.m4, Makefile.in: Rebuilt.
360         * configure.in: Don't call AC_CONFIG_AUX_DIR or
361         AC_CANONICAL_SYSTEM.
362         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
363         AC_CANONICAL_SYSTEM here.
364         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
365         boehm_gc_basedir.
367 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
369         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
370         (libgcjgc_la_SOURCES): Remove typo.
371         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
372         * Makefile.in: Rebuilt.
374 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
376         Imported version version 6.0alpha7.
378         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
379         README.amiga, README.debugging, README.dj, README.hp, README.linux,
380         README.rs6000, README.sgi, README.solaris2, README.uts,
381         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
382         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
383         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
384         hpux_irix_threads.c, makefile.depend, nursery.c,
385         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
386         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
387         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
388         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
389         files.
391 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
393         * configure.host: Build with -fexceptions.
394         * linux_threads.c: Remember which thread stopped world for
396 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
397             with final tuning by Bryce McKinlay
399         * configure.in: Add support for --enable-threads=posix on FreeBSD.
400         * configure: Rebuilt.
402 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
404         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
405         (GC_noop1): Change declaration to take one argument.
407 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
409         * configure.in: Obtain THREADS with `gcc -v'.
410         * configure: Rebuilt.
412 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
414         * misc.c: Back out buggy changes to stack clearing code.
415         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
416         spent clearing memory.
418 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
420         * finalize.c:
421         - Accomodate finalization requests for static objects.
422           (Will be required by hash synchronization.  May be needed
423           in some configurations now.)
425         * gc_priv.h:
426         - Define MIN_WORDS.  All allocation requests are rounded
427           up to at least this size.  Removes a subtle assumption that
428           Java objects have a 2 word header.
430         * gcconfig.h:
431         - Adjust Linux/IA64 configuration for non-ancient kernels.
432           (Necessary fix for IA64.)
434         * linux_threads.c:
435         - Fix syntax error in currently unused code.  Will be needed
436           for Linux/PA-RISC.
438         * malloc.c:
439         - Handle MIN_WORDS.
441         * misc.c:
442         - Handle MIN_WORDS.
443         - Change stack cleaning code to typically clear about one tenth
444           the memory it used to in the threads configuration.  Occasionally
445           still clear more.  (This is really a fix for a long-standing
446           and fairly significant performance bug with threads.)
448         * os_dep.c:
449         - Fix the code for finding the beginning of the data segment under
450           Linux.  I believe this is necessary for some IA64 Linux
451           distributions.  It will also helo other platforms, though those
452           may additionally require a gcconfig.h adjustment.  (This basically
453           works around the absence of a data_start or __data_start
454           definition in glibc.)
456         * test.c:
457         - Handle rounding due to MIN_WORDS.
459 2001-03-22  Tom Tromey  <tromey@redhat.com>
461         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
463 2001-03-19  Tom Tromey  <tromey@redhat.com>
465         * Makefile.in: Rebuilt.
466         * Makefile.am (gctest_LDFLAGS): new macro.
468 2001-03-16  Tom Tromey  <tromey@redhat.com>
470         * Makefile.in: Rebuilt.
471         * Makefile.am (TESTS_ENVIRONMENT): New macro.
473 2001-01-23  Rod Stewart <stewart@lab43.org>
475         * gcconfig.h: Check for `__arm__', not `arm'.
477 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
479         * configure.in: Rename THREADLIB to THREADLIBS.
480         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
481         ensures that we link the correct version of the linuxthreads semaphore
482         functions.
483         * Makefile.in: Rebuilt.
484         * configure: Rebuilt.
485         
486         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the 
487         list of signals which are not blocked during suspend in the NO_SIGNALS
488         case.
490 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
492         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
494 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
496         * Makefile.dist: Renamed from Makefile.orig.
498 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
500         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
501         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
502         set accordingly.
503         * Makefile.in: Rebuilt.
504         * configure: Likewise.
506 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
508         * gcconfig.h: Add new case for powerpc EABI.
509         [PPC]: Handle embedded OS for powerpc simulator.
511 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
513         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 
514         cross-compile configuration only.
515         * Makefile.am: Build gcj_mlc.c.
516         * configure, Makefile.in: Rebuilt.
518 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
520         * acinclude.m4: Include libtool macros from the top level.
521         * aclocal.m4, configure: Rebuilt.
523 2000-09-04  Anthony Green  <green@redhat.com>
525         Fix for PR libgcj/230:
526         * mark.c (GC_mark_from_mark_stack): Remove call to
527         GC_debug_object_start.
528         * gc_priv.h (GC_debug_object_start): Remove prototype.
530 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
532         * gcconfig.h [OSF1] (_end): Declare as `int'.
534 2000-08-02  Tom Tromey  <tromey@cygnus.com>
536         * gc_priv.h (GC_generic_malloc_inner): Prototype.
537         (GC_generic_malloc): Likewise.
538         (GC_add_to_black_list_normal): Likewise.
539         (GC_find_header): Likewise.
540         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
541         * gc_mark.h (GC_find_start): Prototype.
542         (GC_signal_mark_stack_overflow): Likewise.
544 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
546         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
547         * configure: Rebuilt.
549         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
551 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
553         Imported version 5.1.
554         * acinclude.m4: Push version to 5.1.
556 2000-06-19  Andrew Haley  <aph@cygnus.com>
558         * os_dep.c (read): Pass two dummy args to syscall().
560 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
562         Imported 5.0 release version.
563         * acinclude.m4: Increment version to 5.0.
565 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
567         Imported version 5.0alpha7.
568         * acinclude.m4: Update version to 5.0a7.
570 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
572         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
573         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
574         - sparc glibc does not provide it.
575         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
576         Make STACKBOTTOM depend on the wordsize.
577         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
578         (struct frame): Declare on sparc*-linux*.
579         (GC_save_callers): Bias the frame pointers if needed (sparc64).
580         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
581         Implement on sparc64.
582         (GC_clear_stack_inner): Implement on sparc64.
583         * gc_priv.h (GC_test_and_set): Implement for sparc.
584         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
585         GC_save_regs_in_stack on sparc.
587 2000-04-23  Tom Tromey  <tromey@cygnus.com>
589         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
591 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
593         Imported version version 5.0alpha6.
594         * acinclude.m4: Bump version to 5.0a6.
595         * configure.in: Don't use alpha_mach_dep.s.
596         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete 
597         obsolete files.
598         * Makefile.am, Makefile.in: irix_threads.c is now
599         hpux_irix_threads.c.
600         * Makefile.orig: Updated from gc distribution Makefile.
602 2000-03-26  Anthony Green  <green@redhat.com>
604         * misc.c (GC_enable): Always define GC_enable and GC_disable.
606 2000-02-14  Tom Tromey  <tromey@cygnus.com>
608         * gc.h (dlopen): Define as GC_dlopen on Linux.
609         (GC_dlopen): Declare on Linux.
610         * dyn_load.c (GC_dlopen): Define for Linux.
612 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
614         * gcconfig.h (DATASTART): Add missing extern declaration
615         for data_start on powerpc.
617 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
619         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
620         NO_SIGNALS case.
622 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
624         * gcconfig.h: Define DATASTART for Alpha Linux.
626 1999-12-19  Anthony Green  <green@cygnus.com>
628         * gcconfig.h: Use libgcj hack for Alpha Linux.  
629         Undefine MPROTEXT_VDB (from Jeff Sturm).
630         * os_dep.c: Remove Alpha Linux hacks.
631         * misc.c: Ditto.
633 1999-12-13  Tom Tromey  <tromey@cygnus.com>
635         * aclocal.m4, configure: Rebuilt.
636         * acinclude.m4: Changed version to 5.0a4.
637         * Makefile.in: Rebuilt.
638         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
640 1999-12-12  Anthony Green  <green@cygnus.com>
642         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
643         Linux.
644         (DYNAMIC_LOADING): Define for PowerPC Linux.
645         * os_dep.c: Remove some special cases for PowerPC Linux.
646         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
647         for PowerPC Linux.
649 1999-11-04  Tom Tromey  <tromey@cygnus.com>
651         * Makefile.in: Rebuilt.
652         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
654         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
655         (GC_thr_init): Don't declare.
657         * configure: Rebuilt.
658         * configure.in: Removed qt threads case.
659         * dyn_load.c: Don't mention QUICK_THREADS.
660         * os_dep.c: Don't mention QUICK_THREADS.
661         * misc.c: Don't mention QUICK_THREADS.
662         * gcconfig.h: Don't mention QUICK_THREADS.
663         * gc_priv.h: Removed QUICK_THREADS code.
664         * quick_threads.c: Removed.
666 1999-11-03  Tom Tromey  <tromey@cygnus.com>
668         * gcconfig.h: Merged in local changes from old config.h.
670 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
672         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
674 1999-11-02  Tom Tromey  <tromey@cygnus.com>
676         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
678         * configure: Rebuilt.
679         * configure.in: Don't create boehm-config.h.
680         * Makefile.in: Rebuilt.
681         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
682         config.h.
683         ($(all_objs)): Depend on gcconfig.h.
684         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
685         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
686         * config.h: Removed.
688 1999-11-01  Tom Tromey  <tromey@cygnus.com>
690         * Makefile.in: Rebuilt.
691         * Makefile.am (gctest_LDADD): Added THREADLIB.
692         (TESTS): New macro.
693         * configure: Rebuilt.
694         * configure.in (INCLUDES): New subst.
696 1999-09-29  Steve Chamberlain  <sac@pobox.com>
698         * config.h: Added picoJava target.
699         * mach_dep.h (GC_push_regs):  New code for picoJava.
701 1999-09-28  Tom Tromey  <tromey@cygnus.com>
703         * aclocal.m4, configure: Rebuilt.
704         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
705         appropriate AC_PROG_ symbol.
707 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
709         * gc_priv.h:  IRIX thread changes from
710         include/private/gc_priv.h.
712 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
714         * Makefile.in: Rebuilt.
715         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
716         builds.
718         * configure: Rebuilt.
719         * configure.in: Properly align --help output, fix capitalization
720         and punctuation.
721         * acinclude.m4: Likewise.
723 1999-08-04  Tom Tromey  <tromey@cygnus.com>
725         * configure.in: Added missing `;;'.  From Anthony Green.
727 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
729         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
731 1999-08-03  Tom Tromey  <tromey@cygnus.com>
733         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
734         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
736 1999-08-02  Tom Tromey  <tromey@cygnus.com>
738         * aclocal.m4, configure: Rebuilt for new libtool.
740 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
742         * mips_sgi_mach_dep.s: Enable PIC option.
744 1999-07-19  Tom Tromey  <tromey@cygnus.com>
746         * config.h (MPROTECT_VDB): Don't define on Linux.
748 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
750         * Makefile.am (.s.lo): Avoid `#line' directives.
751         * Makefile.in: Rebuilt.
753 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
755         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
756         generate *-recursive for this Makefile, use *-am instead.
757         * Makefile.in: Rebuilt.
759 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
761         * Makefile.am (.s.lo): Renamed from `.s.o'.
762         * Makefile.in: Rebuilt.
764 1999-06-21  Tom Tromey  <tromey@cygnus.com>
766         Alpha patch from Jeff Sturm:
767         * os_dep.c (GC_init_linuxalpha): New function.
768         * misc.c: Initialize for alpha linux.
769         * gc_priv.h (GC_test_and_set): Define for alpha.
770         * config.h: Don't assume __data_start on alpha.
772         * Makefile.in: Rebuilt.
773         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
774         -release.
776         * Makefile.in: Rebuilt.
777         * Makefile.am (toolexeclibdir): Define as libdir when
778         appropriate.
779         * configure: Rebuilt.
780         * configure.in (USE_LIBDIR): New conditional.
782         * configure: Rebuilt.
783         * configure.in: Recognize all forms of alpha.
785 1999-06-17  Anthony Green  <green@cygnus.com>
787         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
788         Carlo Dapor <carlo@vis.ethz.ch>).
790 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
792         * configure.in: Switch from irix threads to posix threads
793         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
794         for mips architecture.
795         * configure: Regenerate.
797 1999-04-30  Tom Tromey  <tromey@cygnus.com>
799         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
801 1999-04-26  Tom Tromey  <tromey@cygnus.com>
803         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
804         `weak'.
806 1999-04-23  Tom Tromey  <tromey@cygnus.com>
808         * Makefile.in, configure: Rebuilt.
809         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
810         (libgcjgc_la_SOURCES): Renamed.
811         (libgcjgc_la_LIBADD): Likewise.
812         (libgcjgc_la_DEPENDENCIES): Likewise.
813         (EXTRA_libgcjgc_la_SOURCES): Likewise.
814         (gctest_LDADD): Use libgcjgc.la.
815         (all_objs): Mention libgcj_la_OBJECTS.
816         (EXTRA_LTLIBRARIES): Renamed.
817         (toollib_LTLIBRARIES): Likewise.
818         (libgcjgc_la_LDFLAGS): New macro
819         (toolexecdir): Renamed.
820         (toolexeclibdir): Likewise.
821         (toolexeclib_LTLIBRARIES): Likewise.
822         (LTCOMPILE): Renamed; added libtool invocation.
823         (LINK): Added libtool invocation.
824         (.s.o): use LTCOMPILE.
825         * configure.in: Call AM_PROG_LIBTOOL.  
826         (target_all): Set to libgcjgc.la.
827         Mention `.lo' forms of object files.
829 1999-04-21  Tom Tromey  <tromey@cygnus.com>
831         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
832         GC_stackbottom.
834         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
835         sigcontext.h.  From Matthias Klose <doko@itso.de>.
837 1999-04-16  Tom Tromey  <tromey@cygnus.com>
839         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
840         David Pettersson <dapet@mai.liu.se>
842 1999-04-14  Tom Tromey  <tromey@cygnus.com>
844         * configure: Rebuilt.
845         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
846         incorrect patch of 199-04-09.
848         * configure: Rebuilt.
849         * configure.in: Added support for alpha.
850         From David Pettersson <dapet@mai.liu.se>.
852 1999-04-13  Tom Tromey  <tromey@cygnus.com>
854         * Makefile.in: Rebuilt.
855         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
856         solaris-threads.h.
858 1999-04-09  Tom Tromey  <tromey@cygnus.com>
860         * configure: Rebuilt.
861         * configure.in: Use sparc_mach_dep.s when building on Solaris.
863 1999-02-23  Tom Tromey  <tromey@cygnus.com>
865         * configure: Rebuilt.
866         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
867         SOLARIS_THREADS and _SOLARIS_PTHREADS.
869 1999-02-18  Tom Tromey  <tromey@cygnus.com>
871         * quick_threads.c (GC_push_all_stacks): Change order of arguments
872         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
873         for case where LO is NULL.
875 1999-02-10  Tom Tromey  <tromey@cygnus.com>
877         * aclocal.m4, configure, Makefile.in: Rebuilt.
878         * acinclude.m4: Updated to be used with automake 1.4.
879         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
880         with automake 1.4.
881         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
882         (libgcjgc_a_SOURCES): Likewise.
883         (libgcjgc_a_LIBADD): Likewise.
884         (libgcjgc_a_DEPENDENCIES): Likewise.
885         (EXTRA_libgcjgc_a_SOURCES): Likewise.
886         (gctest_LDADD): Likewise.
887         (all_objs): Likewise.
889 1999-01-08  Tom Tromey  <tromey@cygnus.com>
891         * configure: Rebuilt.
892         * configure.in: Define LINUX_THREADS if using POSIX threads on
893         Linux.
895         * gc_priv.h (GC_test_and_set): Put return type into definition.
897 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
899         * Makefile.am: add support for eCos.  In particular, add C++
900         support for compiling the file ecos.cc.
901         * ecos.cc: new file.
902         * acinclude.m4: add C++ support.
903         * aclocal.m4: likewise
904         * config.h: add eCos support.
905         * configure: likewise
906         * configure.in: likewise
907         * misc.c (GC_write): add eCos support.
908         * os_dep.c (tiny_sbrk): add eCos support.
909         
910 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
912         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
913         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
915 1998-11-23  Tom Tromey  <tromey@cygnus.com>
917         * configure.host (boehm_gc_cflags): Don't add `-O2'.
919 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
921         * Makefile.am, Makefile.in, configure.host: tx39 build option 
922         "-G 0" added.
923         
924 1998-11-17  Tom Tromey  <tromey@cygnus.com>
926         * configure: Rebuilt.
927         * configure.in: Switch on host, not target.
929 1998-11-16  Tom Tromey  <tromey@cygnus.com>
931         * gc_priv.h (GC_debug_object_start): Declare.
932         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
933         * gc.h (GC_debug_register_finalizer_no_order,
934         GC_register_finalizer_no_order): Declare.
935         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
936         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
937         (GC_debug_generic_malloc): Likewise.
938         (GC_debug_object_start): new function.
940 1998-11-11  Tom Tromey  <tromey@cygnus.com>
942         * configure: Rebuilt.
943         * configure.in: Recognize --enable-java-gc, not --enable-gc.
945 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
947         * dyn_load.c: Handle QUICK_THREADS case.
949 1998-10-21  Tom Tromey  <tromey@cygnus.com>
951         * configure: Rebuilt.
952         * configure.in: Put cpp defines here, not in config.h.  Recognize
953         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
954         define PACKAGE or VERSION.
955         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
956         Don't define.
958         * os_dep.c (GC_default_push_other_roots): Define when
959         QUICK_THREADS defined.
960         * misc.c: Added QUICK_THREADS case.
961         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
962         * config.h (THREADS): Define if QUICK_THREADS defined.
963         * Makefile.in: Rebuilt.
964         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
965         quick_threads.c.
966         * quick_threads.c: New file.
968 1998-10-20  Tom Tromey  <tromey@cygnus.com>
970         * aclocal.m4, configure: Rebuilt.
971         * acinclude.m4: Don't subst machine_dir or sys_dir.
972         * configure.host: Removed unused code.
974 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
976         * configure: Rebuilt.
977         * configure.in: Fix typo in previous patch.
979 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
981         * Makefile.in, aclocal.m4, configure: Rebuilt.
982         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
983         * configure.host: Created.
985 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
987         * Makefile.in: Rebuilt.
988         * Makefile.am (lib_LIBRARIES): Use target_all.
989         (EXTRA_LIBRARIES): New macro.
990         * configure: Rebuilt.
991         * configure.in: Recognize --enable-gc.
993 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
995         * Makefile.in: Rebuilt.
996         * Makefile.am (COMPILE): Define.
997         (LINK): Likewise.
998         (.s.o): Use MY_CFLAGS.
999         * configure: Rebuilt.
1000         * configure.in (MY_CFLAGS): Define and subst.
1002 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
1004         * configure: Rebuilt.
1005         * configure.in: Added --with-cross-host argument.  Use
1006         $with_cross_host to determine when cross-compiling.
1008         * config.h (SMALL_CONFIG): Don't define.
1009         * configure: Rebuilt.
1010         * configure.in: Define SMALL_CONFIG when cross-compiling.
1012 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
1014         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1015         allchblk.c: Merged with 4.13a2 while preserving local changes.
1017         * Makefile.orig: Updated from Makefile in 4.13a2.
1019         * configure: Rebuilt.
1020         * configure.in: Updated version number to 4.13a2.  On Solaris,
1021         don't build with -O when using gcc.
1023         Merged in version 4.13alpha2:
1024         * config.h (USE_MMAP): Re-enable on Solaris.
1025         * solaris_pthreads.c: Removed RCS Id line.
1026         * alpha_mach_dep.s: Removed RCS Id line.
1028 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
1030         * config.h (USE_MMAP): Don't define for Solaris.
1032 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
1034         * Makefile.in: Rebuilt.
1035         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1037         * Makefile.in: Rebuilt.
1038         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1040 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
1042         * Makefile.in: Rebuilt.
1043         * Makefile.am ($(all_objs)): Depend on config.h.
1045         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1046         DATASTART as &_etext.
1047         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1048         * configure: Rebuilt.
1049         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1050         tx39.
1052 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
1054         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1055         (GC_maybe_gc): Likewise.
1056         * os_dep.c: If NO_SIGSET defined, then have empty
1057         GC_disable_signals and GC_enable_signals.
1058         * configure: Rebuilt.
1059         * configure.in: Added --with-target-subdir option.  If
1060         cross-compiling, define NO_SIGSET and NO_CLOCK.
1062 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
1064         * Makefile.in: Rebuilt.
1065         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1066         (AS): Removed.
1067         * aclocal.m4, configure: Rebuilt.
1068         * acinclude.m4: New file.
1069         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
1071 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
1073         * configure: Rebuilt.
1074         * configure.in: Link boehm-config.h to config.h.
1075         * Makefile.in: Rebuilt.
1076         * Makefile.am (INCLUDES): Removed.
1077         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1078         JAVA_FINALIZATION): Define
1080 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
1082         * Many files: Use GC_bool, not bool.
1083         * gc_priv.h: Define GC_bool, not bool.
1085         * misc.c (GC_dont_gc): Define as int.
1086         (GC_quiet): Likewise.
1087         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1088         * alloc.c (GC_dont_expand): Define as int.
1089         * gc_priv.h: For gcc, define bool as char.
1091 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
1093         * Makefile.in: Rebuilt.
1094         * Makefile.am (check_PROGRAMS): New macro.
1095         (gctest_SOURCES): Likewise.
1096         (gctest_LDADD): Likewise.
1098 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
1100         * Makefile.in: Rebuilt.
1101         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1102         * configure: Rebuilt.
1103         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1105 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1107         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1108         New files.
1109         * Makefile.orig: Renamed from Makefile.