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