OSDN Git Service

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