OSDN Git Service

60eac094906eddad6d028ad3388dfd97b4b17749
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
1 2007-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2
3         PR boehm-gc/33442
4         * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
5         up, return stack_addr instead of stack_addr - stack_size.
6
7 2007-08-14  David Daney  <ddaney@avtrex.com>
8
9         * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
10
11 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12
13         * aclocal.m4: Regenerated.
14
15 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16
17         PR boehm-gc/21940
18         PR boehm-gc/21942
19         * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
20         Use alternate thread library in /usr/lib/lwp.
21         * configure: Regenerate.
22         * dyn_load.c: Use GC_SOLARIS_PTHREADS.
23         * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
24         * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
25         (GC_SOLARIS_THREADS): Don't define.
26         * include/private/solaris_threads.h: Remove.
27         * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
28         GC_nprocs via sysconf().
29         * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
30         solaris_threads.c.
31         (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
32         * Makefile.in: Regenerate.       
33         * solaris_pthreads.c: Remove.
34         * solaris_threads.c: Remove.
35
36 2007-06-22  Jakub Jelinek  <jakub@redhat.com>
37
38         * pthread_support.c (GC_get_thread_stack_base): Handle
39         pthread_getattr_np failures.
40
41 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
42
43         * configure: Regenerate.
44
45 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
46
47         * Makefile.in: Regenerate.
48         * configure: Regenerate.
49         * aclocal.m4: Regenerate.
50         * include/Makefile.in: Regenerate.
51
52 2007-05-20  Andreas Tobler  <a.tobler@schweiz.org>
53
54         * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
55         * configure: Regenerate.
56         * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
57         * Makefile.in: Regenerate.
58         * include/Makefile.in: Regenerate.
59         * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
60         targets. Remove comments. Prepare ppc64 support for Darwin.
61
62 2007-04-23  Keith Seitz  <keiths@redhat.com>
63
64         * include/gc.h (GC_is_thread_suspended): Declare.
65         * pthread_stop_world.c (GC_is_thread_suspended): New function.
66
67 2007-04-03  Jakub Jelinek  <jakub@redhat.com>
68
69         * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
70         * configure: Rebuilt.
71
72 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
73
74         * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
75         (GC_register_finalizer_unreachable): Declare.
76         (GC_debug_register_finalizer_unreachable): Declare.
77         * finalize.c (GC_unreachable_finalize_mark_proc): New.
78         (GC_register_finalizer_unreachable): New.
79         (GC_finalize): Handle it.
80         * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
81         (GC_debug_register_finalizer_no_order): Fix whitespace.
82
83 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
84
85         * Makefile.am: Add dummy install-pdf target.
86         * Makefile.in: Regenerate
87
88 2007-02-05  Roman Zippel <zippel@linux-m68k.org>
89
90         * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
91         it works with Linux 2.6, reactivate MPROTECT_VDB
92         * boehm-gc/pthread_stop_world.c: save all register
93         on signal entry
94
95 2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
96
97         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
98         added defines to include/private/gc_priv.h
99         (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
100         * darwin_stop_world.c: Removed the above defines.
101         * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
102         and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
103
104 2007-01-17  David Daney  <ddaney@avtrex.com>
105
106         * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
107         cross-compiling.
108         * configure: Regenerated.
109         * include/gc_config.h.in: Regenerated.
110
111 2007-01-17  Mike Stump  <mrs@apple.com>
112
113         * os_dep.c: Fix i686-apple-darwin9 builds.
114
115 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
116
117         * aclocal.m4: Regenerate to use multi.m4.
118         * configure: Regenerate.
119         * Makefile.in: Regenerate.
120
121 2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
122
123         * include/gc_config.h.in: Regenerate.
124
125 2007-01-16  Petr Salinger  <Petr.Salinger@seznam.cz>
126
127         * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
128          GNU/kFreeBSD.
129         * os_dep.c: Likewise.
130
131 2007-01-15  Andreas Tobler  <a.tobler@schweiz.org>
132
133         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
134         reference.
135         (catch_exception_raise): Fix typo in the I386 exc_state.
136
137 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
138
139         * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
140         HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
141         * configure: Regenerated.
142         * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
143         Added base definitions for the X86_64 Darwin port.
144         * include/private/gc_priv.h: Added definitions for Darwin MACH thread
145         operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
146         * darwin_stop_world.c: Removed THREAD_STATE info. Added
147         HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
148         with HAS_X86_THREAD_STATE32___EAX.
149         (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
150         X86_64 Darwin.
151         * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
152         (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
153         Distinguish between getsectbynamefromheader_64 and
154         getsectbynamefromheader.
155         (GC_dyld_image_remove): Likewise.
156         * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
157         (catch_exception_raise): Introduce exception information for I386 and
158         X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
159
160 2006-12-08  Mike Stump  <mrs@apple.com>
161
162         * configure.ac: Fix x86 darwin builds.
163         * darwin_stop_world.c: Likewise.
164         * include/private/gcconfig.h: Likewise.
165         * connfigure: Regenerate.
166         
167 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
168
169         PR target/29180
170         * darwin_stop_world.c: Make stack_start unsigned long.
171
172 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
173
174         * os_dep.c: Port to Darwin/i386
175         * darwin_stop_world.c: Likewise
176         * include/private/gcconfig.h: Likewise
177         
178 2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>
179
180         * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
181         for gc 6.8.
182         * dyn_load.c: Likewise.
183         * include/gc.h: Likewise.
184         * private/gcconfig.h: Likewise.
185         * configure: Regenerate.
186         * include/gc_config.h.in: Regenerate.
187
188 2006-09-14  Tom Tromey  <tromey@redhat.com>
189
190         PR boehm-gc/29068.
191         * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
192         Solaris.
193
194 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
195         
196         PR libgcj/13212:
197         * configure.ac: Check for pthread_getattr_np(). Remove
198         GC_PTHREAD_SYM_VERSION detection.
199         * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
200         GC_get_thread_stack_base): New declarations.
201         * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
202         GC_get_thread_stack_base): New functions.
203         (GC_delete_thread): Don't try to free the first_thread.
204         * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
205         (pthread_create_, constr): Removed.
206         (pthread_create): Don't rename.
207         * include/gc_ext_config.h.in: Rebuilt.
208         * include/gc_pthread_redirects.h (pthread_create): Define 
209         unconditionally.
210         * include/gc_config.h.in: Rebuilt.
211         * configure: Rebuilt.
212
213 2006-06-21  Keith Seitz  <keiths@redhat.com>
214
215         * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
216         routine if signal is received and thread is flagged SUSPENDED.
217         (suspend_self): New function.
218         (GC_suspend_thread): New function.
219         (GC_resume_thread): New function.
220         * include/gc.h (GC_suspend_thread): Declare.
221         (GC_resumet_thread): Declare.
222         * include/private/pthread_support.h (SUSPENDED): New GC_thread
223         flag.
224
225 2006-06-20  Ranjit Mathew  <rmathew@gcc.gnu.org>
226         
227         Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
228         * os_dep.c (GC_wnt): Define.
229         (GC_init_win32): Set GC_wnt.
230         * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
231         sections also on Windows 9x/ME.
232
233 2006-06-02  Geoffrey Keating  <geoffk@apple.com>
234
235         * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
236         HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
237         HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
238         HAS_I386_THREAD_STATE___EAX.
239         * configure: Regenerate.
240         * include/gc_config.h.in: Regenerate.
241         * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
242         macro names to determine value.
243         (THREAD_STATE): New.
244         (THREAD_FLD): New.
245         (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
246
247 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
248
249         * Makefile.am: Add install-html target. 
250         * Makefile.in: Regenerate.
251         * aclocal.m4: Regenerate.
252         * include/Makefile.in: Regenerate.
253
254 2006-03-07  Andrew Haley  <aph@redhat.com>
255
256         * dyn_load.c (GC_has_static_roots): Declare.
257         (GC_register_dynlib_callback): Call GC_has_static_roots.
258
259 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
260
261         * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
262         GC_start_world): Call vm_deallocate to free act_list. Fix from
263         Bruce Mitchener.
264
265 2006-03-24  Andreas Tobler  <a.tobler@schweiz.ch>
266         John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
267
268         * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
269         Warn about POSIX threads not being supported for *-*-hpux10*.
270         * configure: Regenerate.
271
272 2006-02-09  Tom Tromey  <tromey@redhat.com>
273
274         * pthread_support.c: Conditionally include dlfcn.h.
275
276 2006-02-06  Jakub Jelinek  <jakub@redhat.com>
277             Anthony Green  <green@redhat.com>
278             Tom Tromey  <tromey@redhat.com>
279
280         * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
281         * include/gc_config.h.in: Rebuilt.
282         * include/gc_pthread_redirects.h (pthread_create): Conditionally
283         define.
284         * pthread_support.c (pthread_create_): New global.
285         (constr): New function.
286         (pthread_create): Conditionally renamed.
287         * configure: Rebuilt.
288         * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
289
290 2006-02-04  Alan Modra  <amodra@bigpond.net.au>
291
292         * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
293         use broken 64-bit version.
294
295 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
296
297         * darwin_stop_world.c: Change inline asm instruction to ld as ldz
298         is wrong.
299
300         * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
301         * Makefile.in: Regenerate.
302
303 2006-01-25  Bryce McKinlay  <mckinlay@redhat.com>
304
305         * include/private/gcconfig.h: Revert to GC 6.6 version, removing
306         all local changes.
307
308 2006-01-24  Bryce McKinlay  <mckinlay@redhat.com>
309
310         Import Boehm GC version 6.6.
311
312 2006-01-24  David Ayers  <d.ayers@inode.at>
313
314         PR libobjc/13946
315         * include/gc.h: Fix prototype declarations for bootstrap.
316
317 2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
318
319         * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
320
321 2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
322
323         * include/private/gc_locks.h (GC_test_and_set): Change the
324         constraint of the first operand to '0'.
325
326 2005-09-06  Tom Tromey  <tromey@redhat.com>
327
328         PR libgcj/23662:
329         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
330         HEURISTIC1 on ARM.
331
332 2005-07-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
333
334         * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
335
336 2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>
337
338         * os_dep.c: Add FreeBSD/PowerPC bits.
339         (GC_SysVGetDataStart): Likewise.
340         * include/private/gcconfig.h: Likewise.
341
342 2005-05-25  Andrew Haley  <aph@redhat.com>
343
344         * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
345         powerpc64-linux.
346
347 2005-05-09  Mike Stump  <mrs@apple.com>
348
349         * configure: Regenerate.
350
351 2005-04-19  Hans-Peter Nilsson  <hp@axis.com>
352
353         * os_dep.c, include/private/gc_locks.h: Import CRIS port by
354         Simon Posnjak from gc6.4.
355         * include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.
356
357 2005-04-17  David S. Miller  <davem@davemloft.net>
358
359         * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
360         * os_dep.c (GC_linux_stack_base): Check for bug present in some
361         Sparc glibc variants where __libc_stack_end is erroneously set
362         to "1".  Fallback to procfs code in that case.
363
364 2005-04-12  Mike Stump  <mrs@apple.com>
365
366         * configure: Regenerate.
367
368 2005-04-12  Richard Henderson  <rth@redhat.com>
369
370         * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
371
372 2005-03-23  Mike Stump  <mrs@apple.com>
373
374         * darwin_stop_world.c: Update for -m64 multilib.
375         * include/private/gcconfig.h: Likewise.
376         * powerpc_darwin_mach_dep.s: Likewise.
377
378 2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>
379
380         * Makefile.in, include/Makefile.in: Regenerate.
381
382 2005-02-26  Richard Earnshaw  <rearnsha@arm.com>
383
384         * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
385         ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
386
387 2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>
388
389         PR libgcj/19823
390         * configure.host: Set gc_use_mmap on *-linux*.
391         * configure.ac: Define USE_MMAP if gc_use_mmap is set.
392         * include/private/gc_priv.h: Include gc_config.h.
393         * configure, include/gc_config.h.in: Rebuilt.
394
395 2005-02-07  Hans Boehm  <Hans.Boehm@hp.com>
396
397         * allchblk.c (GC_allochblk_nth): Dont overlook available space if
398           GC disabled, correctly convert GC_finalizer_mem_freed to byte,
399           total_size to words.
400         * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
401           MEM_IMAGE regions.
402         * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
403           and indent appropriately.
404         * mark_rts.c (GC_approx_sp): Access stack.
405         * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
406           callee-saves registers when appropriate.
407           (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
408
409 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
410
411         * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h 
412         and include/gc_ext_config.h.
413         * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
414         * include/gc.h: Undef PACKAGE_* before including gc_config.h.
415
416 2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>
417
418         * configure: Regenerate.
419
420 2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>
421
422         PR libgcj/18699
423         Revert patches of 2004-11-26 and 2004-11-27.
424
425 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
426
427         * configure: Regenerate for libtool change.
428
429 2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
430
431         * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
432
433 2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>
434
435         Fix "PACKAGE_NAME redefined" errors.
436         * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h 
437         and include/gc_config.h.
438         * configure: Regenerated.
439         * include/gc_config.h.in: No longer auto-generated. Define only the
440         macros needed by libjava.
441         * include/config.h.in: Generated by autoheader.
442         * include/gc.h: Include config.h, not gc_config.h.
443
444 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
445
446         * configure: Regenerate for libtool reversion.
447
448 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
449
450         * configure: Regenerate for libtool change.
451
452 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
453
454         * configure.ac (machdep): Use sparc_mach_dep.lo on
455         sparc64-sun-solaris2.* too.
456         (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
457         * configure: Regenerate.
458
459 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
460
461         PR target/18444
462         * configure.ac (threading): Accept 'posix95'.
463         * configure: Regenerate.
464
465 2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>
466
467         * Makefile.am: Define ACLOCAL_AMFLAGS.
468         * configure.ac: Remove redundant sinclude.
469         * acinclude.m4: Delete file.
470         * aclocal.m4: Regenerate.
471         * Makefile.in, include/Makefile.in: Regenerate.
472         * configure: Regenerate.
473
474 2004-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
475
476         * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
477         Add prototype.
478
479 2004-10-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
480
481         * include/private/gcconfig.h: Add m32r-linux target.
482
483 2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>
484
485         * configure.ac: Update all AC_DEFINEs to newer style.
486         * configure: Regenerate.
487         * include/gc_config.h.in: Regenerate.
488
489 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
490
491         * backgraph.c, gc_priv.h (GC_traverse_back_graph,
492         GC_print_back_graph_stats): split GC_traverse_back_graph.
493         * backgraph.c: Dynamically grow in_progress_space.
494         * finalize.c (GC_notify_or_invoke_finalizers): also call
495         GC_print_back_graph_stats.
496         * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
497         GC_print_back_height): Move delarations to header file.
498         * configure.ac: rename --enable-full-debug to --enable-gc-debug.
499         * configure: Regenerate.
500         
501 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
502
503         * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
504         * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
505
506 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
507
508         * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
509         Reported by Danny Smith.
510
511 2004-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
512
513         * misc.c (GC_init): Replace lhs cast with rhs cast.
514
515 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
516
517         * specific.c: Check GC_LINUX_THREADS before including 
518         private/specific.h. From Richard Earnshaw.
519
520 2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
521
522         * aclocal.m4: Remove obsolete construct for old automake.
523         * acinclude.m4: Regenerate with aclocal 1.9.1.
524         * configure.ac:  Remove duplicate AC_WITH calls.  Replace
525         AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
526         Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
527         Remove now-redundant subst of target_noncanonical.  Remove
528         now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
529         AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
530         Use slightly more modern form of AC_INIT.
531         * configure: Rebuild with autoconf 2.59.
532         * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
533
534 2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
535
536         * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
537         since they're not known at this time.
538         * solaris_pthreads.c: Likewise.
539
540 2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
541
542         PR target/14931
543         * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
544
545 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
546
547         * configure.ac (gc_cflags): Add -Iinclude.
548         (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
549         Don't write DEFS to boehm-cflags file.
550         * configure: Rebuilt.
551         * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
552         * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
553         * include/gc_config_macros.h: Remove backward-compatibility 
554         redefinitions of GC_ names.
555         * include/gc.h: Include <gc_config.h>.
556
557 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
558
559         Import Boehm GC version 6.3.
560
561 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
562
563         * include/Makefile.in: Regenerate
564
565 2004-07-06  Andrew Pinski  <apinski@apple.com>
566
567         * os-dep.c (GC_task_self): Declare as static
568         and remove the second declaration.
569
570 2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
571
572         * Makefile.am: Add rule for .S files to fix bootstrap on
573         solaris and alpha.
574         * Makefile.in: Regenerate.
575
576 2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
577
578         * boehm-gc/configure.ac: New name of configure.in.
579         Remove useless multilib stuff.  Change uses of
580         INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
581         * boehm-gc/configure.in: New name of configure.in.
582         * boehm-gc/Makefile.am: Update for automake 1.8.5.
583         * boehm-gc/acinclude.m4: Include ../config/acx.m4.
584         * boehm-gc/aclocal.m4: Regenerate.
585         * boehm-gc/configure: Regenerate.
586         * boehm-gc/Makefile.in: Regenerate.
587
588 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
589
590         * .cvsignore: New file.
591
592 2004-04-25  Andreas Jaeger  <aj@suse.de>
593
594         * mark.c (GC_mark_from): Use pointer as prefetch argument.
595
596 2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
597
598         * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
599         for gcc >= 3.0.
600         (PREFETCH_FOR_WRITE): Likewise.
601
602 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
603
604         * configure.ac: Bump AC_PREREQ to 2.59.
605         * configure: Regenerate.
606         * config.in: Regenerate.
607
608 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
609
610         * ltconfig, ltmain.sh: Remove unused files.
611         * configure.in: Remove bogus extra early invocation of
612         AC_CONFIG_AUX_DIR.
613         * configure: Regenerate.
614         * mkinstalldirs, install-sh, config.sub, config.guess:
615         Remove (now) unused files.
616         * Makefile.in: Regenerate (losing references to vanished
617         files).
618
619         * configure.in: Add CCAS, CCASFLAGS for future automakes.
620         * configure, Makefile.in, include/Makefile.in: Regenerate.
621
622         * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
623         * Makefile.in: Regenerate.
624
625         * configure.in: Remove bogus duplicate invocation of
626         AM_MAINTAINER_MODE.  Remove obsolete comment.
627         * configure: Regenerate.
628
629         * acinclude.m4: Remove GC_CONFIGURE macro; move contents
630         to configure.in.
631         * aclocal.m4: Regenerate.
632         * configure.in: Receive contents of GC_CONFIGURE macro.
633         * configure: Regenerate.
634
635         * configure.in: Remove more obsolete, bogus code.
636         * configure: Regenerate.
637
638         * acinclude.m4: Remove obsolete and bogus constructs.
639         * aclocal.m4: Regenerate.
640         * configure: Regnerate.
641
642 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
643
644         * acinclude.m4: De-precious CC and CXX so that the right flags
645         are passed down to multilibs.
646         * aclocal.m4: Regenerate.
647         * configure: Regenerate.
648
649 2004-02-22  Zack Weinberg <zack@codesourcery.com>
650             Nathanael Nerode <neroden@twcny.rr.com>
651             Alexandre Oliva <aoliva@redhat.com>
652
653         * config.sub, config.guess: Replace with forwarding scripts
654         which invoke the master copies in the top level.
655
656 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
657
658         * acinclude.m4: Remove old no-executables workaround;
659         add new no-executables workaround.
660         * aclocal.m4: Regenerate.
661         * configure.in: Change prereqs to autoconf 2.57.
662         * configure: Regenerate with autoconf 2.57.
663
664         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
665         * configure: Regenerate.
666         * Makefile.am: Use target_noncanonical variable from configure.
667         * Makefile.in: Regenerate.
668         * include/Makefile.in: Regenerate.
669
670 2004-02-20  Andrew Cagney  <cagney@redhat.com>
671
672         * config.guess: Update from version 2002-01-10 to 2004-02-16.
673         * config.sub: Update from version 2002-01-02 to 2004-02-16.
674
675 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
676
677         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
678         * aclocal.m4: Rebuild.
679         * configure: Regenerate.
680
681         * acinclude.m4: Move certain code to configure.in.
682         * configure.in: Receive code from acinclude.m4.
683         * aclocal.m4: Rebuild.
684         * configure: Regenerate.
685
686         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
687
688 2004-01-20  Andrew Haley  <aph@redhat.com>
689
690         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
691
692         * configure.in: Comment change.
693
694 2004-01-16  Andrew Haley  <aph@redhat.com>
695
696         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
697         add for ia64; remove for MIPS.
698         * configure: Regnerated.
699
700 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
701
702         * configure.in: Add in AC_PREREQ(2.13)
703
704 2004-01-07  Dave Jones <davej@redhat.com>
705
706         * malloc.c (GC_generic_malloc): Correct initialization typo.
707         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
708
709 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
710
711         * include/private/gcconfig.h: Re-install change of 2003-04-16.
712
713 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
714
715         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
716         _MIPS_SIM_ABI32.
717
718 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
719
720         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
721         unsure comment.
722
723 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
724
725         * configure: Rebuild.
726
727 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
728
729         * configure.in: Remove NO_GETENV definition for win32.
730         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
731         * misc.c (GC_init_inner): Call GC_thr_init for win32.
732           (GC_set_warn_proc): Add assertion.
733         * win32_threads.c: Import 6.3alpha2 version.
734         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
735
736 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
737
738         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
739         2.3/SPARC, there are no micro versions.
740         Treat Solaris 10 and up alike.
741         * configure: Regenerate.
742
743 2003-09-22  Anthony Green  <green@redhat.com>
744
745         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
746         "NOSYS" targets.
747
748 2003-09-20    <green@redhat.com>
749
750         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
751         check for __arm__ or __thumb__.
752
753 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
754
755         * configure: Regenerate.
756
757 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
758             Roger Sayle <roger@eyesopen.com>
759
760         * configure.in: Set INCLUDES to absolute path.
761         Save $INCLUDES in boehm-cflags, too.
762         Set INCLUDES so it's available to config.status.
763         * configure: Regenerate.
764
765 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
766
767         * include/gc.h (GC_CreateThread): Declare with WINAPI
768         attribute.
769         * win32_threads.c (GC_CreateThread): Make definitions consistent
770         with declaration.  Cast &thread_table[i].handle to PHANDLE
771         in call to DuplicateHandle
772         (thread_start): Declare as static.
773
774 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
775
776         * dyn_load.c: Define __private_extern__ to match Apple's system
777         header.
778
779 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
780
781         * os_dep.c: Remove redundancy introduced in last merge.
782
783 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
784
785         Import GC 6.3alpha1.
786         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
787         * ChangeLog: Likewise.
788         * Makefile.am: Likewise.
789         * Makefile.direct: Likewise.
790         * Makefile.dj: Likewise.
791         * allchblk.c: Likewise.
792         * alloc.c: Likewise.
793         * backgraph.c: Likewise.
794         * configure.host: Likewise.
795         * configure.in: Likewise.
796         * dbg_mlc.c: Likewise.
797         * dyn_load.c: Likewise.
798         * finalize.c: Likewise.
799         * gc_cpp.cc: Likewise.
800         * gc_dlopen.c: Likewise.
801         * gcj_mlc.c: Likewise.
802         * if_mach.c: Likewise.
803         * mach_dep.c: Likewise.
804         * malloc.c: Likewise.
805         * mallocx.c: Likewise.
806         * mark.c: Likewise.
807         * mark_rts.c: Likewise.
808         * misc.c: Likewise.
809         * os_dep.c: Likewise.
810         * ptr_chck.c: Likewise.
811         * reclaim.c: Likewise.
812         * solaris_pthreads.c: Likewise.
813         * solaris_threads.c: Likewise.
814         * sparc_mach_dep.S: Likewise.
815         * threadlibs.c: Likewise.
816         * typd_mlc.c: Likewise.
817         * version.h: Likewise.
818         * win32_threads.c: Likewise.
819         * Mac_files/MacOS_Test_config.h: Likewise.
820         * Mac_files/MacOS_config.h: Likewise.
821         * cord/cordbscs.c: Likewise.
822         * cord/cordprnt.c: Likewise.
823         * cord/de_win.c: Likewise.
824         * doc/README: Likewise.
825         * doc/README.MacOSX: Likewise.
826         * doc/README.changes: Likewise.
827         * doc/README.environment: Likewise.
828         * doc/README.ews4800: Likewise.
829         * doc/README.linux: Likewise.
830         * doc/README.macros: Likewise.
831         * doc/README.win32: Likewise.
832         * doc/debugging.html: Likewise.
833         * doc/gcdescr.html: Likewise.
834         * doc/tree.html: Likewise.
835         * include/Makefile.in: Likewise.
836         * include/gc.h: Likewise.
837         * include/gc_cpp.h: Likewise.
838         * include/gc_local_alloc.h: Likewise.
839         * include/gc_mark.h: Likewise.
840         * include/gc_pthread_redirects.h: Likewise.
841         * include/gc_typed.h: Likewise.
842         * include/new_gc_alloc.h: Likewise.
843         * include/private/dbg_mlc.h: Likewise.
844         * include/private/gc_hdrs.h: Likewise.
845         * include/private/gc_locks.h: Likewise.
846         * include/private/gc_pmark.h: Likewise.
847         * include/private/gc_priv.h: Likewise.
848         * include/private/gcconfig.h: Likewise.
849         * include/private/solaris_threads.h: Likewise.
850         * include/private/specific.h: Likewise.
851         * tests/test.c: Likewise.
852         * tests/test_cpp.cc: Likewise.
853
854         * configure: Rebuild.
855         * Makefile.in: Rebuild.
856
857         * mips_sgi_mach_dep.s: Add.
858
859         * alpha_mach_dep.s: Remove.
860         * irix_threads.c: Remove.
861         * linux_threads.c: Remove.
862         * mips_sgi_mach_dep.S: Remove.
863         * missing: Remove.
864         * powerpc_macosx_mach_dep.s: Remove.
865         * doc/Makefile.am: Remove.
866         * doc/Makefile.in: Remove.
867
868 2003-07-25  Roger Sayle  <roger@eyesopen.com>
869
870         * configure.host: Only use +ESdbgasm when using the HPUX native
871         compiler on PA-Risc.  It isn't recognized by GCC and is silently
872         ignored by HP's compilers on ia64.
873
874 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
875
876         * configure.in: define GC_DLL under mingw if --enable-shared
877         * configure: rebuilt
878         * win32_threads.c: add #ifdef GC_DLL around DllMain
879
880 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
881
882         * include/private/gcconfig.h: Add support for arm-netbsdelf.
883
884 2003-04-09  Tom Tromey  <tromey@redhat.com>
885
886         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
887         POWERPC.
888         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
889
890 2003-03-22  Richard Henderson  <rth@redhat.com>
891
892         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
893         (GC_test_and_set): Use __sync_lock_test_and_set.
894         (GC_clear): Use volatile assignment.
895         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
896         (GC_memory_write_barrier): Use __sync_synchronize.
897
898 2003-03-12  Andreas Schwab  <schwab@suse.de>
899
900         * configure.in: Avoid trailing /. in toolexeclibdir.
901         * configure: Rebuilt.
902
903 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
904         * include/private/gcconfig.h (GC_data_start): declare when needed.
905         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
906         declaration.
907         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
908         GC_register_dynlib_callback): Register main data for static
909         executable if dl_iterate_phdr() didn't.
910         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
911         if we don't expect to register main static data.
912
913 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
914         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
915         (GC_push_roots): explicitly mark free list headers, register
916         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
917         * alloc.c (GC_stopped_mark): Conditionally call
918         GC_cond_register_dynamic_libraries().
919         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
920         * dyn_load.c (GC_register_main_static_data): define.
921         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
922         no longer skip main data.
923         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
924         (GC_init_inner): Make main data registration conditional.
925         * include/private/gc_priv.h (GC_register_main_static_data): declare.
926         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
927         for LINUX.
928
929 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
930
931         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
932         config.status.
933         * configure: Rebuilt.
934
935 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
936
937         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
938
939 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
940
941         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
942         Remove USE_LIBDIR conditional.
943         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
944         * Makefile.in, configure: Rebuilt.
945
946 2002-12-31  Tom Tromey  <tromey@redhat.com>
947
948         For PR libgcj/8933:
949         * include/Makefile.in: Rebuilt.
950         * include/Makefile.am (noinst_HEADERS): Renamed from
951         include_HEADERS.
952
953 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
954
955         * ltconfig (osf[345]): Append $major to soname_spec.
956         Reflect this in library_names_spec.
957         * ltmain.sh (osf): Prefix $major with . for use as extension.
958
959 2002-10-02  Andreas Jaeger  <aj@suse.de>
960
961         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
962
963 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
964
965         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
966         check for __arm__ or __thumb__.
967
968 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
969
970         * include/private/gcconfig: Add machine type S390.  Add s390x support.
971         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
972         (GC_compare_and_exchange): Likewise.
973
974 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
975
976         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
977
978 2002-08-23  Adam Megacz <adam@xwt.org>
979
980         * win32_threads.cc: Removed extraneous ABORT()
981
982 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
983
984         * Makefile.am (all-multi): Fix multilib parallel build.
985
986 2002-07-18  Bo Thorsen  <bo@suse.de>
987
988         * include/private/gcconfig.h: Add x86-64 definitions.
989         * os_dep.c: Add x86-64 support.
990         * configure.in: Likewise.
991         * configure: Regenerate.
992
993 2002-07-18  H.J. Lu <hjl@gnu.org>
994
995         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
996
997 2002-07-18  H.J. Lu  (hjl@gnu.org)
998
999         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1000         Linux/mips.
1001
1002 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
1003             Jonathan Clark
1004
1005         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1006
1007 2002-06-09  H.J. Lu  (hjl@gnu.org)
1008
1009         * include/private/gc_locks.h (GC_test_and_set): Support
1010         Linux/mips.
1011         (GC_TEST_AND_SET_DEFINED): Likewise.
1012
1013         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1014         Linux/mips.
1015         (DATAEND): Likewise.
1016         (LINUX_STACKBOTTOM): Likewise.
1017         (STACKBOTTOM): Removed for Linux/mips.
1018
1019 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
1020
1021         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1022         (GC_pthread_create): Fix typo.
1023         (GC_TRY_LOCK): Likewise.
1024         * include/private/gc_locks.h (GC_test_and_set): Only take one
1025         one argument.
1026         (LOCK): Adjust appropriately.
1027         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1028         _SIGRTMIN is unavailable.
1029
1030 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1031
1032         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1033         * aclocal.m4: Regenerate.
1034         * configure: Regenerate.
1035
1036 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1037
1038         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1039         script entry, and set LD to it when configuring multilibs.
1040         * configure: Rebuilt.
1041
1042 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1043
1044         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1045         (noinst_LTLIBRARIES): Add libgcjgc.la.
1046
1047         * Makefile.in: Rebuild.
1048
1049 2002-04-22  David S. Miller  <davem@redhat.com>
1050
1051         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1052         64-bit SPARC Linux, the __libc_stack_end technique does
1053         not work in this case.
1054
1055 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1056
1057         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1058
1059 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
1060
1061         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1062         SPARC Linux.
1063
1064 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
1065
1066         * include/private/gcconfig.h (DATAEND): Update comment example
1067         to match reality.
1068
1069 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
1070
1071         * include/private/gcconfig.h (DATAEND): Clarify comment.
1072
1073 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
1074
1075         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1076         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1077         declare.
1078         * allchblk.c (GC_allchblk_nth): Change text and support reduced
1079         frequency for blacklist warning message.
1080         * misc.c (GC_large_alloc_warn_interval,
1081         GC_large_alloc_warn_suppressed): define.
1082         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1083         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1084         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1085         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1086
1087         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1088
1089 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
1090
1091         * include/private/gcconfig.h: Add support for an unmapped
1092         memory hole between the end of the initialized data segment
1093         and the start of the BSS on FreeBSD/i386.
1094
1095 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
1096
1097         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1098         NetBSD/i386.
1099
1100 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
1101
1102         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1103         (GC_local_gcj_malloc): Add assertion.
1104         (start_mark_threads): Fix abort message.
1105         * mark.c (GC_mark_from): Generalize assertion.
1106         * reclaim.c (GC_clear_fl_links): New function.
1107         (GC_start_reclaim): Must clear some freelist links.
1108         * include/private/specific.h, specific.c: Add assertions.
1109         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
1110         Rearrange tse fields.
1111
1112 2002-03-27  Richard Henderson  <rth@redhat.com>
1113
1114         * os_dep.c (GC_init_linux_data_start): Fix references to
1115         __data_start and _end.
1116
1117 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
1118
1119         * include/private/gcconfig.h: Change all likely references
1120         to linker script synthesized symbols to use this idiom:
1121         extern int etext[]; etext
1122
1123 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
1124
1125         * linux_threads.c (GC_get_nprocs): Close file descriptor.
1126
1127 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
1128
1129         * include/private/gcconfig.h: Add unified test for FreeBSD.
1130         Support FreeBSD/alpha.
1131         * os_dep.c: Do not include <machine/trap.h> unless available.
1132         (GC_freebsd_stack_base): Fix types.
1133
1134 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1135
1136         * Makefile.am: Make a convenience library.
1137         * Makefile.in: Rebuilt.
1138
1139 2002-03-15  Anthony Green  <green@redhat.com>
1140
1141         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1142         * configure.in: Disable use of getenv for win32 targets (some of
1143         which have broken implementations).
1144         * configure: Rebuilt.
1145
1146 2002-03-12  Adam Megacz  <adam@xwt.org>
1147
1148         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1149         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1150         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1151         statically initialized it to TRUE if compiling with GCC.
1152         * win32_threads.c (thread_start): We no longer use SEH if
1153         compiling with GCC.
1154         * mark.c (GC_mark_some): We no longer use SEH if
1155         compiling with GCC.
1156
1157 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1158
1159         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1160         support is enabled, for hash synchronization.
1161
1162 2002-02-24  Adam Megacz  <adam@xwt.org>
1163
1164         * Makefile.am: Added win32_threads.c to sources list.
1165         * win32_threads.c: Added two */'s which I had neglected.
1166
1167 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1168
1169         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1170         * Makefile.in: Rebuilt.
1171
1172 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1173
1174         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1175
1176         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1177         preprocessor file.
1178         * mips_sgi_mach_dep.S: Likewise.
1179         * Makefile.am: Update for above changes.
1180         * Makefile.in: Rebuilt.
1181
1182 2002-02-12  Richard Henderson  <rth@redhat.com>
1183
1184         * configure.in: Re-apply 2001-06-26 configure change.
1185         * configure: Rebuild.
1186
1187 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1188
1189         Imported GC 6.1 Alpha 3.
1190
1191         * sparc_mach_dep.S: Delete incorrectly named file.
1192
1193 2001-02-11  Adam Megacz <adam@xwt.org
1194
1195         * configure.in: support for win32, saner
1196         cross-compile options
1197
1198 2001-02-08  Anthony Green  <green@redhat.com>
1199
1200         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1201           board embedded targets.
1202         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1203           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
1204           redundant uses of ECOS.
1205         * misc.c: Use NOSYS where ECOS is being used.
1206           Don't define GC_write twice for ECOS systems.
1207           (GC_write): New function for NOSYS targets.
1208
1209 2002-02-06  Adam Megacz <adam@xwt.org>
1210
1211         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1212         now exposed on all Win32 platforms.
1213         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1214         compiles on Win32; it invokes CreateThread() if GC is built
1215         as a DLL; otherwise it registers the thread.
1216         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1217         libgcjgc was not built as a DLL.
1218
1219 2002-02-01  Adam Megacz <adam@xwt.org>
1220
1221         * boehm-gc on win32 now automatically detects if it is being built
1222         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1223
1224 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
1225
1226         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1227         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1228         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
1229         DATASTART and DATAEND roots.
1230         * rs6000_mach_dep.s: Add function descriptor and traceback table.
1231
1232 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
1233
1234         * dyn_load.c: Define ElfW (if needed) for all targets,
1235         not just GNU/Linux.
1236         (GC_FirstDLOpenedLinkMap): Use it.
1237         (GC_register_dynamic_libraries_dl): Use it.
1238         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1239         for sparcv9.
1240
1241 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1242
1243         PR other/3725
1244         * configure.in: Add AC_SUBST(target_alias).
1245         * configure: Regenerated.
1246
1247 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1248
1249         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1250         case for GC_FREEBSD_THREADS.
1251         * configure.in (*-*-freebsd*): Clarify warning.
1252         * configure: Rebuilt.
1253
1254 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
1255             Andreas Tobler <toa@pop.agri.ch>
1256
1257         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1258
1259 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1260
1261         * linux_threads.c (GC_init_parallel): Do not declare as a static
1262         constructor.
1263         * include/gc.h (GC_init): Declare here. Add description.
1264         * include/private/gc_priv.h (GC_init): Remove declaration.
1265
1266 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1267
1268         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1269         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1270         GC_FREEBSD_THREADS, handle strange interaction between system
1271         pthread implementation and boehm-gc signal-handler architecture.
1272         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1273         set stack.
1274         * include/private/gcconfig.h (configuration keyed off FREEBSD):
1275         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
1276         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1277
1278 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1279
1280         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1281         * Makefile.in: Rebuilt.
1282
1283 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1284
1285         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1286         merged local changes.
1287
1288 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1289
1290         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1291         Solaris 2/Intel definition.
1292
1293         * configure.in (i?86-*-solaris2.[89]*): Define
1294         SOLARIS25_PROC_VDB_BUG_FIXED.
1295         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1296         * configure: Regenerate.
1297
1298         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1299         (DATAEND): Define using _end.
1300
1301 2001-09-11  Per Bothner  <per@bothner.com>
1302
1303         * include/Makefile.am:  New file.  It defines include_HEADERS.
1304         * Makefile.am (SUBDIRS):  New macro, set to include.
1305         * configure.in (AC_OUTPUT):  Add include/Makefile.
1306
1307 2001-08-20  Tom Tromey  <tromey@redhat.com>
1308
1309         * configure: Rebuilt.
1310         * configure.in: Always ask gcc for threads package.
1311
1312 2001-08-17  Tom Tromey  <tromey@redhat.com>
1313
1314         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1315         merged local changes.
1316
1317 2001-08-02  David Billinghurst <David.Billinghurst>
1318
1319         * configure: Rebuilt.
1320         * configure.in:  POSIX threads on cygwin does not link with
1321         -lpthreads.
1322
1323 2001-07-03  Tom Tromey  <tromey@redhat.com>
1324
1325         Fix for PR bootstrap/3281:
1326         * aclocal.m4, configure, Makefile.in: Rebuilt.
1327         * acinclude.m4: Set mkinstalldirs for in-tree build.
1328
1329 2001-06-26  Richard Henderson  <rth@redhat.com>
1330
1331         * alpha_mach_dep.s: Mark call-saved FP registers.
1332         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1333         * configure.in (alpha*): Re-enable alpha_mach_dep.s
1334         * configure: Rebuild.
1335
1336 2001-06-12  Tom Tromey  <tromey@redhat.com>
1337
1338         * aclocal.m4, configure: Rebuilt.
1339         * acinclude.m4: Find configure.host in srcdir.
1340
1341 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
1342
1343         * configure.in (AC_EXEEXT): Work around in case it expands to
1344         nothing, as in autoconf 2.50.
1345         * acinclude.m4: Likewise.
1346         * aclocal.m4, configure: Rebuilt.
1347
1348 2001-06-07  Tom Tromey  <tromey@redhat.com>
1349
1350         For PR bootstrap/3075:
1351         * configure, aclocal.m4, Makefile.in: Rebuilt.
1352         * configure.in: Don't call AC_CONFIG_AUX_DIR or
1353         AC_CANONICAL_SYSTEM.
1354         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1355         AC_CANONICAL_SYSTEM here.
1356         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1357         boehm_gc_basedir.
1358
1359 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1360
1361         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1362         (libgcjgc_la_SOURCES): Remove typo.
1363         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1364         * Makefile.in: Rebuilt.
1365
1366 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1367
1368         Imported version version 6.0alpha7.
1369
1370         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1371         README.amiga, README.debugging, README.dj, README.hp, README.linux,
1372         README.rs6000, README.sgi, README.solaris2, README.uts,
1373         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1374         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1375         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1376         hpux_irix_threads.c, makefile.depend, nursery.c,
1377         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1378         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1379         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1380         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1381         files.
1382
1383 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
1384
1385         * configure.host: Build with -fexceptions.
1386         * linux_threads.c: Remember which thread stopped world for
1387
1388 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
1389             with final tuning by Bryce McKinlay
1390
1391         * configure.in: Add support for --enable-threads=posix on FreeBSD.
1392         * configure: Rebuilt.
1393
1394 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
1395
1396         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1397         (GC_noop1): Change declaration to take one argument.
1398
1399 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1400
1401         * configure.in: Obtain THREADS with `gcc -v'.
1402         * configure: Rebuilt.
1403
1404 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
1405
1406         * misc.c: Back out buggy changes to stack clearing code.
1407         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1408         spent clearing memory.
1409
1410 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
1411
1412         * finalize.c:
1413         - Accomodate finalization requests for static objects.
1414           (Will be required by hash synchronization.  May be needed
1415           in some configurations now.)
1416
1417         * gc_priv.h:
1418         - Define MIN_WORDS.  All allocation requests are rounded
1419           up to at least this size.  Removes a subtle assumption that
1420           Java objects have a 2 word header.
1421
1422         * gcconfig.h:
1423         - Adjust Linux/IA64 configuration for non-ancient kernels.
1424           (Necessary fix for IA64.)
1425
1426         * linux_threads.c:
1427         - Fix syntax error in currently unused code.  Will be needed
1428           for Linux/PA-RISC.
1429
1430         * malloc.c:
1431         - Handle MIN_WORDS.
1432
1433         * misc.c:
1434         - Handle MIN_WORDS.
1435         - Change stack cleaning code to typically clear about one tenth
1436           the memory it used to in the threads configuration.  Occasionally
1437           still clear more.  (This is really a fix for a long-standing
1438           and fairly significant performance bug with threads.)
1439
1440         * os_dep.c:
1441         - Fix the code for finding the beginning of the data segment under
1442           Linux.  I believe this is necessary for some IA64 Linux
1443           distributions.  It will also helo other platforms, though those
1444           may additionally require a gcconfig.h adjustment.  (This basically
1445           works around the absence of a data_start or __data_start
1446           definition in glibc.)
1447
1448         * test.c:
1449         - Handle rounding due to MIN_WORDS.
1450
1451 2001-03-22  Tom Tromey  <tromey@redhat.com>
1452
1453         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1454
1455 2001-03-19  Tom Tromey  <tromey@redhat.com>
1456
1457         * Makefile.in: Rebuilt.
1458         * Makefile.am (gctest_LDFLAGS): new macro.
1459
1460 2001-03-16  Tom Tromey  <tromey@redhat.com>
1461
1462         * Makefile.in: Rebuilt.
1463         * Makefile.am (TESTS_ENVIRONMENT): New macro.
1464
1465 2001-01-23  Rod Stewart <stewart@lab43.org>
1466
1467         * gcconfig.h: Check for `__arm__', not `arm'.
1468
1469 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
1470
1471         * configure.in: Rename THREADLIB to THREADLIBS.
1472         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1473         ensures that we link the correct version of the linuxthreads semaphore
1474         functions.
1475         * Makefile.in: Rebuilt.
1476         * configure: Rebuilt.
1477
1478         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1479         list of signals which are not blocked during suspend in the NO_SIGNALS
1480         case.
1481
1482 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
1483
1484         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1485
1486 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
1487
1488         * Makefile.dist: Renamed from Makefile.orig.
1489
1490 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1491
1492         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1493         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1494         set accordingly.
1495         * Makefile.in: Rebuilt.
1496         * configure: Likewise.
1497
1498 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
1499
1500         * gcconfig.h: Add new case for powerpc EABI.
1501         [PPC]: Handle embedded OS for powerpc simulator.
1502
1503 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
1504
1505         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1506         cross-compile configuration only.
1507         * Makefile.am: Build gcj_mlc.c.
1508         * configure, Makefile.in: Rebuilt.
1509
1510 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
1511
1512         * acinclude.m4: Include libtool macros from the top level.
1513         * aclocal.m4, configure: Rebuilt.
1514
1515 2000-09-04  Anthony Green  <green@redhat.com>
1516
1517         Fix for PR libgcj/230:
1518         * mark.c (GC_mark_from_mark_stack): Remove call to
1519         GC_debug_object_start.
1520         * gc_priv.h (GC_debug_object_start): Remove prototype.
1521
1522 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
1523
1524         * gcconfig.h [OSF1] (_end): Declare as `int'.
1525
1526 2000-08-02  Tom Tromey  <tromey@cygnus.com>
1527
1528         * gc_priv.h (GC_generic_malloc_inner): Prototype.
1529         (GC_generic_malloc): Likewise.
1530         (GC_add_to_black_list_normal): Likewise.
1531         (GC_find_header): Likewise.
1532         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1533         * gc_mark.h (GC_find_start): Prototype.
1534         (GC_signal_mark_stack_overflow): Likewise.
1535
1536 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
1537
1538         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1539         * configure: Rebuilt.
1540
1541         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1542
1543 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
1544
1545         Imported version 5.1.
1546         * acinclude.m4: Push version to 5.1.
1547
1548 2000-06-19  Andrew Haley  <aph@cygnus.com>
1549
1550         * os_dep.c (read): Pass two dummy args to syscall().
1551
1552 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
1553
1554         Imported 5.0 release version.
1555         * acinclude.m4: Increment version to 5.0.
1556
1557 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
1558
1559         Imported version 5.0alpha7.
1560         * acinclude.m4: Update version to 5.0a7.
1561
1562 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
1563
1564         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1565         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1566         - sparc glibc does not provide it.
1567         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1568         Make STACKBOTTOM depend on the wordsize.
1569         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1570         (struct frame): Declare on sparc*-linux*.
1571         (GC_save_callers): Bias the frame pointers if needed (sparc64).
1572         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1573         Implement on sparc64.
1574         (GC_clear_stack_inner): Implement on sparc64.
1575         * gc_priv.h (GC_test_and_set): Implement for sparc.
1576         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1577         GC_save_regs_in_stack on sparc.
1578
1579 2000-04-23  Tom Tromey  <tromey@cygnus.com>
1580
1581         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1582
1583 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
1584
1585         Imported version version 5.0alpha6.
1586         * acinclude.m4: Bump version to 5.0a6.
1587         * configure.in: Don't use alpha_mach_dep.s.
1588         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1589         obsolete files.
1590         * Makefile.am, Makefile.in: irix_threads.c is now
1591         hpux_irix_threads.c.
1592         * Makefile.orig: Updated from gc distribution Makefile.
1593
1594 2000-03-26  Anthony Green  <green@redhat.com>
1595
1596         * misc.c (GC_enable): Always define GC_enable and GC_disable.
1597
1598 2000-02-14  Tom Tromey  <tromey@cygnus.com>
1599
1600         * gc.h (dlopen): Define as GC_dlopen on Linux.
1601         (GC_dlopen): Declare on Linux.
1602         * dyn_load.c (GC_dlopen): Define for Linux.
1603
1604 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
1605
1606         * gcconfig.h (DATASTART): Add missing extern declaration
1607         for data_start on powerpc.
1608
1609 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
1610
1611         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1612         NO_SIGNALS case.
1613
1614 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
1615
1616         * gcconfig.h: Define DATASTART for Alpha Linux.
1617
1618 1999-12-19  Anthony Green  <green@cygnus.com>
1619
1620         * gcconfig.h: Use libgcj hack for Alpha Linux.
1621         Undefine MPROTEXT_VDB (from Jeff Sturm).
1622         * os_dep.c: Remove Alpha Linux hacks.
1623         * misc.c: Ditto.
1624
1625 1999-12-13  Tom Tromey  <tromey@cygnus.com>
1626
1627         * aclocal.m4, configure: Rebuilt.
1628         * acinclude.m4: Changed version to 5.0a4.
1629         * Makefile.in: Rebuilt.
1630         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1631
1632 1999-12-12  Anthony Green  <green@cygnus.com>
1633
1634         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1635         Linux.
1636         (DYNAMIC_LOADING): Define for PowerPC Linux.
1637         * os_dep.c: Remove some special cases for PowerPC Linux.
1638         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1639         for PowerPC Linux.
1640
1641 1999-11-04  Tom Tromey  <tromey@cygnus.com>
1642
1643         * Makefile.in: Rebuilt.
1644         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1645
1646         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1647         (GC_thr_init): Don't declare.
1648
1649         * configure: Rebuilt.
1650         * configure.in: Removed qt threads case.
1651         * dyn_load.c: Don't mention QUICK_THREADS.
1652         * os_dep.c: Don't mention QUICK_THREADS.
1653         * misc.c: Don't mention QUICK_THREADS.
1654         * gcconfig.h: Don't mention QUICK_THREADS.
1655         * gc_priv.h: Removed QUICK_THREADS code.
1656         * quick_threads.c: Removed.
1657
1658 1999-11-03  Tom Tromey  <tromey@cygnus.com>
1659
1660         * gcconfig.h: Merged in local changes from old config.h.
1661
1662 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
1663
1664         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1665
1666 1999-11-02  Tom Tromey  <tromey@cygnus.com>
1667
1668         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1669
1670         * configure: Rebuilt.
1671         * configure.in: Don't create boehm-config.h.
1672         * Makefile.in: Rebuilt.
1673         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1674         config.h.
1675         ($(all_objs)): Depend on gcconfig.h.
1676         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1677         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1678         * config.h: Removed.
1679
1680 1999-11-01  Tom Tromey  <tromey@cygnus.com>
1681
1682         * Makefile.in: Rebuilt.
1683         * Makefile.am (gctest_LDADD): Added THREADLIB.
1684         (TESTS): New macro.
1685         * configure: Rebuilt.
1686         * configure.in (INCLUDES): New subst.
1687
1688 1999-09-29  Steve Chamberlain  <sac@pobox.com>
1689
1690         * config.h: Added picoJava target.
1691         * mach_dep.h (GC_push_regs):  New code for picoJava.
1692
1693 1999-09-28  Tom Tromey  <tromey@cygnus.com>
1694
1695         * aclocal.m4, configure: Rebuilt.
1696         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1697         appropriate AC_PROG_ symbol.
1698
1699 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1700
1701         * gc_priv.h:  IRIX thread changes from
1702         include/private/gc_priv.h.
1703
1704 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1705
1706         * Makefile.in: Rebuilt.
1707         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1708         builds.
1709
1710         * configure: Rebuilt.
1711         * configure.in: Properly align --help output, fix capitalization
1712         and punctuation.
1713         * acinclude.m4: Likewise.
1714
1715 1999-08-04  Tom Tromey  <tromey@cygnus.com>
1716
1717         * configure.in: Added missing `;;'.  From Anthony Green.
1718
1719 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1720
1721         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1722
1723 1999-08-03  Tom Tromey  <tromey@cygnus.com>
1724
1725         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1726         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1727
1728 1999-08-02  Tom Tromey  <tromey@cygnus.com>
1729
1730         * aclocal.m4, configure: Rebuilt for new libtool.
1731
1732 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1733
1734         * mips_sgi_mach_dep.s: Enable PIC option.
1735
1736 1999-07-19  Tom Tromey  <tromey@cygnus.com>
1737
1738         * config.h (MPROTECT_VDB): Don't define on Linux.
1739
1740 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1741
1742         * Makefile.am (.s.lo): Avoid `#line' directives.
1743         * Makefile.in: Rebuilt.
1744
1745 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1746
1747         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1748         generate *-recursive for this Makefile, use *-am instead.
1749         * Makefile.in: Rebuilt.
1750
1751 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
1752
1753         * Makefile.am (.s.lo): Renamed from `.s.o'.
1754         * Makefile.in: Rebuilt.
1755
1756 1999-06-21  Tom Tromey  <tromey@cygnus.com>
1757
1758         Alpha patch from Jeff Sturm:
1759         * os_dep.c (GC_init_linuxalpha): New function.
1760         * misc.c: Initialize for alpha linux.
1761         * gc_priv.h (GC_test_and_set): Define for alpha.
1762         * config.h: Don't assume __data_start on alpha.
1763
1764         * Makefile.in: Rebuilt.
1765         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1766         -release.
1767
1768         * Makefile.in: Rebuilt.
1769         * Makefile.am (toolexeclibdir): Define as libdir when
1770         appropriate.
1771         * configure: Rebuilt.
1772         * configure.in (USE_LIBDIR): New conditional.
1773
1774         * configure: Rebuilt.
1775         * configure.in: Recognize all forms of alpha.
1776
1777 1999-06-17  Anthony Green  <green@cygnus.com>
1778
1779         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1780         Carlo Dapor <carlo@vis.ethz.ch>).
1781
1782 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
1783
1784         * configure.in: Switch from irix threads to posix threads
1785         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1786         for mips architecture.
1787         * configure: Regenerate.
1788
1789 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1790
1791         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1792
1793 1999-04-26  Tom Tromey  <tromey@cygnus.com>
1794
1795         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1796         `weak'.
1797
1798 1999-04-23  Tom Tromey  <tromey@cygnus.com>
1799
1800         * Makefile.in, configure: Rebuilt.
1801         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1802         (libgcjgc_la_SOURCES): Renamed.
1803         (libgcjgc_la_LIBADD): Likewise.
1804         (libgcjgc_la_DEPENDENCIES): Likewise.
1805         (EXTRA_libgcjgc_la_SOURCES): Likewise.
1806         (gctest_LDADD): Use libgcjgc.la.
1807         (all_objs): Mention libgcj_la_OBJECTS.
1808         (EXTRA_LTLIBRARIES): Renamed.
1809         (toollib_LTLIBRARIES): Likewise.
1810         (libgcjgc_la_LDFLAGS): New macro
1811         (toolexecdir): Renamed.
1812         (toolexeclibdir): Likewise.
1813         (toolexeclib_LTLIBRARIES): Likewise.
1814         (LTCOMPILE): Renamed; added libtool invocation.
1815         (LINK): Added libtool invocation.
1816         (.s.o): use LTCOMPILE.
1817         * configure.in: Call AM_PROG_LIBTOOL.
1818         (target_all): Set to libgcjgc.la.
1819         Mention `.lo' forms of object files.
1820
1821 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1822
1823         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1824         GC_stackbottom.
1825
1826         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1827         sigcontext.h.  From Matthias Klose <doko@itso.de>.
1828
1829 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1830
1831         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
1832         David Pettersson <dapet@mai.liu.se>
1833
1834 1999-04-14  Tom Tromey  <tromey@cygnus.com>
1835
1836         * configure: Rebuilt.
1837         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
1838         incorrect patch of 199-04-09.
1839
1840         * configure: Rebuilt.
1841         * configure.in: Added support for alpha.
1842         From David Pettersson <dapet@mai.liu.se>.
1843
1844 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1845
1846         * Makefile.in: Rebuilt.
1847         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1848         solaris-threads.h.
1849
1850 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1851
1852         * configure: Rebuilt.
1853         * configure.in: Use sparc_mach_dep.s when building on Solaris.
1854
1855 1999-02-23  Tom Tromey  <tromey@cygnus.com>
1856
1857         * configure: Rebuilt.
1858         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
1859         SOLARIS_THREADS and _SOLARIS_PTHREADS.
1860
1861 1999-02-18  Tom Tromey  <tromey@cygnus.com>
1862
1863         * quick_threads.c (GC_push_all_stacks): Change order of arguments
1864         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
1865         for case where LO is NULL.
1866
1867 1999-02-10  Tom Tromey  <tromey@cygnus.com>
1868
1869         * aclocal.m4, configure, Makefile.in: Rebuilt.
1870         * acinclude.m4: Updated to be used with automake 1.4.
1871         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
1872         with automake 1.4.
1873         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
1874         (libgcjgc_a_SOURCES): Likewise.
1875         (libgcjgc_a_LIBADD): Likewise.
1876         (libgcjgc_a_DEPENDENCIES): Likewise.
1877         (EXTRA_libgcjgc_a_SOURCES): Likewise.
1878         (gctest_LDADD): Likewise.
1879         (all_objs): Likewise.
1880
1881 1999-01-08  Tom Tromey  <tromey@cygnus.com>
1882
1883         * configure: Rebuilt.
1884         * configure.in: Define LINUX_THREADS if using POSIX threads on
1885         Linux.
1886
1887         * gc_priv.h (GC_test_and_set): Put return type into definition.
1888
1889 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
1890
1891         * Makefile.am: add support for eCos.  In particular, add C++
1892         support for compiling the file ecos.cc.
1893         * ecos.cc: new file.
1894         * acinclude.m4: add C++ support.
1895         * aclocal.m4: likewise
1896         * config.h: add eCos support.
1897         * configure: likewise
1898         * configure.in: likewise
1899         * misc.c (GC_write): add eCos support.
1900         * os_dep.c (tiny_sbrk): add eCos support.
1901
1902 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
1903
1904         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
1905         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
1906
1907 1998-11-23  Tom Tromey  <tromey@cygnus.com>
1908
1909         * configure.host (boehm_gc_cflags): Don't add `-O2'.
1910
1911 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
1912
1913         * Makefile.am, Makefile.in, configure.host: tx39 build option
1914         "-G 0" added.
1915
1916 1998-11-17  Tom Tromey  <tromey@cygnus.com>
1917
1918         * configure: Rebuilt.
1919         * configure.in: Switch on host, not target.
1920
1921 1998-11-16  Tom Tromey  <tromey@cygnus.com>
1922
1923         * gc_priv.h (GC_debug_object_start): Declare.
1924         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
1925         * gc.h (GC_debug_register_finalizer_no_order,
1926         GC_register_finalizer_no_order): Declare.
1927         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
1928         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
1929         (GC_debug_generic_malloc): Likewise.
1930         (GC_debug_object_start): new function.
1931
1932 1998-11-11  Tom Tromey  <tromey@cygnus.com>
1933
1934         * configure: Rebuilt.
1935         * configure.in: Recognize --enable-java-gc, not --enable-gc.
1936
1937 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1938
1939         * dyn_load.c: Handle QUICK_THREADS case.
1940
1941 1998-10-21  Tom Tromey  <tromey@cygnus.com>
1942
1943         * configure: Rebuilt.
1944         * configure.in: Put cpp defines here, not in config.h.  Recognize
1945         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
1946         define PACKAGE or VERSION.
1947         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
1948         Don't define.
1949
1950         * os_dep.c (GC_default_push_other_roots): Define when
1951         QUICK_THREADS defined.
1952         * misc.c: Added QUICK_THREADS case.
1953         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
1954         * config.h (THREADS): Define if QUICK_THREADS defined.
1955         * Makefile.in: Rebuilt.
1956         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
1957         quick_threads.c.
1958         * quick_threads.c: New file.
1959
1960 1998-10-20  Tom Tromey  <tromey@cygnus.com>
1961
1962         * aclocal.m4, configure: Rebuilt.
1963         * acinclude.m4: Don't subst machine_dir or sys_dir.
1964         * configure.host: Removed unused code.
1965
1966 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
1967
1968         * configure: Rebuilt.
1969         * configure.in: Fix typo in previous patch.
1970
1971 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
1972
1973         * Makefile.in, aclocal.m4, configure: Rebuilt.
1974         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
1975         * configure.host: Created.
1976
1977 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
1978
1979         * Makefile.in: Rebuilt.
1980         * Makefile.am (lib_LIBRARIES): Use target_all.
1981         (EXTRA_LIBRARIES): New macro.
1982         * configure: Rebuilt.
1983         * configure.in: Recognize --enable-gc.
1984
1985 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
1986
1987         * Makefile.in: Rebuilt.
1988         * Makefile.am (COMPILE): Define.
1989         (LINK): Likewise.
1990         (.s.o): Use MY_CFLAGS.
1991         * configure: Rebuilt.
1992         * configure.in (MY_CFLAGS): Define and subst.
1993
1994 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
1995
1996         * configure: Rebuilt.
1997         * configure.in: Added --with-cross-host argument.  Use
1998         $with_cross_host to determine when cross-compiling.
1999
2000         * config.h (SMALL_CONFIG): Don't define.
2001         * configure: Rebuilt.
2002         * configure.in: Define SMALL_CONFIG when cross-compiling.
2003
2004 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
2005
2006         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2007         allchblk.c: Merged with 4.13a2 while preserving local changes.
2008
2009         * Makefile.orig: Updated from Makefile in 4.13a2.
2010
2011         * configure: Rebuilt.
2012         * configure.in: Updated version number to 4.13a2.  On Solaris,
2013         don't build with -O when using gcc.
2014
2015         Merged in version 4.13alpha2:
2016         * config.h (USE_MMAP): Re-enable on Solaris.
2017         * solaris_pthreads.c: Removed RCS Id line.
2018         * alpha_mach_dep.s: Removed RCS Id line.
2019
2020 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
2021
2022         * config.h (USE_MMAP): Don't define for Solaris.
2023
2024 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
2025
2026         * Makefile.in: Rebuilt.
2027         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2028
2029         * Makefile.in: Rebuilt.
2030         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2031
2032 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
2033
2034         * Makefile.in: Rebuilt.
2035         * Makefile.am ($(all_objs)): Depend on config.h.
2036
2037         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2038         DATASTART as &_etext.
2039         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2040         * configure: Rebuilt.
2041         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2042         tx39.
2043
2044 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
2045
2046         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2047         (GC_maybe_gc): Likewise.
2048         * os_dep.c: If NO_SIGSET defined, then have empty
2049         GC_disable_signals and GC_enable_signals.
2050         * configure: Rebuilt.
2051         * configure.in: Added --with-target-subdir option.  If
2052         cross-compiling, define NO_SIGSET and NO_CLOCK.
2053
2054 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
2055
2056         * Makefile.in: Rebuilt.
2057         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2058         (AS): Removed.
2059         * aclocal.m4, configure: Rebuilt.
2060         * acinclude.m4: New file.
2061         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
2062
2063 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
2064
2065         * configure: Rebuilt.
2066         * configure.in: Link boehm-config.h to config.h.
2067         * Makefile.in: Rebuilt.
2068         * Makefile.am (INCLUDES): Removed.
2069         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2070         JAVA_FINALIZATION): Define
2071
2072 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
2073
2074         * Many files: Use GC_bool, not bool.
2075         * gc_priv.h: Define GC_bool, not bool.
2076
2077         * misc.c (GC_dont_gc): Define as int.
2078         (GC_quiet): Likewise.
2079         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2080         * alloc.c (GC_dont_expand): Define as int.
2081         * gc_priv.h: For gcc, define bool as char.
2082
2083 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
2084
2085         * Makefile.in: Rebuilt.
2086         * Makefile.am (check_PROGRAMS): New macro.
2087         (gctest_SOURCES): Likewise.
2088         (gctest_LDADD): Likewise.
2089
2090 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
2091
2092         * Makefile.in: Rebuilt.
2093         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2094         * configure: Rebuilt.
2095         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2096
2097 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2098
2099         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2100         New files.
2101         * Makefile.orig: Renamed from Makefile.