OSDN Git Service

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