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