OSDN Git Service

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