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