gcc/testsuite/
[official-gcc.git] / boehm-gc / ChangeLog
blob50a0802d9d8b39cce43ece85baa0e8be0ec76b17
1 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3         Fix current cygwin-64 build problems.
4         * include/gc_config_macros.h (GC_PTHREADS): Use __CYGWIN__ instead
5         of __CYGWIN32__ here.
6         * win32_threads.c (GC_push_all_stacks): Push all X86_64 registers.
7         (GC_get_thread_stack_base): Get the stack base for X86_64.
9 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
11         PR other/43620
12         * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist.
13         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
14         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
15         * Makefile.in: Regenerated.
16         * include/Makefile.in: Regenerated.
17         * testsuite/Makefile.in: Regenerated.
19 2013-12-21  Andreas Tobler  <andreast@gcc.gnu.org>
21         * include/private/gcconfig.h: Add FreeBSD powerpc64 defines.
23 2013-09-20  Alan Modra  <amodra@gmail.com>
25         * configure: Regenerate.
27 2013-09-04  Matthias Klose  <doko@ubuntu.com>
29         * Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS.
30         * Makefile.in: Regenerate.
32 2013-03-16  Yvan Roux <yvan.roux@linaro.org>
34         * include/private/gcconfig.h (AARCH64): New macro (defined only if
35         __aarch64__).
36         (CPP_WORDSZ): Define for AArch64.
37         (MACH_TYPE): Likewise.
38         (ALIGNMENT): Likewise.
39         (HBLKSIZE): Likewise.
40         (OS_TYPE): Likewise.
41         (LINUX_STACKBOTTOM): Likewise.
42         (USE_GENERIC_PUSH_REGS): Likewise.
43         (DYNAMIC_LOADING): Likewise.
44         (DATASTART): Likewise.
45         (DATAEND): Likewise.
46         (STACKBOTTOM): Likewise.
47         (NOSYS): Likewise.
48         (mach_type_known): Define for AArch64 and comment update.
50 2013-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
52         * os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New
53         function.
54         [!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS &&
55         !ECOS] (GC_get_stack_base): Use it.
56         * include/private/gcconfig.h [SPARC && SUNOS5]
57         (SOLARIS_STACKBOTTOM): Define.
58         (STACKBOTTOM, HEURISTIC2): Remove.
59         [I386 && SUNOS5]
60         (SOLARIS_STACKBOTTOM): Define.
61         (STACKBOTTOM): Remove.
63 2012-11-04  Samuel Thibault  <samuel.thibault@gnu.org>
65         * configure.ac: Add stanza for *-*-gnu* threads configuration.
66         * configure: Regenerate.
67         * include/gc_config.h.in: Likewise.
68         * dyn_load.c (_GNU_SOURCE): Define for __GNU__.
69         * include/gc_config_macros.h (_REENTRANT, GC_PTHREADS): Define for
70         GC_GNU_THREADS.
71         * include/private/gcconfig.h (DATASTART): Don't define for I386 &&
72         HURD.
73         (SIG_SUSPEND, SIG_THR_RESTART, SEARCH_FOR_DATA_START): Define for
74         I386 && HURD.
75         (UNIX_LIKE, REGISTER_LIBRARIES_EARLY): Define for HURD.
76         * os_dep.c (GC_init_linux_data_start): Handle for HURD.
77         * pthread_support.c (GC_thr_init): Add case for GC_GNU_THREADS.
78         * specific.c: Use for GC_GNU_THREADS.
79         * threadlibs.c: Add case for GC_GNU_THREADS.
81 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
83         * configure: Regenerated.
85 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87         * configure: Regenerated.
89 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
91         Merge upstream changes
92         * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
93         (CPP_WORDSZ): Set to 32 for x32.
95 2012-02-27  Jack Howarth  <howarth@bromo.med.uc.edu>
96             Patrick Marlier  <patrick.marlier@gmail.com>
98         PR boehm-gc/48299
99         * testsuite/boehm-gc.c/thread_leak_test.c: Merge upstream changes.
101 2012-02-23  Patrick Marlier  <patrick.marlier@gmail.com>
102             Jack Howarth  <howarth@bromo.med.uc.edu>
104         PR boehm-gc/52179
105         * include/gc_config.h.in: Undefine HAVE_PTHREAD_GET_STACKADDR_NP.
106         * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with
107         pthread_get_stackaddr_np when available.
108         * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np.
109         * configure: Regenerate.
111 2012-02-10  Kai Tietz  <ktietz@redhat.com>
113         PR boehm-gc/48514
114         * include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
115         only, if we are actual in boehm-gc's build and DLL_EXPORT
116         is defined.
118 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
120         * configure: Regenerate.
122 2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
124         * configure.ac (THREADS): Remove posix95.
125         * configure: Regenerate.
127 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
129         PR target/39150
130         * configure.ac (i?86-*-solaris2.[89]): Also accept
131         x86_64-*-solaris2.1?.
132         * configure: Regenerate.
134 2011-06-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
136         PR libgcj/49451
137         * include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
138         (ELF_CLASS): Define.
139         * dyn_load.c [IRIX5]: Include <elf.h>.
140         Include <obj.h> for O32, <objlist.h> for N32, N64.
141         [SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
142         [SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
143         [IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
144         (__rld_obj_head): Declare.
145         (l_next, l_addr, obj_offset): Define.
146         (GC_FirstDLOpenedLinkMap): New function.
147         [SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
148         IRIX5.
149         Use obj_offset.
150         [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
151         (GC_register_dynamic_libraries): Don't use /proc version on IRIX5.
153 2011-04-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
155         * configure.ac (THREADS): Remove decosf1, irix, mach, os2.
156         * configure: Regenerate
158 2011-04-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
160         PR testsuite/48480
161         * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
162         to ranlib.
164 2011-03-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
166         PR boehm-gc/11412
167         * configure.ac (THREADCFLAGS): New variable.
168         Use it instead of INCLUDES, AM_CPPFLAGS.
169         <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
170         Remove DG/UX support.
171         (AC_CONFIG_FILES): Add testsuite/Makefile.
172         * Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
173         (SUBDIRS): Add testsuite.
174         (libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
175         (AM_CXXFLAGS): Add $(THREADCFLAGS).
176         (AM_CFLAGS): Likewise.
177         Remove TESTS related variables.
178         * Makefile.in: Regenerate.
179         * configure: Regenerate.
180         * testsuite/Makefile.am: New file.
181         * testsuite/Makefile.in: New file.
182         * testsuite/lib/boehm-gc.exp: New file.
183         * testsuite/config/default.exp: New file.
184         * testsuite/boehm-gc.c/c.exp: New file.
185         * testsuite/boehm-gc.lib/lib.exp: New file.
186         * tests/test.c: Move ...
187         * testsuite/boehm-gc.c/gctest.c: ... here.
188         * tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
189         tests/trace_test.c: Move ...
190         * testsuite/boehm-gc.c: ... here.
191         * testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
192         * tests/staticrootslib.c, tests/staticrootstest.c: Move ...
193         * testsuite/boehm-gc.lib: ... here.
194         * testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
195         staticrootslib.c.
196         * tests/test_cpp.cc: Move ...
197         * testsuite/boehm-gc.c++: ... here.
199 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
201         * configure.ac (THREADS): Remove solaris.
202         * configure: Regenerate.
204 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
206         * configure: Regenerate.
208 2011-02-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
210         * configure.ac: Don't use libdl on mips-sgi-irix6*.
211         * configure: Regenerate.
213 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
215         * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
216         * configure: Regenerate.
218 2010-12-10  Iain Sandoe  <iains@gcc.gnu.org>
220         * powerpc_darwin_mach_dep.s:  Update for m64.  Add eh frames.
221         Do not build or use the picsymbol stub for Darwin >= 9.
222         * tests/test.c (reverse_test):  Modify count for ppc64-darwin.
223         * pthread_support.c (GC_get_thread_stack_base): Correct a debug
224         statement.
226 2010-11-29  Iain Sandoe  <iains@gcc.gnu.org>
227             Mike Stump  <mrs@gcc.gnu.org>
229         PR target/26427
230         PR target/33120
231         PR testsuite/35710
232         * dyn_load.c (GC_register_dynamic_libraries/DARWIN):  Add new writable
233         data section names.
234         (GC_dyld_name_for_hdr): Adjust layout.
235         (GC_dyld_image_add): Adjust layout, add new Darwin sections, adjust
236         debug to name the sections.
237         (GC_dyld_image_remove): Adjust layout, remove new Darwin sections,
238         adjust debug to name the sections.
239         (GC_register_dynamic_libraries): Adjust layout.
240         (GC_init_dyld): Likewise.
241         (GC_register_main_static_data): Likewise.
243 2010-10-29  Paolo Bonzini  <bonzini@gnu.org>
245         * configure: Regenerate.
247 2010-10-28  Paolo Bonzini  <bonzini@gnu.org>
249         * configure.ac: Rewrite DGUX check to use GC_CFLAGS, and -O0 check
250         to remove the need for MY_CFLAGS.
251         * Makefile.am: Do not use @...@ substitutions.  Use AM_CXXFLAGS,
252         AM_CFLAGS and AM_LDFLAGS instead of redefining LTCOMPILE and LINK.
253         Use "override" to disable -O2 when required.
254         * configure: Regenerate.
255         * Makefile.in: Regenerate.
256         * include/Makefile.in: Regenerate.
258 2010-10-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
260         * dyn_load.c: Fix typo.
261         * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
262         Use GC_printf0.
264 2010-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
266         * configure.ac (*-*-solaris2.8*): Only usr alternate thread
267         library on Solaris 8.
268         (*-*-solaris2*): Use regular thread library otherwise.
269         * configure: Regenerate.
271 2010-05-13  Uros Bizjak  <ubizjak@gmail.com>
273         * tests/leak_test.c (main): Declare as int.  Return 0.
274         * tests/thread_leak_test.c (main): Ditto.
275         * tests/trace_test.c (main): Ditto.
277 2010-05-06  Dave Korn  <dave.korn.cygwin@gmail.com>
279         PR target/42811
280         * tests/staticrootstest.c: New test source file.
281         * tests/staticrootslib.c: New test library source file.
282         * Makefile.am (test_ldadd): New variable.
283         (gctest_LDADD): Use it.
284         (TESTS): Add leaktest, middletest and staticrootstest.
285         (check_PROGRAMS): Likewise.
286         (leaktest_SOURCES): New libtool variable definition.
287         (leaktest_LDADD): Likewise.
288         (leaktest_LDFLAGS): Likewise.
289         (leaktest_LINK): Likewise.
290         (middletest_SOURCES): Likewise.
291         (middletest_LDADD): Likewise.
292         (middletest_LDFLAGS): Likewise.
293         (middletest_LINK): Likewise.
294         (staticrootstest_SOURCES): Likewise.
295         (staticrootstest_LDADD): Likewise.
296         (staticrootstest_LDFLAGS): Likewise.
297         (staticrootstest_LINK): Likewise.
298         (check_LTLIBRARIES): Likewise.
299         (libstaticrootslib_la_SOURCES): Likewise.
300         (libstaticrootslib_la_LIBADD): Likewise.
301         (libstaticrootslib_la_LDFLAGS): Likewise.
302         (libstaticrootslib_la_DEPENDENCIES): Likewise.
303         * Makefile.in: Regenerate.
305 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
307         * Makefile.in: Regenerate.
308         * aclocal.m4: Regenerate.
309         * include/Makefile.in: Regenerate.
311 2010-03-21  Dave Korn  <dave.korn.cygwin@gmail.com>
313         PR target/42811 (prerequisite)
314         * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
315         declare r_next member on Cygwin as on other windows hosts.
316         (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
317         (RT_SIZE) [CYGWIN32]: Likewise.
318         (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
319         likewise.
320         (GC_heap_bases) [CYGWIN32]: Do define likewise.
321         (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
322         (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
323         (GC_n_heap_bases) [CYGWIN32]: Likewise.
324         (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
325         * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
326         (GET_MEM) [CYGWIN32]: Do define likewise.
327         * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
328         registration likewise.
329         * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
330         (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
331         other windows hosts.
332         (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
333         (GC_n_heap_bases) [CYGWIN32]: Likewise.
334         (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
335         (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
336         rather than GlobalAlloc/VirtualAlloc.
337         (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
338         of GlobalFree (even though the function body is optimised away).
339         * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
340         other windows hosts.
341         (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
342         intervals likewise.
343         (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
344         (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
345         (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
346         (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
347         (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
348         (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
349         roots and dynamic registration likewise.
350         * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
351         other windows hosts.
352         (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
353         (GC_cond_add_roots) [CYGWIN32]: Likewise.
354         (GC_register_main_static_data) [CYGWIN32]: Define to always return
355         false, as on MSWINCE
356         (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
357         windows hosts.
358         (GC_warn_fb) [CYGWIN32]: Likewise.
359         (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
360         (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
361         (GC_ignore_fb) [CYGWIN32]: Likewise.
362         (is_frame_buffer) [CYGWIN32]: Likewise.
363         (GC_dump_meminfo) [CYGWIN32]: Likewise.
364         (GC_wnt) [CYGWIN32]: Define to constant true.
365         (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
366         windows hosts.
368 2009-12-09  Matthias Klose  <doko@ubuntu.com> 
370         * include/private/gc_locks.h: For __ARM_EABI__ define
371         GC_test_and_set  GC_clear to use the atomic builtins.
373 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
375         * Makefile.in: Regenerate.
376         * configure: Regenerate.
377         * include/Makefile.in: Regenerate.
379 2009-11-30  Ben Elliston  <bje@au.ibm.com>
381         * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
382         compiling with GCC rather than taking the address of a local
383         variable.
385 2009-11-30  Ben Elliston  <bje@au.ibm.com>
387         * os_dep.c: Use the POSIX signal API in preference to the BSD API.
388         Generate a compilation error if neither the POSIX nor BSD APIs can
389         be detected.
391 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
393         * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
394         (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
395         so that library dependency resolution works with portable make.
396         * Makefile.in: Regenerate.
398 2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
400         * configure: Rebuilt with modified libtool.m4.
402 2009-09-03  Loren J. Rittle  <ljrittle@acm.org>
404         * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
405         Define for FreeBSD 7.0+.
407 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
409         * configure.ac (AC_PREREQ): Bump to 2.64.
411 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
413         * Makefile.am (install-html, install-pdf): Remove.
414         * Makefile.in: Regenerate.
416         * Makefile.in: Regenerate.
417         * aclocal.m4: Regenerate.
418         * configure: Regenerate.
419         * include/Makefile.in: Regenerate.
420         * include/gc_config.h.in: Regenerate.
422 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
424         * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
425         and $(LIBTOOLFLAGS).
426         * Makefile.in: Regenerate.
428 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
430         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
432 2009-07-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
434         PR boehm-gc/40785
435         * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
436         the __sync_lock_test_and _set and __sync_lock_release builtins on
437         the powerpc.  If not GCC 4.4, fix up the constraints so that it
438         builds without error.
439         (GC_clear): Ditto.
441 2009-07-17  Kai Tietz  <kai.tietz@onevision.com>
443         * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
444         cflags.
445         * configure: Regenerated.
447 2009-05-17  Dave Korn  <dave.korn.cygwin@gmail.com>
449         * win32_threads.c (GC_get_thread_stack_base):  Implement for Cygwin.
451 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
453         * configure: Regenerate.
455 2009-02-09  Mark Mitchell  <mark@codesourcery.com>
457         * Makefile.am (LTLDFLAGS): New variable.
458         (LINK): Use it.
459         * Makefile.in: Regenerated.
461 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
463         * configure: Regenerate.
465 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
466             Steve Ellcey  <sje@cup.hp.com>
468         * configure: Regenerate for new libtool.
469         * Makefile.in: Ditto.
470         * include/Makefile.in: Ditto.
471         * aclocal.m4: Ditto.
473 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
475         * configure.ac (AC_CONFIG_FILES): Add threads.mk. 
476         * threads.mk.in: New. 
477         * Makefile.in, configure: Regenerate. 
479 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
481         * Makefile.in: Regenerate.
482         * configure: Regenerate.
483         * include/Makefile.in: Regenerate.
484         * include/gc_config.h.in: Regenerate.
486 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
488         PR bootstrap/35457
489         * aclocal.m4: Regenerate.
490         * configure: Regenerate.
492 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
494         * aclocal.m4: Regenerate.
495         * configure: Likewise.
496         * Makefile.in: Likewise.
497         * include/Makefile.in: Likewise.
499 2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>
501         * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
502         GC_GETSECTBYNAME instead.
503         * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
504         architecture (Darwin).
506 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
508         * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
510 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
512         * configure: Regenerate.
514 2007-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
516         PR boehm-gc/33442
517         * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
518         up, return stack_addr instead of stack_addr - stack_size.
520 2007-08-14  David Daney  <ddaney@avtrex.com>
522         * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
524 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
526         * aclocal.m4: Regenerated.
528 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
530         PR boehm-gc/21940
531         PR boehm-gc/21942
532         * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
533         Use alternate thread library in /usr/lib/lwp.
534         * configure: Regenerate.
535         * dyn_load.c: Use GC_SOLARIS_PTHREADS.
536         * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
537         * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
538         (GC_SOLARIS_THREADS): Don't define.
539         * include/private/solaris_threads.h: Remove.
540         * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
541         GC_nprocs via sysconf().
542         * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
543         solaris_threads.c.
544         (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
545         * Makefile.in: Regenerate.       
546         * solaris_pthreads.c: Remove.
547         * solaris_threads.c: Remove.
549 2007-06-22  Jakub Jelinek  <jakub@redhat.com>
551         * pthread_support.c (GC_get_thread_stack_base): Handle
552         pthread_getattr_np failures.
554 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
556         * configure: Regenerate.
558 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
560         * Makefile.in: Regenerate.
561         * configure: Regenerate.
562         * aclocal.m4: Regenerate.
563         * include/Makefile.in: Regenerate.
565 2007-05-20  Andreas Tobler  <a.tobler@schweiz.org>
567         * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
568         * configure: Regenerate.
569         * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
570         * Makefile.in: Regenerate.
571         * include/Makefile.in: Regenerate.
572         * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
573         targets. Remove comments. Prepare ppc64 support for Darwin.
575 2007-04-23  Keith Seitz  <keiths@redhat.com>
577         * include/gc.h (GC_is_thread_suspended): Declare.
578         * pthread_stop_world.c (GC_is_thread_suspended): New function.
580 2007-04-03  Jakub Jelinek  <jakub@redhat.com>
582         * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
583         * configure: Rebuilt.
585 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
587         * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
588         (GC_register_finalizer_unreachable): Declare.
589         (GC_debug_register_finalizer_unreachable): Declare.
590         * finalize.c (GC_unreachable_finalize_mark_proc): New.
591         (GC_register_finalizer_unreachable): New.
592         (GC_finalize): Handle it.
593         * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
594         (GC_debug_register_finalizer_no_order): Fix whitespace.
596 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
598         * Makefile.am: Add dummy install-pdf target.
599         * Makefile.in: Regenerate
601 2007-02-05  Roman Zippel <zippel@linux-m68k.org>
603         * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
604         it works with Linux 2.6, reactivate MPROTECT_VDB
605         * boehm-gc/pthread_stop_world.c: save all register
606         on signal entry
608 2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
610         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
611         added defines to include/private/gc_priv.h
612         (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
613         * darwin_stop_world.c: Removed the above defines.
614         * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
615         and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
617 2007-01-17  David Daney  <ddaney@avtrex.com>
619         * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
620         cross-compiling.
621         * configure: Regenerated.
622         * include/gc_config.h.in: Regenerated.
624 2007-01-17  Mike Stump  <mrs@apple.com>
626         * os_dep.c: Fix i686-apple-darwin9 builds.
628 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
630         * aclocal.m4: Regenerate to use multi.m4.
631         * configure: Regenerate.
632         * Makefile.in: Regenerate.
634 2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
636         * include/gc_config.h.in: Regenerate.
638 2007-01-16  Petr Salinger  <Petr.Salinger@seznam.cz>
640         * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
641          GNU/kFreeBSD.
642         * os_dep.c: Likewise.
644 2007-01-15  Andreas Tobler  <a.tobler@schweiz.org>
646         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
647         reference.
648         (catch_exception_raise): Fix typo in the I386 exc_state.
650 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
652         * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
653         HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
654         * configure: Regenerated.
655         * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
656         Added base definitions for the X86_64 Darwin port.
657         * include/private/gc_priv.h: Added definitions for Darwin MACH thread
658         operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
659         * darwin_stop_world.c: Removed THREAD_STATE info. Added
660         HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
661         with HAS_X86_THREAD_STATE32___EAX.
662         (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
663         X86_64 Darwin.
664         * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
665         (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
666         Distinguish between getsectbynamefromheader_64 and
667         getsectbynamefromheader.
668         (GC_dyld_image_remove): Likewise.
669         * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
670         (catch_exception_raise): Introduce exception information for I386 and
671         X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
673 2006-12-08  Mike Stump  <mrs@apple.com>
675         * configure.ac: Fix x86 darwin builds.
676         * darwin_stop_world.c: Likewise.
677         * include/private/gcconfig.h: Likewise.
678         * connfigure: Regenerate.
679         
680 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
682         PR target/29180
683         * darwin_stop_world.c: Make stack_start unsigned long.
685 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
687         * os_dep.c: Port to Darwin/i386
688         * darwin_stop_world.c: Likewise
689         * include/private/gcconfig.h: Likewise
690         
691 2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>
693         * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
694         for gc 6.8.
695         * dyn_load.c: Likewise.
696         * include/gc.h: Likewise.
697         * private/gcconfig.h: Likewise.
698         * configure: Regenerate.
699         * include/gc_config.h.in: Regenerate.
701 2006-09-14  Tom Tromey  <tromey@redhat.com>
703         PR boehm-gc/29068.
704         * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
705         Solaris.
707 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
708         
709         PR libgcj/13212:
710         * configure.ac: Check for pthread_getattr_np(). Remove
711         GC_PTHREAD_SYM_VERSION detection.
712         * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
713         GC_get_thread_stack_base): New declarations.
714         * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
715         GC_get_thread_stack_base): New functions.
716         (GC_delete_thread): Don't try to free the first_thread.
717         * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
718         (pthread_create_, constr): Removed.
719         (pthread_create): Don't rename.
720         * include/gc_ext_config.h.in: Rebuilt.
721         * include/gc_pthread_redirects.h (pthread_create): Define 
722         unconditionally.
723         * include/gc_config.h.in: Rebuilt.
724         * configure: Rebuilt.
726 2006-06-21  Keith Seitz  <keiths@redhat.com>
728         * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
729         routine if signal is received and thread is flagged SUSPENDED.
730         (suspend_self): New function.
731         (GC_suspend_thread): New function.
732         (GC_resume_thread): New function.
733         * include/gc.h (GC_suspend_thread): Declare.
734         (GC_resumet_thread): Declare.
735         * include/private/pthread_support.h (SUSPENDED): New GC_thread
736         flag.
738 2006-06-20  Ranjit Mathew  <rmathew@gcc.gnu.org>
739         
740         Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
741         * os_dep.c (GC_wnt): Define.
742         (GC_init_win32): Set GC_wnt.
743         * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
744         sections also on Windows 9x/ME.
746 2006-06-02  Geoffrey Keating  <geoffk@apple.com>
748         * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
749         HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
750         HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
751         HAS_I386_THREAD_STATE___EAX.
752         * configure: Regenerate.
753         * include/gc_config.h.in: Regenerate.
754         * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
755         macro names to determine value.
756         (THREAD_STATE): New.
757         (THREAD_FLD): New.
758         (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
760 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
762         * Makefile.am: Add install-html target. 
763         * Makefile.in: Regenerate.
764         * aclocal.m4: Regenerate.
765         * include/Makefile.in: Regenerate.
767 2006-03-07  Andrew Haley  <aph@redhat.com>
769         * dyn_load.c (GC_has_static_roots): Declare.
770         (GC_register_dynlib_callback): Call GC_has_static_roots.
772 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
774         * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
775         GC_start_world): Call vm_deallocate to free act_list. Fix from
776         Bruce Mitchener.
778 2006-03-24  Andreas Tobler  <a.tobler@schweiz.ch>
779         John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
781         * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
782         Warn about POSIX threads not being supported for *-*-hpux10*.
783         * configure: Regenerate.
785 2006-02-09  Tom Tromey  <tromey@redhat.com>
787         * pthread_support.c: Conditionally include dlfcn.h.
789 2006-02-06  Jakub Jelinek  <jakub@redhat.com>
790             Anthony Green  <green@redhat.com>
791             Tom Tromey  <tromey@redhat.com>
793         * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
794         * include/gc_config.h.in: Rebuilt.
795         * include/gc_pthread_redirects.h (pthread_create): Conditionally
796         define.
797         * pthread_support.c (pthread_create_): New global.
798         (constr): New function.
799         (pthread_create): Conditionally renamed.
800         * configure: Rebuilt.
801         * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
803 2006-02-04  Alan Modra  <amodra@bigpond.net.au>
805         * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
806         use broken 64-bit version.
808 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
810         * darwin_stop_world.c: Change inline asm instruction to ld as ldz
811         is wrong.
813         * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
814         * Makefile.in: Regenerate.
816 2006-01-25  Bryce McKinlay  <mckinlay@redhat.com>
818         * include/private/gcconfig.h: Revert to GC 6.6 version, removing
819         all local changes.
821 2006-01-24  Bryce McKinlay  <mckinlay@redhat.com>
823         Import Boehm GC version 6.6.
825 2006-01-24  David Ayers  <d.ayers@inode.at>
827         PR libobjc/13946
828         * include/gc.h: Fix prototype declarations for bootstrap.
830 2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
832         * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
834 2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
836         * include/private/gc_locks.h (GC_test_and_set): Change the
837         constraint of the first operand to '0'.
839 2005-09-06  Tom Tromey  <tromey@redhat.com>
841         PR libgcj/23662:
842         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
843         HEURISTIC1 on ARM.
845 2005-07-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
847         * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
849 2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>
851         * os_dep.c: Add FreeBSD/PowerPC bits.
852         (GC_SysVGetDataStart): Likewise.
853         * include/private/gcconfig.h: Likewise.
855 2005-05-25  Andrew Haley  <aph@redhat.com>
857         * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
858         powerpc64-linux.
860 2005-05-09  Mike Stump  <mrs@apple.com>
862         * configure: Regenerate.
864 2005-04-19  Hans-Peter Nilsson  <hp@axis.com>
866         * os_dep.c, include/private/gc_locks.h: Import CRIS port by
867         Simon Posnjak from gc6.4.
868         * include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.
870 2005-04-17  David S. Miller  <davem@davemloft.net>
872         * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
873         * os_dep.c (GC_linux_stack_base): Check for bug present in some
874         Sparc glibc variants where __libc_stack_end is erroneously set
875         to "1".  Fallback to procfs code in that case.
877 2005-04-12  Mike Stump  <mrs@apple.com>
879         * configure: Regenerate.
881 2005-04-12  Richard Henderson  <rth@redhat.com>
883         * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
885 2005-03-23  Mike Stump  <mrs@apple.com>
887         * darwin_stop_world.c: Update for -m64 multilib.
888         * include/private/gcconfig.h: Likewise.
889         * powerpc_darwin_mach_dep.s: Likewise.
891 2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>
893         * Makefile.in, include/Makefile.in: Regenerate.
895 2005-02-26  Richard Earnshaw  <rearnsha@arm.com>
897         * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
898         ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
900 2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>
902         PR libgcj/19823
903         * configure.host: Set gc_use_mmap on *-linux*.
904         * configure.ac: Define USE_MMAP if gc_use_mmap is set.
905         * include/private/gc_priv.h: Include gc_config.h.
906         * configure, include/gc_config.h.in: Rebuilt.
908 2005-02-07  Hans Boehm  <Hans.Boehm@hp.com>
910         * allchblk.c (GC_allochblk_nth): Dont overlook available space if
911           GC disabled, correctly convert GC_finalizer_mem_freed to byte,
912           total_size to words.
913         * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
914           MEM_IMAGE regions.
915         * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
916           and indent appropriately.
917         * mark_rts.c (GC_approx_sp): Access stack.
918         * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
919           callee-saves registers when appropriate.
920           (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
922 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
924         * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h 
925         and include/gc_ext_config.h.
926         * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
927         * include/gc.h: Undef PACKAGE_* before including gc_config.h.
929 2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>
931         * configure: Regenerate.
933 2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>
935         PR libgcj/18699
936         Revert patches of 2004-11-26 and 2004-11-27.
938 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
940         * configure: Regenerate for libtool change.
942 2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
944         * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
946 2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>
948         Fix "PACKAGE_NAME redefined" errors.
949         * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h 
950         and include/gc_config.h.
951         * configure: Regenerated.
952         * include/gc_config.h.in: No longer auto-generated. Define only the
953         macros needed by libjava.
954         * include/config.h.in: Generated by autoheader.
955         * include/gc.h: Include config.h, not gc_config.h.
957 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
959         * configure: Regenerate for libtool reversion.
961 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
963         * configure: Regenerate for libtool change.
965 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
967         * configure.ac (machdep): Use sparc_mach_dep.lo on
968         sparc64-sun-solaris2.* too.
969         (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
970         * configure: Regenerate.
972 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
974         PR target/18444
975         * configure.ac (threading): Accept 'posix95'.
976         * configure: Regenerate.
978 2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>
980         * Makefile.am: Define ACLOCAL_AMFLAGS.
981         * configure.ac: Remove redundant sinclude.
982         * acinclude.m4: Delete file.
983         * aclocal.m4: Regenerate.
984         * Makefile.in, include/Makefile.in: Regenerate.
985         * configure: Regenerate.
987 2004-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
989         * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
990         Add prototype.
992 2004-10-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
994         * include/private/gcconfig.h: Add m32r-linux target.
996 2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>
998         * configure.ac: Update all AC_DEFINEs to newer style.
999         * configure: Regenerate.
1000         * include/gc_config.h.in: Regenerate.
1002 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
1004         * backgraph.c, gc_priv.h (GC_traverse_back_graph,
1005         GC_print_back_graph_stats): split GC_traverse_back_graph.
1006         * backgraph.c: Dynamically grow in_progress_space.
1007         * finalize.c (GC_notify_or_invoke_finalizers): also call
1008         GC_print_back_graph_stats.
1009         * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
1010         GC_print_back_height): Move delarations to header file.
1011         * configure.ac: rename --enable-full-debug to --enable-gc-debug.
1012         * configure: Regenerate.
1013         
1014 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
1016         * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
1017         * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
1019 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
1021         * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
1022         Reported by Danny Smith.
1024 2004-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
1026         * misc.c (GC_init): Replace lhs cast with rhs cast.
1028 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
1030         * specific.c: Check GC_LINUX_THREADS before including 
1031         private/specific.h. From Richard Earnshaw.
1033 2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1035         * aclocal.m4: Remove obsolete construct for old automake.
1036         * acinclude.m4: Regenerate with aclocal 1.9.1.
1037         * configure.ac:  Remove duplicate AC_WITH calls.  Replace
1038         AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
1039         Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
1040         Remove now-redundant subst of target_noncanonical.  Remove
1041         now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
1042         AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
1043         Use slightly more modern form of AC_INIT.
1044         * configure: Rebuild with autoconf 2.59.
1045         * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
1047 2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
1049         * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
1050         since they're not known at this time.
1051         * solaris_pthreads.c: Likewise.
1053 2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
1055         PR target/14931
1056         * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
1058 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
1060         * configure.ac (gc_cflags): Add -Iinclude.
1061         (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
1062         Don't write DEFS to boehm-cflags file.
1063         * configure: Rebuilt.
1064         * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
1065         * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
1066         * include/gc_config_macros.h: Remove backward-compatibility 
1067         redefinitions of GC_ names.
1068         * include/gc.h: Include <gc_config.h>.
1070 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
1072         Import Boehm GC version 6.3.
1074 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
1076         * include/Makefile.in: Regenerate
1078 2004-07-06  Andrew Pinski  <apinski@apple.com>
1080         * os-dep.c (GC_task_self): Declare as static
1081         and remove the second declaration.
1083 2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
1085         * Makefile.am: Add rule for .S files to fix bootstrap on
1086         solaris and alpha.
1087         * Makefile.in: Regenerate.
1089 2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
1091         * boehm-gc/configure.ac: New name of configure.in.
1092         Remove useless multilib stuff.  Change uses of
1093         INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
1094         * boehm-gc/configure.in: New name of configure.in.
1095         * boehm-gc/Makefile.am: Update for automake 1.8.5.
1096         * boehm-gc/acinclude.m4: Include ../config/acx.m4.
1097         * boehm-gc/aclocal.m4: Regenerate.
1098         * boehm-gc/configure: Regenerate.
1099         * boehm-gc/Makefile.in: Regenerate.
1101 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
1103         * .cvsignore: New file.
1105 2004-04-25  Andreas Jaeger  <aj@suse.de>
1107         * mark.c (GC_mark_from): Use pointer as prefetch argument.
1109 2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1111         * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
1112         for gcc >= 3.0.
1113         (PREFETCH_FOR_WRITE): Likewise.
1115 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
1117         * configure.ac: Bump AC_PREREQ to 2.59.
1118         * configure: Regenerate.
1119         * config.in: Regenerate.
1121 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
1123         * ltconfig, ltmain.sh: Remove unused files.
1124         * configure.in: Remove bogus extra early invocation of
1125         AC_CONFIG_AUX_DIR.
1126         * configure: Regenerate.
1127         * mkinstalldirs, install-sh, config.sub, config.guess:
1128         Remove (now) unused files.
1129         * Makefile.in: Regenerate (losing references to vanished
1130         files).
1132         * configure.in: Add CCAS, CCASFLAGS for future automakes.
1133         * configure, Makefile.in, include/Makefile.in: Regenerate.
1135         * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
1136         * Makefile.in: Regenerate.
1138         * configure.in: Remove bogus duplicate invocation of
1139         AM_MAINTAINER_MODE.  Remove obsolete comment.
1140         * configure: Regenerate.
1142         * acinclude.m4: Remove GC_CONFIGURE macro; move contents
1143         to configure.in.
1144         * aclocal.m4: Regenerate.
1145         * configure.in: Receive contents of GC_CONFIGURE macro.
1146         * configure: Regenerate.
1148         * configure.in: Remove more obsolete, bogus code.
1149         * configure: Regenerate.
1151         * acinclude.m4: Remove obsolete and bogus constructs.
1152         * aclocal.m4: Regenerate.
1153         * configure: Regnerate.
1155 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1157         * acinclude.m4: De-precious CC and CXX so that the right flags
1158         are passed down to multilibs.
1159         * aclocal.m4: Regenerate.
1160         * configure: Regenerate.
1162 2004-02-22  Zack Weinberg <zack@codesourcery.com>
1163             Nathanael Nerode <neroden@twcny.rr.com>
1164             Alexandre Oliva <aoliva@redhat.com>
1166         * config.sub, config.guess: Replace with forwarding scripts
1167         which invoke the master copies in the top level.
1169 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1171         * acinclude.m4: Remove old no-executables workaround;
1172         add new no-executables workaround.
1173         * aclocal.m4: Regenerate.
1174         * configure.in: Change prereqs to autoconf 2.57.
1175         * configure: Regenerate with autoconf 2.57.
1177         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
1178         * configure: Regenerate.
1179         * Makefile.am: Use target_noncanonical variable from configure.
1180         * Makefile.in: Regenerate.
1181         * include/Makefile.in: Regenerate.
1183 2004-02-20  Andrew Cagney  <cagney@redhat.com>
1185         * config.guess: Update from version 2002-01-10 to 2004-02-16.
1186         * config.sub: Update from version 2002-01-02 to 2004-02-16.
1188 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
1190         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
1191         * aclocal.m4: Rebuild.
1192         * configure: Regenerate.
1194         * acinclude.m4: Move certain code to configure.in.
1195         * configure.in: Receive code from acinclude.m4.
1196         * aclocal.m4: Rebuild.
1197         * configure: Regenerate.
1199         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
1201 2004-01-20  Andrew Haley  <aph@redhat.com>
1203         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
1205         * configure.in: Comment change.
1207 2004-01-16  Andrew Haley  <aph@redhat.com>
1209         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
1210         add for ia64; remove for MIPS.
1211         * configure: Regnerated.
1213 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
1215         * configure.in: Add in AC_PREREQ(2.13)
1217 2004-01-07  Dave Jones <davej@redhat.com>
1219         * malloc.c (GC_generic_malloc): Correct initialization typo.
1220         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
1222 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
1224         * include/private/gcconfig.h: Re-install change of 2003-04-16.
1226 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1228         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
1229         _MIPS_SIM_ABI32.
1231 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
1233         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
1234         unsure comment.
1236 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
1238         * configure: Rebuild.
1240 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
1242         * configure.in: Remove NO_GETENV definition for win32.
1243         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
1244         * misc.c (GC_init_inner): Call GC_thr_init for win32.
1245           (GC_set_warn_proc): Add assertion.
1246         * win32_threads.c: Import 6.3alpha2 version.
1247         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
1249 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1251         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
1252         2.3/SPARC, there are no micro versions.
1253         Treat Solaris 10 and up alike.
1254         * configure: Regenerate.
1256 2003-09-22  Anthony Green  <green@redhat.com>
1258         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
1259         "NOSYS" targets.
1261 2003-09-20    <green@redhat.com>
1263         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
1264         check for __arm__ or __thumb__.
1266 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1268         * configure: Regenerate.
1270 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1271             Roger Sayle <roger@eyesopen.com>
1273         * configure.in: Set INCLUDES to absolute path.
1274         Save $INCLUDES in boehm-cflags, too.
1275         Set INCLUDES so it's available to config.status.
1276         * configure: Regenerate.
1278 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
1280         * include/gc.h (GC_CreateThread): Declare with WINAPI
1281         attribute.
1282         * win32_threads.c (GC_CreateThread): Make definitions consistent
1283         with declaration.  Cast &thread_table[i].handle to PHANDLE
1284         in call to DuplicateHandle
1285         (thread_start): Declare as static.
1287 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
1289         * dyn_load.c: Define __private_extern__ to match Apple's system
1290         header.
1292 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
1294         * os_dep.c: Remove redundancy introduced in last merge.
1296 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
1298         Import GC 6.3alpha1.
1299         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
1300         * ChangeLog: Likewise.
1301         * Makefile.am: Likewise.
1302         * Makefile.direct: Likewise.
1303         * Makefile.dj: Likewise.
1304         * allchblk.c: Likewise.
1305         * alloc.c: Likewise.
1306         * backgraph.c: Likewise.
1307         * configure.host: Likewise.
1308         * configure.in: Likewise.
1309         * dbg_mlc.c: Likewise.
1310         * dyn_load.c: Likewise.
1311         * finalize.c: Likewise.
1312         * gc_cpp.cc: Likewise.
1313         * gc_dlopen.c: Likewise.
1314         * gcj_mlc.c: Likewise.
1315         * if_mach.c: Likewise.
1316         * mach_dep.c: Likewise.
1317         * malloc.c: Likewise.
1318         * mallocx.c: Likewise.
1319         * mark.c: Likewise.
1320         * mark_rts.c: Likewise.
1321         * misc.c: Likewise.
1322         * os_dep.c: Likewise.
1323         * ptr_chck.c: Likewise.
1324         * reclaim.c: Likewise.
1325         * solaris_pthreads.c: Likewise.
1326         * solaris_threads.c: Likewise.
1327         * sparc_mach_dep.S: Likewise.
1328         * threadlibs.c: Likewise.
1329         * typd_mlc.c: Likewise.
1330         * version.h: Likewise.
1331         * win32_threads.c: Likewise.
1332         * Mac_files/MacOS_Test_config.h: Likewise.
1333         * Mac_files/MacOS_config.h: Likewise.
1334         * cord/cordbscs.c: Likewise.
1335         * cord/cordprnt.c: Likewise.
1336         * cord/de_win.c: Likewise.
1337         * doc/README: Likewise.
1338         * doc/README.MacOSX: Likewise.
1339         * doc/README.changes: Likewise.
1340         * doc/README.environment: Likewise.
1341         * doc/README.ews4800: Likewise.
1342         * doc/README.linux: Likewise.
1343         * doc/README.macros: Likewise.
1344         * doc/README.win32: Likewise.
1345         * doc/debugging.html: Likewise.
1346         * doc/gcdescr.html: Likewise.
1347         * doc/tree.html: Likewise.
1348         * include/Makefile.in: Likewise.
1349         * include/gc.h: Likewise.
1350         * include/gc_cpp.h: Likewise.
1351         * include/gc_local_alloc.h: Likewise.
1352         * include/gc_mark.h: Likewise.
1353         * include/gc_pthread_redirects.h: Likewise.
1354         * include/gc_typed.h: Likewise.
1355         * include/new_gc_alloc.h: Likewise.
1356         * include/private/dbg_mlc.h: Likewise.
1357         * include/private/gc_hdrs.h: Likewise.
1358         * include/private/gc_locks.h: Likewise.
1359         * include/private/gc_pmark.h: Likewise.
1360         * include/private/gc_priv.h: Likewise.
1361         * include/private/gcconfig.h: Likewise.
1362         * include/private/solaris_threads.h: Likewise.
1363         * include/private/specific.h: Likewise.
1364         * tests/test.c: Likewise.
1365         * tests/test_cpp.cc: Likewise.
1367         * configure: Rebuild.
1368         * Makefile.in: Rebuild.
1370         * mips_sgi_mach_dep.s: Add.
1372         * alpha_mach_dep.s: Remove.
1373         * irix_threads.c: Remove.
1374         * linux_threads.c: Remove.
1375         * mips_sgi_mach_dep.S: Remove.
1376         * missing: Remove.
1377         * powerpc_macosx_mach_dep.s: Remove.
1378         * doc/Makefile.am: Remove.
1379         * doc/Makefile.in: Remove.
1381 2003-07-25  Roger Sayle  <roger@eyesopen.com>
1383         * configure.host: Only use +ESdbgasm when using the HPUX native
1384         compiler on PA-Risc.  It isn't recognized by GCC and is silently
1385         ignored by HP's compilers on ia64.
1387 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
1389         * configure.in: define GC_DLL under mingw if --enable-shared
1390         * configure: rebuilt
1391         * win32_threads.c: add #ifdef GC_DLL around DllMain
1393 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1395         * include/private/gcconfig.h: Add support for arm-netbsdelf.
1397 2003-04-09  Tom Tromey  <tromey@redhat.com>
1399         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1400         POWERPC.
1401         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1403 2003-03-22  Richard Henderson  <rth@redhat.com>
1405         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1406         (GC_test_and_set): Use __sync_lock_test_and_set.
1407         (GC_clear): Use volatile assignment.
1408         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1409         (GC_memory_write_barrier): Use __sync_synchronize.
1411 2003-03-12  Andreas Schwab  <schwab@suse.de>
1413         * configure.in: Avoid trailing /. in toolexeclibdir.
1414         * configure: Rebuilt.
1416 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
1417         * include/private/gcconfig.h (GC_data_start): declare when needed.
1418         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1419         declaration.
1420         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1421         GC_register_dynlib_callback): Register main data for static
1422         executable if dl_iterate_phdr() didn't.
1423         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1424         if we don't expect to register main static data.
1426 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
1427         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1428         (GC_push_roots): explicitly mark free list headers, register
1429         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1430         * alloc.c (GC_stopped_mark): Conditionally call
1431         GC_cond_register_dynamic_libraries().
1432         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1433         * dyn_load.c (GC_register_main_static_data): define.
1434         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1435         no longer skip main data.
1436         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1437         (GC_init_inner): Make main data registration conditional.
1438         * include/private/gc_priv.h (GC_register_main_static_data): declare.
1439         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1440         for LINUX.
1442 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1444         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1445         config.status.
1446         * configure: Rebuilt.
1448 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
1450         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1452 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1454         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1455         Remove USE_LIBDIR conditional.
1456         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1457         * Makefile.in, configure: Rebuilt.
1459 2002-12-31  Tom Tromey  <tromey@redhat.com>
1461         For PR libgcj/8933:
1462         * include/Makefile.in: Rebuilt.
1463         * include/Makefile.am (noinst_HEADERS): Renamed from
1464         include_HEADERS.
1466 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1468         * ltconfig (osf[345]): Append $major to soname_spec.
1469         Reflect this in library_names_spec.
1470         * ltmain.sh (osf): Prefix $major with . for use as extension.
1472 2002-10-02  Andreas Jaeger  <aj@suse.de>
1474         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1476 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
1478         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
1479         check for __arm__ or __thumb__.
1481 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
1483         * include/private/gcconfig: Add machine type S390.  Add s390x support.
1484         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1485         (GC_compare_and_exchange): Likewise.
1487 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
1489         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1491 2002-08-23  Adam Megacz <adam@xwt.org>
1493         * win32_threads.cc: Removed extraneous ABORT()
1495 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1497         * Makefile.am (all-multi): Fix multilib parallel build.
1499 2002-07-18  Bo Thorsen  <bo@suse.de>
1501         * include/private/gcconfig.h: Add x86-64 definitions.
1502         * os_dep.c: Add x86-64 support.
1503         * configure.in: Likewise.
1504         * configure: Regenerate.
1506 2002-07-18  H.J. Lu <hjl@gnu.org>
1508         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1510 2002-07-18  H.J. Lu  (hjl@gnu.org)
1512         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1513         Linux/mips.
1515 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
1516             Jonathan Clark
1518         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1520 2002-06-09  H.J. Lu  (hjl@gnu.org)
1522         * include/private/gc_locks.h (GC_test_and_set): Support
1523         Linux/mips.
1524         (GC_TEST_AND_SET_DEFINED): Likewise.
1526         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1527         Linux/mips.
1528         (DATAEND): Likewise.
1529         (LINUX_STACKBOTTOM): Likewise.
1530         (STACKBOTTOM): Removed for Linux/mips.
1532 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
1534         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1535         (GC_pthread_create): Fix typo.
1536         (GC_TRY_LOCK): Likewise.
1537         * include/private/gc_locks.h (GC_test_and_set): Only take one
1538         one argument.
1539         (LOCK): Adjust appropriately.
1540         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1541         _SIGRTMIN is unavailable.
1543 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1545         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1546         * aclocal.m4: Regenerate.
1547         * configure: Regenerate.
1549 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1551         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1552         script entry, and set LD to it when configuring multilibs.
1553         * configure: Rebuilt.
1555 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1557         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1558         (noinst_LTLIBRARIES): Add libgcjgc.la.
1560         * Makefile.in: Rebuild.
1562 2002-04-22  David S. Miller  <davem@redhat.com>
1564         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1565         64-bit SPARC Linux, the __libc_stack_end technique does
1566         not work in this case.
1568 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1570         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1572 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
1574         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1575         SPARC Linux.
1577 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
1579         * include/private/gcconfig.h (DATAEND): Update comment example
1580         to match reality.
1582 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
1584         * include/private/gcconfig.h (DATAEND): Clarify comment.
1586 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
1588         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1589         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1590         declare.
1591         * allchblk.c (GC_allchblk_nth): Change text and support reduced
1592         frequency for blacklist warning message.
1593         * misc.c (GC_large_alloc_warn_interval,
1594         GC_large_alloc_warn_suppressed): define.
1595         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1596         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1597         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1598         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1600         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1602 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
1604         * include/private/gcconfig.h: Add support for an unmapped
1605         memory hole between the end of the initialized data segment
1606         and the start of the BSS on FreeBSD/i386.
1608 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
1610         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1611         NetBSD/i386.
1613 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
1615         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1616         (GC_local_gcj_malloc): Add assertion.
1617         (start_mark_threads): Fix abort message.
1618         * mark.c (GC_mark_from): Generalize assertion.
1619         * reclaim.c (GC_clear_fl_links): New function.
1620         (GC_start_reclaim): Must clear some freelist links.
1621         * include/private/specific.h, specific.c: Add assertions.
1622         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
1623         Rearrange tse fields.
1625 2002-03-27  Richard Henderson  <rth@redhat.com>
1627         * os_dep.c (GC_init_linux_data_start): Fix references to
1628         __data_start and _end.
1630 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
1632         * include/private/gcconfig.h: Change all likely references
1633         to linker script synthesized symbols to use this idiom:
1634         extern int etext[]; etext
1636 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
1638         * linux_threads.c (GC_get_nprocs): Close file descriptor.
1640 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
1642         * include/private/gcconfig.h: Add unified test for FreeBSD.
1643         Support FreeBSD/alpha.
1644         * os_dep.c: Do not include <machine/trap.h> unless available.
1645         (GC_freebsd_stack_base): Fix types.
1647 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1649         * Makefile.am: Make a convenience library.
1650         * Makefile.in: Rebuilt.
1652 2002-03-15  Anthony Green  <green@redhat.com>
1654         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1655         * configure.in: Disable use of getenv for win32 targets (some of
1656         which have broken implementations).
1657         * configure: Rebuilt.
1659 2002-03-12  Adam Megacz  <adam@xwt.org>
1661         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1662         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1663         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1664         statically initialized it to TRUE if compiling with GCC.
1665         * win32_threads.c (thread_start): We no longer use SEH if
1666         compiling with GCC.
1667         * mark.c (GC_mark_some): We no longer use SEH if
1668         compiling with GCC.
1670 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1672         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1673         support is enabled, for hash synchronization.
1675 2002-02-24  Adam Megacz  <adam@xwt.org>
1677         * Makefile.am: Added win32_threads.c to sources list.
1678         * win32_threads.c: Added two */'s which I had neglected.
1680 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1682         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1683         * Makefile.in: Rebuilt.
1685 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1687         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1689         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1690         preprocessor file.
1691         * mips_sgi_mach_dep.S: Likewise.
1692         * Makefile.am: Update for above changes.
1693         * Makefile.in: Rebuilt.
1695 2002-02-12  Richard Henderson  <rth@redhat.com>
1697         * configure.in: Re-apply 2001-06-26 configure change.
1698         * configure: Rebuild.
1700 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1702         Imported GC 6.1 Alpha 3.
1704         * sparc_mach_dep.S: Delete incorrectly named file.
1706 2001-02-11  Adam Megacz <adam@xwt.org
1708         * configure.in: support for win32, saner
1709         cross-compile options
1711 2001-02-08  Anthony Green  <green@redhat.com>
1713         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1714           board embedded targets.
1715         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1716           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
1717           redundant uses of ECOS.
1718         * misc.c: Use NOSYS where ECOS is being used.
1719           Don't define GC_write twice for ECOS systems.
1720           (GC_write): New function for NOSYS targets.
1722 2002-02-06  Adam Megacz <adam@xwt.org>
1724         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1725         now exposed on all Win32 platforms.
1726         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1727         compiles on Win32; it invokes CreateThread() if GC is built
1728         as a DLL; otherwise it registers the thread.
1729         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1730         libgcjgc was not built as a DLL.
1732 2002-02-01  Adam Megacz <adam@xwt.org>
1734         * boehm-gc on win32 now automatically detects if it is being built
1735         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1737 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
1739         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1740         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1741         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
1742         DATASTART and DATAEND roots.
1743         * rs6000_mach_dep.s: Add function descriptor and traceback table.
1745 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
1747         * dyn_load.c: Define ElfW (if needed) for all targets,
1748         not just GNU/Linux.
1749         (GC_FirstDLOpenedLinkMap): Use it.
1750         (GC_register_dynamic_libraries_dl): Use it.
1751         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1752         for sparcv9.
1754 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1756         PR other/3725
1757         * configure.in: Add AC_SUBST(target_alias).
1758         * configure: Regenerated.
1760 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1762         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1763         case for GC_FREEBSD_THREADS.
1764         * configure.in (*-*-freebsd*): Clarify warning.
1765         * configure: Rebuilt.
1767 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
1768             Andreas Tobler <toa@pop.agri.ch>
1770         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1772 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1774         * linux_threads.c (GC_init_parallel): Do not declare as a static
1775         constructor.
1776         * include/gc.h (GC_init): Declare here. Add description.
1777         * include/private/gc_priv.h (GC_init): Remove declaration.
1779 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1781         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1782         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1783         GC_FREEBSD_THREADS, handle strange interaction between system
1784         pthread implementation and boehm-gc signal-handler architecture.
1785         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1786         set stack.
1787         * include/private/gcconfig.h (configuration keyed off FREEBSD):
1788         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
1789         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1791 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1793         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1794         * Makefile.in: Rebuilt.
1796 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1798         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1799         merged local changes.
1801 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1803         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1804         Solaris 2/Intel definition.
1806         * configure.in (i?86-*-solaris2.[89]*): Define
1807         SOLARIS25_PROC_VDB_BUG_FIXED.
1808         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1809         * configure: Regenerate.
1811         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1812         (DATAEND): Define using _end.
1814 2001-09-11  Per Bothner  <per@bothner.com>
1816         * include/Makefile.am:  New file.  It defines include_HEADERS.
1817         * Makefile.am (SUBDIRS):  New macro, set to include.
1818         * configure.in (AC_OUTPUT):  Add include/Makefile.
1820 2001-08-20  Tom Tromey  <tromey@redhat.com>
1822         * configure: Rebuilt.
1823         * configure.in: Always ask gcc for threads package.
1825 2001-08-17  Tom Tromey  <tromey@redhat.com>
1827         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1828         merged local changes.
1830 2001-08-02  David Billinghurst <David.Billinghurst>
1832         * configure: Rebuilt.
1833         * configure.in:  POSIX threads on cygwin does not link with
1834         -lpthreads.
1836 2001-07-03  Tom Tromey  <tromey@redhat.com>
1838         Fix for PR bootstrap/3281:
1839         * aclocal.m4, configure, Makefile.in: Rebuilt.
1840         * acinclude.m4: Set mkinstalldirs for in-tree build.
1842 2001-06-26  Richard Henderson  <rth@redhat.com>
1844         * alpha_mach_dep.s: Mark call-saved FP registers.
1845         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1846         * configure.in (alpha*): Re-enable alpha_mach_dep.s
1847         * configure: Rebuild.
1849 2001-06-12  Tom Tromey  <tromey@redhat.com>
1851         * aclocal.m4, configure: Rebuilt.
1852         * acinclude.m4: Find configure.host in srcdir.
1854 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
1856         * configure.in (AC_EXEEXT): Work around in case it expands to
1857         nothing, as in autoconf 2.50.
1858         * acinclude.m4: Likewise.
1859         * aclocal.m4, configure: Rebuilt.
1861 2001-06-07  Tom Tromey  <tromey@redhat.com>
1863         For PR bootstrap/3075:
1864         * configure, aclocal.m4, Makefile.in: Rebuilt.
1865         * configure.in: Don't call AC_CONFIG_AUX_DIR or
1866         AC_CANONICAL_SYSTEM.
1867         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1868         AC_CANONICAL_SYSTEM here.
1869         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1870         boehm_gc_basedir.
1872 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1874         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1875         (libgcjgc_la_SOURCES): Remove typo.
1876         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1877         * Makefile.in: Rebuilt.
1879 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1881         Imported version version 6.0alpha7.
1883         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1884         README.amiga, README.debugging, README.dj, README.hp, README.linux,
1885         README.rs6000, README.sgi, README.solaris2, README.uts,
1886         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1887         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1888         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1889         hpux_irix_threads.c, makefile.depend, nursery.c,
1890         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1891         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1892         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1893         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1894         files.
1896 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
1898         * configure.host: Build with -fexceptions.
1899         * linux_threads.c: Remember which thread stopped world for
1901 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
1902             with final tuning by Bryce McKinlay
1904         * configure.in: Add support for --enable-threads=posix on FreeBSD.
1905         * configure: Rebuilt.
1907 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
1909         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1910         (GC_noop1): Change declaration to take one argument.
1912 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1914         * configure.in: Obtain THREADS with `gcc -v'.
1915         * configure: Rebuilt.
1917 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
1919         * misc.c: Back out buggy changes to stack clearing code.
1920         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1921         spent clearing memory.
1923 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
1925         * finalize.c:
1926         - Accomodate finalization requests for static objects.
1927           (Will be required by hash synchronization.  May be needed
1928           in some configurations now.)
1930         * gc_priv.h:
1931         - Define MIN_WORDS.  All allocation requests are rounded
1932           up to at least this size.  Removes a subtle assumption that
1933           Java objects have a 2 word header.
1935         * gcconfig.h:
1936         - Adjust Linux/IA64 configuration for non-ancient kernels.
1937           (Necessary fix for IA64.)
1939         * linux_threads.c:
1940         - Fix syntax error in currently unused code.  Will be needed
1941           for Linux/PA-RISC.
1943         * malloc.c:
1944         - Handle MIN_WORDS.
1946         * misc.c:
1947         - Handle MIN_WORDS.
1948         - Change stack cleaning code to typically clear about one tenth
1949           the memory it used to in the threads configuration.  Occasionally
1950           still clear more.  (This is really a fix for a long-standing
1951           and fairly significant performance bug with threads.)
1953         * os_dep.c:
1954         - Fix the code for finding the beginning of the data segment under
1955           Linux.  I believe this is necessary for some IA64 Linux
1956           distributions.  It will also helo other platforms, though those
1957           may additionally require a gcconfig.h adjustment.  (This basically
1958           works around the absence of a data_start or __data_start
1959           definition in glibc.)
1961         * test.c:
1962         - Handle rounding due to MIN_WORDS.
1964 2001-03-22  Tom Tromey  <tromey@redhat.com>
1966         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1968 2001-03-19  Tom Tromey  <tromey@redhat.com>
1970         * Makefile.in: Rebuilt.
1971         * Makefile.am (gctest_LDFLAGS): new macro.
1973 2001-03-16  Tom Tromey  <tromey@redhat.com>
1975         * Makefile.in: Rebuilt.
1976         * Makefile.am (TESTS_ENVIRONMENT): New macro.
1978 2001-01-23  Rod Stewart <stewart@lab43.org>
1980         * gcconfig.h: Check for `__arm__', not `arm'.
1982 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
1984         * configure.in: Rename THREADLIB to THREADLIBS.
1985         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1986         ensures that we link the correct version of the linuxthreads semaphore
1987         functions.
1988         * Makefile.in: Rebuilt.
1989         * configure: Rebuilt.
1991         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1992         list of signals which are not blocked during suspend in the NO_SIGNALS
1993         case.
1995 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
1997         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1999 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
2001         * Makefile.dist: Renamed from Makefile.orig.
2003 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2005         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
2006         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
2007         set accordingly.
2008         * Makefile.in: Rebuilt.
2009         * configure: Likewise.
2011 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
2013         * gcconfig.h: Add new case for powerpc EABI.
2014         [PPC]: Handle embedded OS for powerpc simulator.
2016 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
2018         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
2019         cross-compile configuration only.
2020         * Makefile.am: Build gcj_mlc.c.
2021         * configure, Makefile.in: Rebuilt.
2023 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
2025         * acinclude.m4: Include libtool macros from the top level.
2026         * aclocal.m4, configure: Rebuilt.
2028 2000-09-04  Anthony Green  <green@redhat.com>
2030         Fix for PR libgcj/230:
2031         * mark.c (GC_mark_from_mark_stack): Remove call to
2032         GC_debug_object_start.
2033         * gc_priv.h (GC_debug_object_start): Remove prototype.
2035 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
2037         * gcconfig.h [OSF1] (_end): Declare as `int'.
2039 2000-08-02  Tom Tromey  <tromey@cygnus.com>
2041         * gc_priv.h (GC_generic_malloc_inner): Prototype.
2042         (GC_generic_malloc): Likewise.
2043         (GC_add_to_black_list_normal): Likewise.
2044         (GC_find_header): Likewise.
2045         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
2046         * gc_mark.h (GC_find_start): Prototype.
2047         (GC_signal_mark_stack_overflow): Likewise.
2049 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
2051         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
2052         * configure: Rebuilt.
2054         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
2056 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
2058         Imported version 5.1.
2059         * acinclude.m4: Push version to 5.1.
2061 2000-06-19  Andrew Haley  <aph@cygnus.com>
2063         * os_dep.c (read): Pass two dummy args to syscall().
2065 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
2067         Imported 5.0 release version.
2068         * acinclude.m4: Increment version to 5.0.
2070 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
2072         Imported version 5.0alpha7.
2073         * acinclude.m4: Update version to 5.0a7.
2075 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
2077         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
2078         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
2079         - sparc glibc does not provide it.
2080         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
2081         Make STACKBOTTOM depend on the wordsize.
2082         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
2083         (struct frame): Declare on sparc*-linux*.
2084         (GC_save_callers): Bias the frame pointers if needed (sparc64).
2085         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
2086         Implement on sparc64.
2087         (GC_clear_stack_inner): Implement on sparc64.
2088         * gc_priv.h (GC_test_and_set): Implement for sparc.
2089         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
2090         GC_save_regs_in_stack on sparc.
2092 2000-04-23  Tom Tromey  <tromey@cygnus.com>
2094         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
2096 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
2098         Imported version version 5.0alpha6.
2099         * acinclude.m4: Bump version to 5.0a6.
2100         * configure.in: Don't use alpha_mach_dep.s.
2101         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
2102         obsolete files.
2103         * Makefile.am, Makefile.in: irix_threads.c is now
2104         hpux_irix_threads.c.
2105         * Makefile.orig: Updated from gc distribution Makefile.
2107 2000-03-26  Anthony Green  <green@redhat.com>
2109         * misc.c (GC_enable): Always define GC_enable and GC_disable.
2111 2000-02-14  Tom Tromey  <tromey@cygnus.com>
2113         * gc.h (dlopen): Define as GC_dlopen on Linux.
2114         (GC_dlopen): Declare on Linux.
2115         * dyn_load.c (GC_dlopen): Define for Linux.
2117 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
2119         * gcconfig.h (DATASTART): Add missing extern declaration
2120         for data_start on powerpc.
2122 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
2124         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
2125         NO_SIGNALS case.
2127 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
2129         * gcconfig.h: Define DATASTART for Alpha Linux.
2131 1999-12-19  Anthony Green  <green@cygnus.com>
2133         * gcconfig.h: Use libgcj hack for Alpha Linux.
2134         Undefine MPROTEXT_VDB (from Jeff Sturm).
2135         * os_dep.c: Remove Alpha Linux hacks.
2136         * misc.c: Ditto.
2138 1999-12-13  Tom Tromey  <tromey@cygnus.com>
2140         * aclocal.m4, configure: Rebuilt.
2141         * acinclude.m4: Changed version to 5.0a4.
2142         * Makefile.in: Rebuilt.
2143         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
2145 1999-12-12  Anthony Green  <green@cygnus.com>
2147         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
2148         Linux.
2149         (DYNAMIC_LOADING): Define for PowerPC Linux.
2150         * os_dep.c: Remove some special cases for PowerPC Linux.
2151         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
2152         for PowerPC Linux.
2154 1999-11-04  Tom Tromey  <tromey@cygnus.com>
2156         * Makefile.in: Rebuilt.
2157         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
2159         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
2160         (GC_thr_init): Don't declare.
2162         * configure: Rebuilt.
2163         * configure.in: Removed qt threads case.
2164         * dyn_load.c: Don't mention QUICK_THREADS.
2165         * os_dep.c: Don't mention QUICK_THREADS.
2166         * misc.c: Don't mention QUICK_THREADS.
2167         * gcconfig.h: Don't mention QUICK_THREADS.
2168         * gc_priv.h: Removed QUICK_THREADS code.
2169         * quick_threads.c: Removed.
2171 1999-11-03  Tom Tromey  <tromey@cygnus.com>
2173         * gcconfig.h: Merged in local changes from old config.h.
2175 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
2177         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
2179 1999-11-02  Tom Tromey  <tromey@cygnus.com>
2181         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
2183         * configure: Rebuilt.
2184         * configure.in: Don't create boehm-config.h.
2185         * Makefile.in: Rebuilt.
2186         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
2187         config.h.
2188         ($(all_objs)): Depend on gcconfig.h.
2189         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
2190         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
2191         * config.h: Removed.
2193 1999-11-01  Tom Tromey  <tromey@cygnus.com>
2195         * Makefile.in: Rebuilt.
2196         * Makefile.am (gctest_LDADD): Added THREADLIB.
2197         (TESTS): New macro.
2198         * configure: Rebuilt.
2199         * configure.in (INCLUDES): New subst.
2201 1999-09-29  Steve Chamberlain  <sac@pobox.com>
2203         * config.h: Added picoJava target.
2204         * mach_dep.h (GC_push_regs):  New code for picoJava.
2206 1999-09-28  Tom Tromey  <tromey@cygnus.com>
2208         * aclocal.m4, configure: Rebuilt.
2209         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
2210         appropriate AC_PROG_ symbol.
2212 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2214         * gc_priv.h:  IRIX thread changes from
2215         include/private/gc_priv.h.
2217 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2219         * Makefile.in: Rebuilt.
2220         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
2221         builds.
2223         * configure: Rebuilt.
2224         * configure.in: Properly align --help output, fix capitalization
2225         and punctuation.
2226         * acinclude.m4: Likewise.
2228 1999-08-04  Tom Tromey  <tromey@cygnus.com>
2230         * configure.in: Added missing `;;'.  From Anthony Green.
2232 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2234         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
2236 1999-08-03  Tom Tromey  <tromey@cygnus.com>
2238         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
2239         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2241 1999-08-02  Tom Tromey  <tromey@cygnus.com>
2243         * aclocal.m4, configure: Rebuilt for new libtool.
2245 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
2247         * mips_sgi_mach_dep.s: Enable PIC option.
2249 1999-07-19  Tom Tromey  <tromey@cygnus.com>
2251         * config.h (MPROTECT_VDB): Don't define on Linux.
2253 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
2255         * Makefile.am (.s.lo): Avoid `#line' directives.
2256         * Makefile.in: Rebuilt.
2258 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
2260         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
2261         generate *-recursive for this Makefile, use *-am instead.
2262         * Makefile.in: Rebuilt.
2264 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
2266         * Makefile.am (.s.lo): Renamed from `.s.o'.
2267         * Makefile.in: Rebuilt.
2269 1999-06-21  Tom Tromey  <tromey@cygnus.com>
2271         Alpha patch from Jeff Sturm:
2272         * os_dep.c (GC_init_linuxalpha): New function.
2273         * misc.c: Initialize for alpha linux.
2274         * gc_priv.h (GC_test_and_set): Define for alpha.
2275         * config.h: Don't assume __data_start on alpha.
2277         * Makefile.in: Rebuilt.
2278         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
2279         -release.
2281         * Makefile.in: Rebuilt.
2282         * Makefile.am (toolexeclibdir): Define as libdir when
2283         appropriate.
2284         * configure: Rebuilt.
2285         * configure.in (USE_LIBDIR): New conditional.
2287         * configure: Rebuilt.
2288         * configure.in: Recognize all forms of alpha.
2290 1999-06-17  Anthony Green  <green@cygnus.com>
2292         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
2293         Carlo Dapor <carlo@vis.ethz.ch>).
2295 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
2297         * configure.in: Switch from irix threads to posix threads
2298         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
2299         for mips architecture.
2300         * configure: Regenerate.
2302 1999-04-30  Tom Tromey  <tromey@cygnus.com>
2304         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
2306 1999-04-26  Tom Tromey  <tromey@cygnus.com>
2308         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2309         `weak'.
2311 1999-04-23  Tom Tromey  <tromey@cygnus.com>
2313         * Makefile.in, configure: Rebuilt.
2314         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2315         (libgcjgc_la_SOURCES): Renamed.
2316         (libgcjgc_la_LIBADD): Likewise.
2317         (libgcjgc_la_DEPENDENCIES): Likewise.
2318         (EXTRA_libgcjgc_la_SOURCES): Likewise.
2319         (gctest_LDADD): Use libgcjgc.la.
2320         (all_objs): Mention libgcj_la_OBJECTS.
2321         (EXTRA_LTLIBRARIES): Renamed.
2322         (toollib_LTLIBRARIES): Likewise.
2323         (libgcjgc_la_LDFLAGS): New macro
2324         (toolexecdir): Renamed.
2325         (toolexeclibdir): Likewise.
2326         (toolexeclib_LTLIBRARIES): Likewise.
2327         (LTCOMPILE): Renamed; added libtool invocation.
2328         (LINK): Added libtool invocation.
2329         (.s.o): use LTCOMPILE.
2330         * configure.in: Call AM_PROG_LIBTOOL.
2331         (target_all): Set to libgcjgc.la.
2332         Mention `.lo' forms of object files.
2334 1999-04-21  Tom Tromey  <tromey@cygnus.com>
2336         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2337         GC_stackbottom.
2339         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2340         sigcontext.h.  From Matthias Klose <doko@itso.de>.
2342 1999-04-16  Tom Tromey  <tromey@cygnus.com>
2344         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
2345         David Pettersson <dapet@mai.liu.se>
2347 1999-04-14  Tom Tromey  <tromey@cygnus.com>
2349         * configure: Rebuilt.
2350         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
2351         incorrect patch of 199-04-09.
2353         * configure: Rebuilt.
2354         * configure.in: Added support for alpha.
2355         From David Pettersson <dapet@mai.liu.se>.
2357 1999-04-13  Tom Tromey  <tromey@cygnus.com>
2359         * Makefile.in: Rebuilt.
2360         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2361         solaris-threads.h.
2363 1999-04-09  Tom Tromey  <tromey@cygnus.com>
2365         * configure: Rebuilt.
2366         * configure.in: Use sparc_mach_dep.s when building on Solaris.
2368 1999-02-23  Tom Tromey  <tromey@cygnus.com>
2370         * configure: Rebuilt.
2371         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
2372         SOLARIS_THREADS and _SOLARIS_PTHREADS.
2374 1999-02-18  Tom Tromey  <tromey@cygnus.com>
2376         * quick_threads.c (GC_push_all_stacks): Change order of arguments
2377         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
2378         for case where LO is NULL.
2380 1999-02-10  Tom Tromey  <tromey@cygnus.com>
2382         * aclocal.m4, configure, Makefile.in: Rebuilt.
2383         * acinclude.m4: Updated to be used with automake 1.4.
2384         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
2385         with automake 1.4.
2386         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2387         (libgcjgc_a_SOURCES): Likewise.
2388         (libgcjgc_a_LIBADD): Likewise.
2389         (libgcjgc_a_DEPENDENCIES): Likewise.
2390         (EXTRA_libgcjgc_a_SOURCES): Likewise.
2391         (gctest_LDADD): Likewise.
2392         (all_objs): Likewise.
2394 1999-01-08  Tom Tromey  <tromey@cygnus.com>
2396         * configure: Rebuilt.
2397         * configure.in: Define LINUX_THREADS if using POSIX threads on
2398         Linux.
2400         * gc_priv.h (GC_test_and_set): Put return type into definition.
2402 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
2404         * Makefile.am: add support for eCos.  In particular, add C++
2405         support for compiling the file ecos.cc.
2406         * ecos.cc: new file.
2407         * acinclude.m4: add C++ support.
2408         * aclocal.m4: likewise
2409         * config.h: add eCos support.
2410         * configure: likewise
2411         * configure.in: likewise
2412         * misc.c (GC_write): add eCos support.
2413         * os_dep.c (tiny_sbrk): add eCos support.
2415 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
2417         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2418         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2420 1998-11-23  Tom Tromey  <tromey@cygnus.com>
2422         * configure.host (boehm_gc_cflags): Don't add `-O2'.
2424 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
2426         * Makefile.am, Makefile.in, configure.host: tx39 build option
2427         "-G 0" added.
2429 1998-11-17  Tom Tromey  <tromey@cygnus.com>
2431         * configure: Rebuilt.
2432         * configure.in: Switch on host, not target.
2434 1998-11-16  Tom Tromey  <tromey@cygnus.com>
2436         * gc_priv.h (GC_debug_object_start): Declare.
2437         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2438         * gc.h (GC_debug_register_finalizer_no_order,
2439         GC_register_finalizer_no_order): Declare.
2440         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2441         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2442         (GC_debug_generic_malloc): Likewise.
2443         (GC_debug_object_start): new function.
2445 1998-11-11  Tom Tromey  <tromey@cygnus.com>
2447         * configure: Rebuilt.
2448         * configure.in: Recognize --enable-java-gc, not --enable-gc.
2450 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2452         * dyn_load.c: Handle QUICK_THREADS case.
2454 1998-10-21  Tom Tromey  <tromey@cygnus.com>
2456         * configure: Rebuilt.
2457         * configure.in: Put cpp defines here, not in config.h.  Recognize
2458         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
2459         define PACKAGE or VERSION.
2460         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2461         Don't define.
2463         * os_dep.c (GC_default_push_other_roots): Define when
2464         QUICK_THREADS defined.
2465         * misc.c: Added QUICK_THREADS case.
2466         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2467         * config.h (THREADS): Define if QUICK_THREADS defined.
2468         * Makefile.in: Rebuilt.
2469         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2470         quick_threads.c.
2471         * quick_threads.c: New file.
2473 1998-10-20  Tom Tromey  <tromey@cygnus.com>
2475         * aclocal.m4, configure: Rebuilt.
2476         * acinclude.m4: Don't subst machine_dir or sys_dir.
2477         * configure.host: Removed unused code.
2479 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
2481         * configure: Rebuilt.
2482         * configure.in: Fix typo in previous patch.
2484 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
2486         * Makefile.in, aclocal.m4, configure: Rebuilt.
2487         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2488         * configure.host: Created.
2490 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
2492         * Makefile.in: Rebuilt.
2493         * Makefile.am (lib_LIBRARIES): Use target_all.
2494         (EXTRA_LIBRARIES): New macro.
2495         * configure: Rebuilt.
2496         * configure.in: Recognize --enable-gc.
2498 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
2500         * Makefile.in: Rebuilt.
2501         * Makefile.am (COMPILE): Define.
2502         (LINK): Likewise.
2503         (.s.o): Use MY_CFLAGS.
2504         * configure: Rebuilt.
2505         * configure.in (MY_CFLAGS): Define and subst.
2507 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
2509         * configure: Rebuilt.
2510         * configure.in: Added --with-cross-host argument.  Use
2511         $with_cross_host to determine when cross-compiling.
2513         * config.h (SMALL_CONFIG): Don't define.
2514         * configure: Rebuilt.
2515         * configure.in: Define SMALL_CONFIG when cross-compiling.
2517 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
2519         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2520         allchblk.c: Merged with 4.13a2 while preserving local changes.
2522         * Makefile.orig: Updated from Makefile in 4.13a2.
2524         * configure: Rebuilt.
2525         * configure.in: Updated version number to 4.13a2.  On Solaris,
2526         don't build with -O when using gcc.
2528         Merged in version 4.13alpha2:
2529         * config.h (USE_MMAP): Re-enable on Solaris.
2530         * solaris_pthreads.c: Removed RCS Id line.
2531         * alpha_mach_dep.s: Removed RCS Id line.
2533 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
2535         * config.h (USE_MMAP): Don't define for Solaris.
2537 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
2539         * Makefile.in: Rebuilt.
2540         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2542         * Makefile.in: Rebuilt.
2543         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2545 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
2547         * Makefile.in: Rebuilt.
2548         * Makefile.am ($(all_objs)): Depend on config.h.
2550         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2551         DATASTART as &_etext.
2552         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2553         * configure: Rebuilt.
2554         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2555         tx39.
2557 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
2559         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2560         (GC_maybe_gc): Likewise.
2561         * os_dep.c: If NO_SIGSET defined, then have empty
2562         GC_disable_signals and GC_enable_signals.
2563         * configure: Rebuilt.
2564         * configure.in: Added --with-target-subdir option.  If
2565         cross-compiling, define NO_SIGSET and NO_CLOCK.
2567 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
2569         * Makefile.in: Rebuilt.
2570         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2571         (AS): Removed.
2572         * aclocal.m4, configure: Rebuilt.
2573         * acinclude.m4: New file.
2574         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
2576 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
2578         * configure: Rebuilt.
2579         * configure.in: Link boehm-config.h to config.h.
2580         * Makefile.in: Rebuilt.
2581         * Makefile.am (INCLUDES): Removed.
2582         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2583         JAVA_FINALIZATION): Define
2585 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
2587         * Many files: Use GC_bool, not bool.
2588         * gc_priv.h: Define GC_bool, not bool.
2590         * misc.c (GC_dont_gc): Define as int.
2591         (GC_quiet): Likewise.
2592         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2593         * alloc.c (GC_dont_expand): Define as int.
2594         * gc_priv.h: For gcc, define bool as char.
2596 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
2598         * Makefile.in: Rebuilt.
2599         * Makefile.am (check_PROGRAMS): New macro.
2600         (gctest_SOURCES): Likewise.
2601         (gctest_LDADD): Likewise.
2603 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
2605         * Makefile.in: Rebuilt.
2606         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2607         * configure: Rebuilt.
2608         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2610 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2612         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2613         New files.
2614         * Makefile.orig: Renamed from Makefile.