OSDN Git Service

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