OSDN Git Service

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