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