OSDN Git Service

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