OSDN Git Service

2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
1 2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
4         since they're not known at this time.
5         * solaris_pthreads.c: Likewise.
6
7 2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
8
9         PR target/14931
10         * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
11
12 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
13
14         * configure.ac (gc_cflags): Add -Iinclude.
15         (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
16         Don't write DEFS to boehm-cflags file.
17         * configure: Rebuilt.
18         * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
19         * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
20         * include/gc_config_macros.h: Remove backward-compatibility 
21         redefinitions of GC_ names.
22         * include/gc.h: Include <gc_config.h>.
23
24 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
25
26         Import Boehm GC version 6.3.
27
28 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
29
30         * include/Makefile.in: Regenerate
31
32 2004-07-06  Andrew Pinski  <apinski@apple.com>
33
34         * os-dep.c (GC_task_self): Declare as static
35         and remove the second declaration.
36
37 2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
38
39         * Makefile.am: Add rule for .S files to fix bootstrap on
40         solaris and alpha.
41         * Makefile.in: Regenerate.
42
43 2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
44
45         * boehm-gc/configure.ac: New name of configure.in.
46         Remove useless multilib stuff.  Change uses of
47         INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
48         * boehm-gc/configure.in: New name of configure.in.
49         * boehm-gc/Makefile.am: Update for automake 1.8.5.
50         * boehm-gc/acinclude.m4: Include ../config/acx.m4.
51         * boehm-gc/aclocal.m4: Regenerate.
52         * boehm-gc/configure: Regenerate.
53         * boehm-gc/Makefile.in: Regenerate.
54
55 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
56
57         * .cvsignore: New file.
58
59 2004-04-25  Andreas Jaeger  <aj@suse.de>
60
61         * mark.c (GC_mark_from): Use pointer as prefetch argument.
62
63 2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64
65         * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
66         for gcc >= 3.0.
67         (PREFETCH_FOR_WRITE): Likewise.
68
69 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
70
71         * configure.ac: Bump AC_PREREQ to 2.59.
72         * configure: Regenerate.
73         * config.in: Regenerate.
74
75 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
76
77         * ltconfig, ltmain.sh: Remove unused files.
78         * configure.in: Remove bogus extra early invocation of
79         AC_CONFIG_AUX_DIR.
80         * configure: Regenerate.
81         * mkinstalldirs, install-sh, config.sub, config.guess:
82         Remove (now) unused files.
83         * Makefile.in: Regenerate (losing references to vanished
84         files).
85
86         * configure.in: Add CCAS, CCASFLAGS for future automakes.
87         * configure, Makefile.in, include/Makefile.in: Regenerate.
88
89         * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
90         * Makefile.in: Regenerate.
91
92         * configure.in: Remove bogus duplicate invocation of
93         AM_MAINTAINER_MODE.  Remove obsolete comment.
94         * configure: Regenerate.
95
96         * acinclude.m4: Remove GC_CONFIGURE macro; move contents
97         to configure.in.
98         * aclocal.m4: Regenerate.
99         * configure.in: Receive contents of GC_CONFIGURE macro.
100         * configure: Regenerate.
101
102         * configure.in: Remove more obsolete, bogus code.
103         * configure: Regenerate.
104
105         * acinclude.m4: Remove obsolete and bogus constructs.
106         * aclocal.m4: Regenerate.
107         * configure: Regnerate.
108
109 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
110
111         * acinclude.m4: De-precious CC and CXX so that the right flags
112         are passed down to multilibs.
113         * aclocal.m4: Regenerate.
114         * configure: Regenerate.
115
116 2004-02-22  Zack Weinberg <zack@codesourcery.com>
117             Nathanael Nerode <neroden@twcny.rr.com>
118             Alexandre Oliva <aoliva@redhat.com>
119
120         * config.sub, config.guess: Replace with forwarding scripts
121         which invoke the master copies in the top level.
122
123 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
124
125         * acinclude.m4: Remove old no-executables workaround;
126         add new no-executables workaround.
127         * aclocal.m4: Regenerate.
128         * configure.in: Change prereqs to autoconf 2.57.
129         * configure: Regenerate with autoconf 2.57.
130
131         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
132         * configure: Regenerate.
133         * Makefile.am: Use target_noncanonical variable from configure.
134         * Makefile.in: Regenerate.
135         * include/Makefile.in: Regenerate.
136
137 2004-02-20  Andrew Cagney  <cagney@redhat.com>
138
139         * config.guess: Update from version 2002-01-10 to 2004-02-16.
140         * config.sub: Update from version 2002-01-02 to 2004-02-16.
141
142 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
143
144         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
145         * aclocal.m4: Rebuild.
146         * configure: Regenerate.
147
148         * acinclude.m4: Move certain code to configure.in.
149         * configure.in: Receive code from acinclude.m4.
150         * aclocal.m4: Rebuild.
151         * configure: Regenerate.
152
153         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
154
155 2004-01-20  Andrew Haley  <aph@redhat.com>
156
157         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
158
159         * configure.in: Comment change.
160
161 2004-01-16  Andrew Haley  <aph@redhat.com>
162
163         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
164         add for ia64; remove for MIPS.
165         * configure: Regnerated.
166
167 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
168
169         * configure.in: Add in AC_PREREQ(2.13)
170
171 2004-01-07  Dave Jones <davej@redhat.com>
172
173         * malloc.c (GC_generic_malloc): Correct initialization typo.
174         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
175
176 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
177
178         * include/private/gcconfig.h: Re-install change of 2003-04-16.
179
180 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
181
182         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
183         _MIPS_SIM_ABI32.
184
185 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
186
187         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
188         unsure comment.
189
190 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
191
192         * configure: Rebuild.
193
194 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
195
196         * configure.in: Remove NO_GETENV definition for win32.
197         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
198         * misc.c (GC_init_inner): Call GC_thr_init for win32.
199           (GC_set_warn_proc): Add assertion.
200         * win32_threads.c: Import 6.3alpha2 version.
201         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
202
203 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
204
205         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
206         2.3/SPARC, there are no micro versions.
207         Treat Solaris 10 and up alike.
208         * configure: Regenerate.
209
210 2003-09-22  Anthony Green  <green@redhat.com>
211
212         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
213         "NOSYS" targets.
214
215 2003-09-20    <green@redhat.com>
216
217         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
218         check for __arm__ or __thumb__.
219
220 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
221
222         * configure: Regenerate.
223
224 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
225             Roger Sayle <roger@eyesopen.com>
226
227         * configure.in: Set INCLUDES to absolute path.
228         Save $INCLUDES in boehm-cflags, too.
229         Set INCLUDES so it's available to config.status.
230         * configure: Regenerate.
231
232 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
233
234         * include/gc.h (GC_CreateThread): Declare with WINAPI
235         attribute.
236         * win32_threads.c (GC_CreateThread): Make definitions consistent
237         with declaration.  Cast &thread_table[i].handle to PHANDLE
238         in call to DuplicateHandle
239         (thread_start): Declare as static.
240
241 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
242
243         * dyn_load.c: Define __private_extern__ to match Apple's system
244         header.
245
246 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
247
248         * os_dep.c: Remove redundancy introduced in last merge.
249
250 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
251
252         Import GC 6.3alpha1.
253         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
254         * ChangeLog: Likewise.
255         * Makefile.am: Likewise.
256         * Makefile.direct: Likewise.
257         * Makefile.dj: Likewise.
258         * allchblk.c: Likewise.
259         * alloc.c: Likewise.
260         * backgraph.c: Likewise.
261         * configure.host: Likewise.
262         * configure.in: Likewise.
263         * dbg_mlc.c: Likewise.
264         * dyn_load.c: Likewise.
265         * finalize.c: Likewise.
266         * gc_cpp.cc: Likewise.
267         * gc_dlopen.c: Likewise.
268         * gcj_mlc.c: Likewise.
269         * if_mach.c: Likewise.
270         * mach_dep.c: Likewise.
271         * malloc.c: Likewise.
272         * mallocx.c: Likewise.
273         * mark.c: Likewise.
274         * mark_rts.c: Likewise.
275         * misc.c: Likewise.
276         * os_dep.c: Likewise.
277         * ptr_chck.c: Likewise.
278         * reclaim.c: Likewise.
279         * solaris_pthreads.c: Likewise.
280         * solaris_threads.c: Likewise.
281         * sparc_mach_dep.S: Likewise.
282         * threadlibs.c: Likewise.
283         * typd_mlc.c: Likewise.
284         * version.h: Likewise.
285         * win32_threads.c: Likewise.
286         * Mac_files/MacOS_Test_config.h: Likewise.
287         * Mac_files/MacOS_config.h: Likewise.
288         * cord/cordbscs.c: Likewise.
289         * cord/cordprnt.c: Likewise.
290         * cord/de_win.c: Likewise.
291         * doc/README: Likewise.
292         * doc/README.MacOSX: Likewise.
293         * doc/README.changes: Likewise.
294         * doc/README.environment: Likewise.
295         * doc/README.ews4800: Likewise.
296         * doc/README.linux: Likewise.
297         * doc/README.macros: Likewise.
298         * doc/README.win32: Likewise.
299         * doc/debugging.html: Likewise.
300         * doc/gcdescr.html: Likewise.
301         * doc/tree.html: Likewise.
302         * include/Makefile.in: Likewise.
303         * include/gc.h: Likewise.
304         * include/gc_cpp.h: Likewise.
305         * include/gc_local_alloc.h: Likewise.
306         * include/gc_mark.h: Likewise.
307         * include/gc_pthread_redirects.h: Likewise.
308         * include/gc_typed.h: Likewise.
309         * include/new_gc_alloc.h: Likewise.
310         * include/private/dbg_mlc.h: Likewise.
311         * include/private/gc_hdrs.h: Likewise.
312         * include/private/gc_locks.h: Likewise.
313         * include/private/gc_pmark.h: Likewise.
314         * include/private/gc_priv.h: Likewise.
315         * include/private/gcconfig.h: Likewise.
316         * include/private/solaris_threads.h: Likewise.
317         * include/private/specific.h: Likewise.
318         * tests/test.c: Likewise.
319         * tests/test_cpp.cc: Likewise.
320
321         * configure: Rebuild.
322         * Makefile.in: Rebuild.
323
324         * mips_sgi_mach_dep.s: Add.
325
326         * alpha_mach_dep.s: Remove.
327         * irix_threads.c: Remove.
328         * linux_threads.c: Remove.
329         * mips_sgi_mach_dep.S: Remove.
330         * missing: Remove.
331         * powerpc_macosx_mach_dep.s: Remove.
332         * doc/Makefile.am: Remove.
333         * doc/Makefile.in: Remove.
334
335 2003-07-25  Roger Sayle  <roger@eyesopen.com>
336
337         * configure.host: Only use +ESdbgasm when using the HPUX native
338         compiler on PA-Risc.  It isn't recognized by GCC and is silently
339         ignored by HP's compilers on ia64.
340
341 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
342
343         * configure.in: define GC_DLL under mingw if --enable-shared
344         * configure: rebuilt
345         * win32_threads.c: add #ifdef GC_DLL around DllMain
346
347 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
348
349         * include/private/gcconfig.h: Add support for arm-netbsdelf.
350
351 2003-04-09  Tom Tromey  <tromey@redhat.com>
352
353         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
354         POWERPC.
355         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
356
357 2003-03-22  Richard Henderson  <rth@redhat.com>
358
359         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
360         (GC_test_and_set): Use __sync_lock_test_and_set.
361         (GC_clear): Use volatile assignment.
362         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
363         (GC_memory_write_barrier): Use __sync_synchronize.
364
365 2003-03-12  Andreas Schwab  <schwab@suse.de>
366
367         * configure.in: Avoid trailing /. in toolexeclibdir.
368         * configure: Rebuilt.
369
370 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
371         * include/private/gcconfig.h (GC_data_start): declare when needed.
372         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
373         declaration.
374         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
375         GC_register_dynlib_callback): Register main data for static
376         executable if dl_iterate_phdr() didn't.
377         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
378         if we don't expect to register main static data.
379
380 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
381         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
382         (GC_push_roots): explicitly mark free list headers, register
383         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
384         * alloc.c (GC_stopped_mark): Conditionally call
385         GC_cond_register_dynamic_libraries().
386         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
387         * dyn_load.c (GC_register_main_static_data): define.
388         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
389         no longer skip main data.
390         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
391         (GC_init_inner): Make main data registration conditional.
392         * include/private/gc_priv.h (GC_register_main_static_data): declare.
393         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
394         for LINUX.
395
396 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
397
398         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
399         config.status.
400         * configure: Rebuilt.
401
402 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
403
404         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
405
406 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
407
408         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
409         Remove USE_LIBDIR conditional.
410         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
411         * Makefile.in, configure: Rebuilt.
412
413 2002-12-31  Tom Tromey  <tromey@redhat.com>
414
415         For PR libgcj/8933:
416         * include/Makefile.in: Rebuilt.
417         * include/Makefile.am (noinst_HEADERS): Renamed from
418         include_HEADERS.
419
420 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
421
422         * ltconfig (osf[345]): Append $major to soname_spec.
423         Reflect this in library_names_spec.
424         * ltmain.sh (osf): Prefix $major with . for use as extension.
425
426 2002-10-02  Andreas Jaeger  <aj@suse.de>
427
428         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
429
430 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
431
432         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
433         check for __arm__ or __thumb__.
434
435 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
436
437         * include/private/gcconfig: Add machine type S390.  Add s390x support.
438         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
439         (GC_compare_and_exchange): Likewise.
440
441 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
442
443         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
444
445 2002-08-23  Adam Megacz <adam@xwt.org>
446
447         * win32_threads.cc: Removed extraneous ABORT()
448
449 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
450
451         * Makefile.am (all-multi): Fix multilib parallel build.
452
453 2002-07-18  Bo Thorsen  <bo@suse.de>
454
455         * include/private/gcconfig.h: Add x86-64 definitions.
456         * os_dep.c: Add x86-64 support.
457         * configure.in: Likewise.
458         * configure: Regenerate.
459
460 2002-07-18  H.J. Lu <hjl@gnu.org>
461
462         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
463
464 2002-07-18  H.J. Lu  (hjl@gnu.org)
465
466         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
467         Linux/mips.
468
469 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
470             Jonathan Clark
471
472         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
473
474 2002-06-09  H.J. Lu  (hjl@gnu.org)
475
476         * include/private/gc_locks.h (GC_test_and_set): Support
477         Linux/mips.
478         (GC_TEST_AND_SET_DEFINED): Likewise.
479
480         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
481         Linux/mips.
482         (DATAEND): Likewise.
483         (LINUX_STACKBOTTOM): Likewise.
484         (STACKBOTTOM): Removed for Linux/mips.
485
486 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
487
488         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
489         (GC_pthread_create): Fix typo.
490         (GC_TRY_LOCK): Likewise.
491         * include/private/gc_locks.h (GC_test_and_set): Only take one
492         one argument.
493         (LOCK): Adjust appropriately.
494         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
495         _SIGRTMIN is unavailable.
496
497 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
498
499         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
500         * aclocal.m4: Regenerate.
501         * configure: Regenerate.
502
503 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
504
505         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
506         script entry, and set LD to it when configuring multilibs.
507         * configure: Rebuilt.
508
509 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
510
511         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
512         (noinst_LTLIBRARIES): Add libgcjgc.la.
513
514         * Makefile.in: Rebuild.
515
516 2002-04-22  David S. Miller  <davem@redhat.com>
517
518         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
519         64-bit SPARC Linux, the __libc_stack_end technique does
520         not work in this case.
521
522 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
523
524         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
525
526 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
527
528         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
529         SPARC Linux.
530
531 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
532
533         * include/private/gcconfig.h (DATAEND): Update comment example
534         to match reality.
535
536 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
537
538         * include/private/gcconfig.h (DATAEND): Clarify comment.
539
540 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
541
542         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
543         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
544         declare.
545         * allchblk.c (GC_allchblk_nth): Change text and support reduced
546         frequency for blacklist warning message.
547         * misc.c (GC_large_alloc_warn_interval,
548         GC_large_alloc_warn_suppressed): define.
549         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
550         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
551         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
552         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
553
554         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
555
556 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
557
558         * include/private/gcconfig.h: Add support for an unmapped
559         memory hole between the end of the initialized data segment
560         and the start of the BSS on FreeBSD/i386.
561
562 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
563
564         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
565         NetBSD/i386.
566
567 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
568
569         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
570         (GC_local_gcj_malloc): Add assertion.
571         (start_mark_threads): Fix abort message.
572         * mark.c (GC_mark_from): Generalize assertion.
573         * reclaim.c (GC_clear_fl_links): New function.
574         (GC_start_reclaim): Must clear some freelist links.
575         * include/private/specific.h, specific.c: Add assertions.
576         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
577         Rearrange tse fields.
578
579 2002-03-27  Richard Henderson  <rth@redhat.com>
580
581         * os_dep.c (GC_init_linux_data_start): Fix references to
582         __data_start and _end.
583
584 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
585
586         * include/private/gcconfig.h: Change all likely references
587         to linker script synthesized symbols to use this idiom:
588         extern int etext[]; etext
589
590 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
591
592         * linux_threads.c (GC_get_nprocs): Close file descriptor.
593
594 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
595
596         * include/private/gcconfig.h: Add unified test for FreeBSD.
597         Support FreeBSD/alpha.
598         * os_dep.c: Do not include <machine/trap.h> unless available.
599         (GC_freebsd_stack_base): Fix types.
600
601 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
602
603         * Makefile.am: Make a convenience library.
604         * Makefile.in: Rebuilt.
605
606 2002-03-15  Anthony Green  <green@redhat.com>
607
608         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
609         * configure.in: Disable use of getenv for win32 targets (some of
610         which have broken implementations).
611         * configure: Rebuilt.
612
613 2002-03-12  Adam Megacz  <adam@xwt.org>
614
615         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
616         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
617         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
618         statically initialized it to TRUE if compiling with GCC.
619         * win32_threads.c (thread_start): We no longer use SEH if
620         compiling with GCC.
621         * mark.c (GC_mark_some): We no longer use SEH if
622         compiling with GCC.
623
624 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
625
626         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
627         support is enabled, for hash synchronization.
628
629 2002-02-24  Adam Megacz  <adam@xwt.org>
630
631         * Makefile.am: Added win32_threads.c to sources list.
632         * win32_threads.c: Added two */'s which I had neglected.
633
634 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
635
636         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
637         * Makefile.in: Rebuilt.
638
639 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
640
641         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
642
643         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
644         preprocessor file.
645         * mips_sgi_mach_dep.S: Likewise.
646         * Makefile.am: Update for above changes.
647         * Makefile.in: Rebuilt.
648
649 2002-02-12  Richard Henderson  <rth@redhat.com>
650
651         * configure.in: Re-apply 2001-06-26 configure change.
652         * configure: Rebuild.
653
654 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
655
656         Imported GC 6.1 Alpha 3.
657
658         * sparc_mach_dep.S: Delete incorrectly named file.
659
660 2001-02-11  Adam Megacz <adam@xwt.org
661
662         * configure.in: support for win32, saner
663         cross-compile options
664
665 2001-02-08  Anthony Green  <green@redhat.com>
666
667         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
668           board embedded targets.
669         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
670           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
671           redundant uses of ECOS.
672         * misc.c: Use NOSYS where ECOS is being used.
673           Don't define GC_write twice for ECOS systems.
674           (GC_write): New function for NOSYS targets.
675
676 2002-02-06  Adam Megacz <adam@xwt.org>
677
678         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
679         now exposed on all Win32 platforms.
680         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
681         compiles on Win32; it invokes CreateThread() if GC is built
682         as a DLL; otherwise it registers the thread.
683         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
684         libgcjgc was not built as a DLL.
685
686 2002-02-01  Adam Megacz <adam@xwt.org>
687
688         * boehm-gc on win32 now automatically detects if it is being built
689         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
690
691 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
692
693         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
694         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
695         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
696         DATASTART and DATAEND roots.
697         * rs6000_mach_dep.s: Add function descriptor and traceback table.
698
699 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
700
701         * dyn_load.c: Define ElfW (if needed) for all targets,
702         not just GNU/Linux.
703         (GC_FirstDLOpenedLinkMap): Use it.
704         (GC_register_dynamic_libraries_dl): Use it.
705         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
706         for sparcv9.
707
708 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
709
710         PR other/3725
711         * configure.in: Add AC_SUBST(target_alias).
712         * configure: Regenerated.
713
714 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
715
716         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
717         case for GC_FREEBSD_THREADS.
718         * configure.in (*-*-freebsd*): Clarify warning.
719         * configure: Rebuilt.
720
721 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
722             Andreas Tobler <toa@pop.agri.ch>
723
724         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
725
726 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
727
728         * linux_threads.c (GC_init_parallel): Do not declare as a static
729         constructor.
730         * include/gc.h (GC_init): Declare here. Add description.
731         * include/private/gc_priv.h (GC_init): Remove declaration.
732
733 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
734
735         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
736         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
737         GC_FREEBSD_THREADS, handle strange interaction between system
738         pthread implementation and boehm-gc signal-handler architecture.
739         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
740         set stack.
741         * include/private/gcconfig.h (configuration keyed off FREEBSD):
742         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
743         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
744
745 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
746
747         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
748         * Makefile.in: Rebuilt.
749
750 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
751
752         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
753         merged local changes.
754
755 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
756
757         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
758         Solaris 2/Intel definition.
759
760         * configure.in (i?86-*-solaris2.[89]*): Define
761         SOLARIS25_PROC_VDB_BUG_FIXED.
762         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
763         * configure: Regenerate.
764
765         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
766         (DATAEND): Define using _end.
767
768 2001-09-11  Per Bothner  <per@bothner.com>
769
770         * include/Makefile.am:  New file.  It defines include_HEADERS.
771         * Makefile.am (SUBDIRS):  New macro, set to include.
772         * configure.in (AC_OUTPUT):  Add include/Makefile.
773
774 2001-08-20  Tom Tromey  <tromey@redhat.com>
775
776         * configure: Rebuilt.
777         * configure.in: Always ask gcc for threads package.
778
779 2001-08-17  Tom Tromey  <tromey@redhat.com>
780
781         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
782         merged local changes.
783
784 2001-08-02  David Billinghurst <David.Billinghurst>
785
786         * configure: Rebuilt.
787         * configure.in:  POSIX threads on cygwin does not link with
788         -lpthreads.
789
790 2001-07-03  Tom Tromey  <tromey@redhat.com>
791
792         Fix for PR bootstrap/3281:
793         * aclocal.m4, configure, Makefile.in: Rebuilt.
794         * acinclude.m4: Set mkinstalldirs for in-tree build.
795
796 2001-06-26  Richard Henderson  <rth@redhat.com>
797
798         * alpha_mach_dep.s: Mark call-saved FP registers.
799         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
800         * configure.in (alpha*): Re-enable alpha_mach_dep.s
801         * configure: Rebuild.
802
803 2001-06-12  Tom Tromey  <tromey@redhat.com>
804
805         * aclocal.m4, configure: Rebuilt.
806         * acinclude.m4: Find configure.host in srcdir.
807
808 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
809
810         * configure.in (AC_EXEEXT): Work around in case it expands to
811         nothing, as in autoconf 2.50.
812         * acinclude.m4: Likewise.
813         * aclocal.m4, configure: Rebuilt.
814
815 2001-06-07  Tom Tromey  <tromey@redhat.com>
816
817         For PR bootstrap/3075:
818         * configure, aclocal.m4, Makefile.in: Rebuilt.
819         * configure.in: Don't call AC_CONFIG_AUX_DIR or
820         AC_CANONICAL_SYSTEM.
821         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
822         AC_CANONICAL_SYSTEM here.
823         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
824         boehm_gc_basedir.
825
826 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
827
828         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
829         (libgcjgc_la_SOURCES): Remove typo.
830         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
831         * Makefile.in: Rebuilt.
832
833 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
834
835         Imported version version 6.0alpha7.
836
837         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
838         README.amiga, README.debugging, README.dj, README.hp, README.linux,
839         README.rs6000, README.sgi, README.solaris2, README.uts,
840         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
841         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
842         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
843         hpux_irix_threads.c, makefile.depend, nursery.c,
844         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
845         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
846         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
847         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
848         files.
849
850 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
851
852         * configure.host: Build with -fexceptions.
853         * linux_threads.c: Remember which thread stopped world for
854
855 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
856             with final tuning by Bryce McKinlay
857
858         * configure.in: Add support for --enable-threads=posix on FreeBSD.
859         * configure: Rebuilt.
860
861 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
862
863         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
864         (GC_noop1): Change declaration to take one argument.
865
866 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
867
868         * configure.in: Obtain THREADS with `gcc -v'.
869         * configure: Rebuilt.
870
871 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
872
873         * misc.c: Back out buggy changes to stack clearing code.
874         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
875         spent clearing memory.
876
877 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
878
879         * finalize.c:
880         - Accomodate finalization requests for static objects.
881           (Will be required by hash synchronization.  May be needed
882           in some configurations now.)
883
884         * gc_priv.h:
885         - Define MIN_WORDS.  All allocation requests are rounded
886           up to at least this size.  Removes a subtle assumption that
887           Java objects have a 2 word header.
888
889         * gcconfig.h:
890         - Adjust Linux/IA64 configuration for non-ancient kernels.
891           (Necessary fix for IA64.)
892
893         * linux_threads.c:
894         - Fix syntax error in currently unused code.  Will be needed
895           for Linux/PA-RISC.
896
897         * malloc.c:
898         - Handle MIN_WORDS.
899
900         * misc.c:
901         - Handle MIN_WORDS.
902         - Change stack cleaning code to typically clear about one tenth
903           the memory it used to in the threads configuration.  Occasionally
904           still clear more.  (This is really a fix for a long-standing
905           and fairly significant performance bug with threads.)
906
907         * os_dep.c:
908         - Fix the code for finding the beginning of the data segment under
909           Linux.  I believe this is necessary for some IA64 Linux
910           distributions.  It will also helo other platforms, though those
911           may additionally require a gcconfig.h adjustment.  (This basically
912           works around the absence of a data_start or __data_start
913           definition in glibc.)
914
915         * test.c:
916         - Handle rounding due to MIN_WORDS.
917
918 2001-03-22  Tom Tromey  <tromey@redhat.com>
919
920         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
921
922 2001-03-19  Tom Tromey  <tromey@redhat.com>
923
924         * Makefile.in: Rebuilt.
925         * Makefile.am (gctest_LDFLAGS): new macro.
926
927 2001-03-16  Tom Tromey  <tromey@redhat.com>
928
929         * Makefile.in: Rebuilt.
930         * Makefile.am (TESTS_ENVIRONMENT): New macro.
931
932 2001-01-23  Rod Stewart <stewart@lab43.org>
933
934         * gcconfig.h: Check for `__arm__', not `arm'.
935
936 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
937
938         * configure.in: Rename THREADLIB to THREADLIBS.
939         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
940         ensures that we link the correct version of the linuxthreads semaphore
941         functions.
942         * Makefile.in: Rebuilt.
943         * configure: Rebuilt.
944
945         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
946         list of signals which are not blocked during suspend in the NO_SIGNALS
947         case.
948
949 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
950
951         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
952
953 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
954
955         * Makefile.dist: Renamed from Makefile.orig.
956
957 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
958
959         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
960         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
961         set accordingly.
962         * Makefile.in: Rebuilt.
963         * configure: Likewise.
964
965 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
966
967         * gcconfig.h: Add new case for powerpc EABI.
968         [PPC]: Handle embedded OS for powerpc simulator.
969
970 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
971
972         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
973         cross-compile configuration only.
974         * Makefile.am: Build gcj_mlc.c.
975         * configure, Makefile.in: Rebuilt.
976
977 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
978
979         * acinclude.m4: Include libtool macros from the top level.
980         * aclocal.m4, configure: Rebuilt.
981
982 2000-09-04  Anthony Green  <green@redhat.com>
983
984         Fix for PR libgcj/230:
985         * mark.c (GC_mark_from_mark_stack): Remove call to
986         GC_debug_object_start.
987         * gc_priv.h (GC_debug_object_start): Remove prototype.
988
989 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
990
991         * gcconfig.h [OSF1] (_end): Declare as `int'.
992
993 2000-08-02  Tom Tromey  <tromey@cygnus.com>
994
995         * gc_priv.h (GC_generic_malloc_inner): Prototype.
996         (GC_generic_malloc): Likewise.
997         (GC_add_to_black_list_normal): Likewise.
998         (GC_find_header): Likewise.
999         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1000         * gc_mark.h (GC_find_start): Prototype.
1001         (GC_signal_mark_stack_overflow): Likewise.
1002
1003 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
1004
1005         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1006         * configure: Rebuilt.
1007
1008         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1009
1010 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
1011
1012         Imported version 5.1.
1013         * acinclude.m4: Push version to 5.1.
1014
1015 2000-06-19  Andrew Haley  <aph@cygnus.com>
1016
1017         * os_dep.c (read): Pass two dummy args to syscall().
1018
1019 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
1020
1021         Imported 5.0 release version.
1022         * acinclude.m4: Increment version to 5.0.
1023
1024 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
1025
1026         Imported version 5.0alpha7.
1027         * acinclude.m4: Update version to 5.0a7.
1028
1029 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
1030
1031         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1032         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1033         - sparc glibc does not provide it.
1034         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1035         Make STACKBOTTOM depend on the wordsize.
1036         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1037         (struct frame): Declare on sparc*-linux*.
1038         (GC_save_callers): Bias the frame pointers if needed (sparc64).
1039         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1040         Implement on sparc64.
1041         (GC_clear_stack_inner): Implement on sparc64.
1042         * gc_priv.h (GC_test_and_set): Implement for sparc.
1043         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1044         GC_save_regs_in_stack on sparc.
1045
1046 2000-04-23  Tom Tromey  <tromey@cygnus.com>
1047
1048         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1049
1050 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
1051
1052         Imported version version 5.0alpha6.
1053         * acinclude.m4: Bump version to 5.0a6.
1054         * configure.in: Don't use alpha_mach_dep.s.
1055         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1056         obsolete files.
1057         * Makefile.am, Makefile.in: irix_threads.c is now
1058         hpux_irix_threads.c.
1059         * Makefile.orig: Updated from gc distribution Makefile.
1060
1061 2000-03-26  Anthony Green  <green@redhat.com>
1062
1063         * misc.c (GC_enable): Always define GC_enable and GC_disable.
1064
1065 2000-02-14  Tom Tromey  <tromey@cygnus.com>
1066
1067         * gc.h (dlopen): Define as GC_dlopen on Linux.
1068         (GC_dlopen): Declare on Linux.
1069         * dyn_load.c (GC_dlopen): Define for Linux.
1070
1071 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
1072
1073         * gcconfig.h (DATASTART): Add missing extern declaration
1074         for data_start on powerpc.
1075
1076 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
1077
1078         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1079         NO_SIGNALS case.
1080
1081 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
1082
1083         * gcconfig.h: Define DATASTART for Alpha Linux.
1084
1085 1999-12-19  Anthony Green  <green@cygnus.com>
1086
1087         * gcconfig.h: Use libgcj hack for Alpha Linux.
1088         Undefine MPROTEXT_VDB (from Jeff Sturm).
1089         * os_dep.c: Remove Alpha Linux hacks.
1090         * misc.c: Ditto.
1091
1092 1999-12-13  Tom Tromey  <tromey@cygnus.com>
1093
1094         * aclocal.m4, configure: Rebuilt.
1095         * acinclude.m4: Changed version to 5.0a4.
1096         * Makefile.in: Rebuilt.
1097         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1098
1099 1999-12-12  Anthony Green  <green@cygnus.com>
1100
1101         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1102         Linux.
1103         (DYNAMIC_LOADING): Define for PowerPC Linux.
1104         * os_dep.c: Remove some special cases for PowerPC Linux.
1105         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1106         for PowerPC Linux.
1107
1108 1999-11-04  Tom Tromey  <tromey@cygnus.com>
1109
1110         * Makefile.in: Rebuilt.
1111         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1112
1113         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1114         (GC_thr_init): Don't declare.
1115
1116         * configure: Rebuilt.
1117         * configure.in: Removed qt threads case.
1118         * dyn_load.c: Don't mention QUICK_THREADS.
1119         * os_dep.c: Don't mention QUICK_THREADS.
1120         * misc.c: Don't mention QUICK_THREADS.
1121         * gcconfig.h: Don't mention QUICK_THREADS.
1122         * gc_priv.h: Removed QUICK_THREADS code.
1123         * quick_threads.c: Removed.
1124
1125 1999-11-03  Tom Tromey  <tromey@cygnus.com>
1126
1127         * gcconfig.h: Merged in local changes from old config.h.
1128
1129 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
1130
1131         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1132
1133 1999-11-02  Tom Tromey  <tromey@cygnus.com>
1134
1135         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1136
1137         * configure: Rebuilt.
1138         * configure.in: Don't create boehm-config.h.
1139         * Makefile.in: Rebuilt.
1140         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1141         config.h.
1142         ($(all_objs)): Depend on gcconfig.h.
1143         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1144         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1145         * config.h: Removed.
1146
1147 1999-11-01  Tom Tromey  <tromey@cygnus.com>
1148
1149         * Makefile.in: Rebuilt.
1150         * Makefile.am (gctest_LDADD): Added THREADLIB.
1151         (TESTS): New macro.
1152         * configure: Rebuilt.
1153         * configure.in (INCLUDES): New subst.
1154
1155 1999-09-29  Steve Chamberlain  <sac@pobox.com>
1156
1157         * config.h: Added picoJava target.
1158         * mach_dep.h (GC_push_regs):  New code for picoJava.
1159
1160 1999-09-28  Tom Tromey  <tromey@cygnus.com>
1161
1162         * aclocal.m4, configure: Rebuilt.
1163         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1164         appropriate AC_PROG_ symbol.
1165
1166 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1167
1168         * gc_priv.h:  IRIX thread changes from
1169         include/private/gc_priv.h.
1170
1171 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1172
1173         * Makefile.in: Rebuilt.
1174         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1175         builds.
1176
1177         * configure: Rebuilt.
1178         * configure.in: Properly align --help output, fix capitalization
1179         and punctuation.
1180         * acinclude.m4: Likewise.
1181
1182 1999-08-04  Tom Tromey  <tromey@cygnus.com>
1183
1184         * configure.in: Added missing `;;'.  From Anthony Green.
1185
1186 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1187
1188         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1189
1190 1999-08-03  Tom Tromey  <tromey@cygnus.com>
1191
1192         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1193         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1194
1195 1999-08-02  Tom Tromey  <tromey@cygnus.com>
1196
1197         * aclocal.m4, configure: Rebuilt for new libtool.
1198
1199 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1200
1201         * mips_sgi_mach_dep.s: Enable PIC option.
1202
1203 1999-07-19  Tom Tromey  <tromey@cygnus.com>
1204
1205         * config.h (MPROTECT_VDB): Don't define on Linux.
1206
1207 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1208
1209         * Makefile.am (.s.lo): Avoid `#line' directives.
1210         * Makefile.in: Rebuilt.
1211
1212 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1213
1214         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1215         generate *-recursive for this Makefile, use *-am instead.
1216         * Makefile.in: Rebuilt.
1217
1218 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
1219
1220         * Makefile.am (.s.lo): Renamed from `.s.o'.
1221         * Makefile.in: Rebuilt.
1222
1223 1999-06-21  Tom Tromey  <tromey@cygnus.com>
1224
1225         Alpha patch from Jeff Sturm:
1226         * os_dep.c (GC_init_linuxalpha): New function.
1227         * misc.c: Initialize for alpha linux.
1228         * gc_priv.h (GC_test_and_set): Define for alpha.
1229         * config.h: Don't assume __data_start on alpha.
1230
1231         * Makefile.in: Rebuilt.
1232         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1233         -release.
1234
1235         * Makefile.in: Rebuilt.
1236         * Makefile.am (toolexeclibdir): Define as libdir when
1237         appropriate.
1238         * configure: Rebuilt.
1239         * configure.in (USE_LIBDIR): New conditional.
1240
1241         * configure: Rebuilt.
1242         * configure.in: Recognize all forms of alpha.
1243
1244 1999-06-17  Anthony Green  <green@cygnus.com>
1245
1246         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1247         Carlo Dapor <carlo@vis.ethz.ch>).
1248
1249 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
1250
1251         * configure.in: Switch from irix threads to posix threads
1252         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1253         for mips architecture.
1254         * configure: Regenerate.
1255
1256 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1257
1258         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1259
1260 1999-04-26  Tom Tromey  <tromey@cygnus.com>
1261
1262         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1263         `weak'.
1264
1265 1999-04-23  Tom Tromey  <tromey@cygnus.com>
1266
1267         * Makefile.in, configure: Rebuilt.
1268         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1269         (libgcjgc_la_SOURCES): Renamed.
1270         (libgcjgc_la_LIBADD): Likewise.
1271         (libgcjgc_la_DEPENDENCIES): Likewise.
1272         (EXTRA_libgcjgc_la_SOURCES): Likewise.
1273         (gctest_LDADD): Use libgcjgc.la.
1274         (all_objs): Mention libgcj_la_OBJECTS.
1275         (EXTRA_LTLIBRARIES): Renamed.
1276         (toollib_LTLIBRARIES): Likewise.
1277         (libgcjgc_la_LDFLAGS): New macro
1278         (toolexecdir): Renamed.
1279         (toolexeclibdir): Likewise.
1280         (toolexeclib_LTLIBRARIES): Likewise.
1281         (LTCOMPILE): Renamed; added libtool invocation.
1282         (LINK): Added libtool invocation.
1283         (.s.o): use LTCOMPILE.
1284         * configure.in: Call AM_PROG_LIBTOOL.
1285         (target_all): Set to libgcjgc.la.
1286         Mention `.lo' forms of object files.
1287
1288 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1289
1290         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1291         GC_stackbottom.
1292
1293         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1294         sigcontext.h.  From Matthias Klose <doko@itso.de>.
1295
1296 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1297
1298         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
1299         David Pettersson <dapet@mai.liu.se>
1300
1301 1999-04-14  Tom Tromey  <tromey@cygnus.com>
1302
1303         * configure: Rebuilt.
1304         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
1305         incorrect patch of 199-04-09.
1306
1307         * configure: Rebuilt.
1308         * configure.in: Added support for alpha.
1309         From David Pettersson <dapet@mai.liu.se>.
1310
1311 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1312
1313         * Makefile.in: Rebuilt.
1314         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1315         solaris-threads.h.
1316
1317 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1318
1319         * configure: Rebuilt.
1320         * configure.in: Use sparc_mach_dep.s when building on Solaris.
1321
1322 1999-02-23  Tom Tromey  <tromey@cygnus.com>
1323
1324         * configure: Rebuilt.
1325         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
1326         SOLARIS_THREADS and _SOLARIS_PTHREADS.
1327
1328 1999-02-18  Tom Tromey  <tromey@cygnus.com>
1329
1330         * quick_threads.c (GC_push_all_stacks): Change order of arguments
1331         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
1332         for case where LO is NULL.
1333
1334 1999-02-10  Tom Tromey  <tromey@cygnus.com>
1335
1336         * aclocal.m4, configure, Makefile.in: Rebuilt.
1337         * acinclude.m4: Updated to be used with automake 1.4.
1338         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
1339         with automake 1.4.
1340         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
1341         (libgcjgc_a_SOURCES): Likewise.
1342         (libgcjgc_a_LIBADD): Likewise.
1343         (libgcjgc_a_DEPENDENCIES): Likewise.
1344         (EXTRA_libgcjgc_a_SOURCES): Likewise.
1345         (gctest_LDADD): Likewise.
1346         (all_objs): Likewise.
1347
1348 1999-01-08  Tom Tromey  <tromey@cygnus.com>
1349
1350         * configure: Rebuilt.
1351         * configure.in: Define LINUX_THREADS if using POSIX threads on
1352         Linux.
1353
1354         * gc_priv.h (GC_test_and_set): Put return type into definition.
1355
1356 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
1357
1358         * Makefile.am: add support for eCos.  In particular, add C++
1359         support for compiling the file ecos.cc.
1360         * ecos.cc: new file.
1361         * acinclude.m4: add C++ support.
1362         * aclocal.m4: likewise
1363         * config.h: add eCos support.
1364         * configure: likewise
1365         * configure.in: likewise
1366         * misc.c (GC_write): add eCos support.
1367         * os_dep.c (tiny_sbrk): add eCos support.
1368
1369 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
1370
1371         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
1372         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
1373
1374 1998-11-23  Tom Tromey  <tromey@cygnus.com>
1375
1376         * configure.host (boehm_gc_cflags): Don't add `-O2'.
1377
1378 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
1379
1380         * Makefile.am, Makefile.in, configure.host: tx39 build option
1381         "-G 0" added.
1382
1383 1998-11-17  Tom Tromey  <tromey@cygnus.com>
1384
1385         * configure: Rebuilt.
1386         * configure.in: Switch on host, not target.
1387
1388 1998-11-16  Tom Tromey  <tromey@cygnus.com>
1389
1390         * gc_priv.h (GC_debug_object_start): Declare.
1391         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
1392         * gc.h (GC_debug_register_finalizer_no_order,
1393         GC_register_finalizer_no_order): Declare.
1394         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
1395         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
1396         (GC_debug_generic_malloc): Likewise.
1397         (GC_debug_object_start): new function.
1398
1399 1998-11-11  Tom Tromey  <tromey@cygnus.com>
1400
1401         * configure: Rebuilt.
1402         * configure.in: Recognize --enable-java-gc, not --enable-gc.
1403
1404 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1405
1406         * dyn_load.c: Handle QUICK_THREADS case.
1407
1408 1998-10-21  Tom Tromey  <tromey@cygnus.com>
1409
1410         * configure: Rebuilt.
1411         * configure.in: Put cpp defines here, not in config.h.  Recognize
1412         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
1413         define PACKAGE or VERSION.
1414         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
1415         Don't define.
1416
1417         * os_dep.c (GC_default_push_other_roots): Define when
1418         QUICK_THREADS defined.
1419         * misc.c: Added QUICK_THREADS case.
1420         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
1421         * config.h (THREADS): Define if QUICK_THREADS defined.
1422         * Makefile.in: Rebuilt.
1423         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
1424         quick_threads.c.
1425         * quick_threads.c: New file.
1426
1427 1998-10-20  Tom Tromey  <tromey@cygnus.com>
1428
1429         * aclocal.m4, configure: Rebuilt.
1430         * acinclude.m4: Don't subst machine_dir or sys_dir.
1431         * configure.host: Removed unused code.
1432
1433 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
1434
1435         * configure: Rebuilt.
1436         * configure.in: Fix typo in previous patch.
1437
1438 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
1439
1440         * Makefile.in, aclocal.m4, configure: Rebuilt.
1441         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
1442         * configure.host: Created.
1443
1444 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
1445
1446         * Makefile.in: Rebuilt.
1447         * Makefile.am (lib_LIBRARIES): Use target_all.
1448         (EXTRA_LIBRARIES): New macro.
1449         * configure: Rebuilt.
1450         * configure.in: Recognize --enable-gc.
1451
1452 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
1453
1454         * Makefile.in: Rebuilt.
1455         * Makefile.am (COMPILE): Define.
1456         (LINK): Likewise.
1457         (.s.o): Use MY_CFLAGS.
1458         * configure: Rebuilt.
1459         * configure.in (MY_CFLAGS): Define and subst.
1460
1461 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
1462
1463         * configure: Rebuilt.
1464         * configure.in: Added --with-cross-host argument.  Use
1465         $with_cross_host to determine when cross-compiling.
1466
1467         * config.h (SMALL_CONFIG): Don't define.
1468         * configure: Rebuilt.
1469         * configure.in: Define SMALL_CONFIG when cross-compiling.
1470
1471 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
1472
1473         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1474         allchblk.c: Merged with 4.13a2 while preserving local changes.
1475
1476         * Makefile.orig: Updated from Makefile in 4.13a2.
1477
1478         * configure: Rebuilt.
1479         * configure.in: Updated version number to 4.13a2.  On Solaris,
1480         don't build with -O when using gcc.
1481
1482         Merged in version 4.13alpha2:
1483         * config.h (USE_MMAP): Re-enable on Solaris.
1484         * solaris_pthreads.c: Removed RCS Id line.
1485         * alpha_mach_dep.s: Removed RCS Id line.
1486
1487 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
1488
1489         * config.h (USE_MMAP): Don't define for Solaris.
1490
1491 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
1492
1493         * Makefile.in: Rebuilt.
1494         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1495
1496         * Makefile.in: Rebuilt.
1497         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1498
1499 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
1500
1501         * Makefile.in: Rebuilt.
1502         * Makefile.am ($(all_objs)): Depend on config.h.
1503
1504         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1505         DATASTART as &_etext.
1506         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1507         * configure: Rebuilt.
1508         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1509         tx39.
1510
1511 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
1512
1513         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1514         (GC_maybe_gc): Likewise.
1515         * os_dep.c: If NO_SIGSET defined, then have empty
1516         GC_disable_signals and GC_enable_signals.
1517         * configure: Rebuilt.
1518         * configure.in: Added --with-target-subdir option.  If
1519         cross-compiling, define NO_SIGSET and NO_CLOCK.
1520
1521 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
1522
1523         * Makefile.in: Rebuilt.
1524         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1525         (AS): Removed.
1526         * aclocal.m4, configure: Rebuilt.
1527         * acinclude.m4: New file.
1528         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
1529
1530 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
1531
1532         * configure: Rebuilt.
1533         * configure.in: Link boehm-config.h to config.h.
1534         * Makefile.in: Rebuilt.
1535         * Makefile.am (INCLUDES): Removed.
1536         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1537         JAVA_FINALIZATION): Define
1538
1539 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
1540
1541         * Many files: Use GC_bool, not bool.
1542         * gc_priv.h: Define GC_bool, not bool.
1543
1544         * misc.c (GC_dont_gc): Define as int.
1545         (GC_quiet): Likewise.
1546         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1547         * alloc.c (GC_dont_expand): Define as int.
1548         * gc_priv.h: For gcc, define bool as char.
1549
1550 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
1551
1552         * Makefile.in: Rebuilt.
1553         * Makefile.am (check_PROGRAMS): New macro.
1554         (gctest_SOURCES): Likewise.
1555         (gctest_LDADD): Likewise.
1556
1557 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
1558
1559         * Makefile.in: Rebuilt.
1560         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1561         * configure: Rebuilt.
1562         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1563
1564 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1565
1566         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1567         New files.
1568         * Makefile.orig: Renamed from Makefile.