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