OSDN Git Service

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