* configure: Regenerated.
[official-gcc.git] / boehm-gc / ChangeLog
blob57359f0beaff02ea1ac90156f302c3313e68c24e
1 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
3         * configure: Regenerated.
5 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7         * configure: Regenerated.
9 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11         Merge upstream changes
12         * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
13         (CPP_WORDSZ): Set to 32 for x32.
15 2012-02-27  Jack Howarth  <howarth@bromo.med.uc.edu>
16             Patrick Marlier  <patrick.marlier@gmail.com>
18         PR boehm-gc/48299
19         * testsuite/boehm-gc.c/thread_leak_test.c: Merge upstream changes.
21 2012-02-23  Patrick Marlier  <patrick.marlier@gmail.com>
22             Jack Howarth  <howarth@bromo.med.uc.edu>
24         PR boehm-gc/52179
25         * include/gc_config.h.in: Undefine HAVE_PTHREAD_GET_STACKADDR_NP.
26         * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with
27         pthread_get_stackaddr_np when available.
28         * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np.
29         * configure: Regenerate.
31 2012-02-10  Kai Tietz  <ktietz@redhat.com>
33         PR boehm-gc/48514
34         * include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
35         only, if we are actual in boehm-gc's build and DLL_EXPORT
36         is defined.
38 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
40         * configure: Regenerate.
42 2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
44         * configure.ac (THREADS): Remove posix95.
45         * configure: Regenerate.
47 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
49         PR target/39150
50         * configure.ac (i?86-*-solaris2.[89]): Also accept
51         x86_64-*-solaris2.1?.
52         * configure: Regenerate.
54 2011-06-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
56         PR libgcj/49451
57         * include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
58         (ELF_CLASS): Define.
59         * dyn_load.c [IRIX5]: Include <elf.h>.
60         Include <obj.h> for O32, <objlist.h> for N32, N64.
61         [SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
62         [SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
63         [IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
64         (__rld_obj_head): Declare.
65         (l_next, l_addr, obj_offset): Define.
66         (GC_FirstDLOpenedLinkMap): New function.
67         [SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
68         IRIX5.
69         Use obj_offset.
70         [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
71         (GC_register_dynamic_libraries): Don't use /proc version on IRIX5.
73 2011-04-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
75         * configure.ac (THREADS): Remove decosf1, irix, mach, os2.
76         * configure: Regenerate
78 2011-04-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
80         PR testsuite/48480
81         * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
82         to ranlib.
84 2011-03-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
86         PR boehm-gc/11412
87         * configure.ac (THREADCFLAGS): New variable.
88         Use it instead of INCLUDES, AM_CPPFLAGS.
89         <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
90         Remove DG/UX support.
91         (AC_CONFIG_FILES): Add testsuite/Makefile.
92         * Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
93         (SUBDIRS): Add testsuite.
94         (libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
95         (AM_CXXFLAGS): Add $(THREADCFLAGS).
96         (AM_CFLAGS): Likewise.
97         Remove TESTS related variables.
98         * Makefile.in: Regenerate.
99         * configure: Regenerate.
100         * testsuite/Makefile.am: New file.
101         * testsuite/Makefile.in: New file.
102         * testsuite/lib/boehm-gc.exp: New file.
103         * testsuite/config/default.exp: New file.
104         * testsuite/boehm-gc.c/c.exp: New file.
105         * testsuite/boehm-gc.lib/lib.exp: New file.
106         * tests/test.c: Move ...
107         * testsuite/boehm-gc.c/gctest.c: ... here.
108         * tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
109         tests/trace_test.c: Move ...
110         * testsuite/boehm-gc.c: ... here.
111         * testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
112         * tests/staticrootslib.c, tests/staticrootstest.c: Move ...
113         * testsuite/boehm-gc.lib: ... here.
114         * testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
115         staticrootslib.c.
116         * tests/test_cpp.cc: Move ...
117         * testsuite/boehm-gc.c++: ... here.
119 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
121         * configure.ac (THREADS): Remove solaris.
122         * configure: Regenerate.
124 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
126         * configure: Regenerate.
128 2011-02-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
130         * configure.ac: Don't use libdl on mips-sgi-irix6*.
131         * configure: Regenerate.
133 2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
135         * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
136         * configure: Regenerate.
138 2010-12-10  Iain Sandoe  <iains@gcc.gnu.org>
140         * powerpc_darwin_mach_dep.s:  Update for m64.  Add eh frames.
141         Do not build or use the picsymbol stub for Darwin >= 9.
142         * tests/test.c (reverse_test):  Modify count for ppc64-darwin.
143         * pthread_support.c (GC_get_thread_stack_base): Correct a debug
144         statement.
146 2010-11-29  Iain Sandoe  <iains@gcc.gnu.org>
147             Mike Stump  <mrs@gcc.gnu.org>
149         PR target/26427
150         PR target/33120
151         PR testsuite/35710
152         * dyn_load.c (GC_register_dynamic_libraries/DARWIN):  Add new writable
153         data section names.
154         (GC_dyld_name_for_hdr): Adjust layout.
155         (GC_dyld_image_add): Adjust layout, add new Darwin sections, adjust
156         debug to name the sections.
157         (GC_dyld_image_remove): Adjust layout, remove new Darwin sections,
158         adjust debug to name the sections.
159         (GC_register_dynamic_libraries): Adjust layout.
160         (GC_init_dyld): Likewise.
161         (GC_register_main_static_data): Likewise.
163 2010-10-29  Paolo Bonzini  <bonzini@gnu.org>
165         * configure: Regenerate.
167 2010-10-28  Paolo Bonzini  <bonzini@gnu.org>
169         * configure.ac: Rewrite DGUX check to use GC_CFLAGS, and -O0 check
170         to remove the need for MY_CFLAGS.
171         * Makefile.am: Do not use @...@ substitutions.  Use AM_CXXFLAGS,
172         AM_CFLAGS and AM_LDFLAGS instead of redefining LTCOMPILE and LINK.
173         Use "override" to disable -O2 when required.
174         * configure: Regenerate.
175         * Makefile.in: Regenerate.
176         * include/Makefile.in: Regenerate.
178 2010-10-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
180         * dyn_load.c: Fix typo.
181         * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
182         Use GC_printf0.
184 2010-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
186         * configure.ac (*-*-solaris2.8*): Only usr alternate thread
187         library on Solaris 8.
188         (*-*-solaris2*): Use regular thread library otherwise.
189         * configure: Regenerate.
191 2010-05-13  Uros Bizjak  <ubizjak@gmail.com>
193         * tests/leak_test.c (main): Declare as int.  Return 0.
194         * tests/thread_leak_test.c (main): Ditto.
195         * tests/trace_test.c (main): Ditto.
197 2010-05-06  Dave Korn  <dave.korn.cygwin@gmail.com>
199         PR target/42811
200         * tests/staticrootstest.c: New test source file.
201         * tests/staticrootslib.c: New test library source file.
202         * Makefile.am (test_ldadd): New variable.
203         (gctest_LDADD): Use it.
204         (TESTS): Add leaktest, middletest and staticrootstest.
205         (check_PROGRAMS): Likewise.
206         (leaktest_SOURCES): New libtool variable definition.
207         (leaktest_LDADD): Likewise.
208         (leaktest_LDFLAGS): Likewise.
209         (leaktest_LINK): Likewise.
210         (middletest_SOURCES): Likewise.
211         (middletest_LDADD): Likewise.
212         (middletest_LDFLAGS): Likewise.
213         (middletest_LINK): Likewise.
214         (staticrootstest_SOURCES): Likewise.
215         (staticrootstest_LDADD): Likewise.
216         (staticrootstest_LDFLAGS): Likewise.
217         (staticrootstest_LINK): Likewise.
218         (check_LTLIBRARIES): Likewise.
219         (libstaticrootslib_la_SOURCES): Likewise.
220         (libstaticrootslib_la_LIBADD): Likewise.
221         (libstaticrootslib_la_LDFLAGS): Likewise.
222         (libstaticrootslib_la_DEPENDENCIES): Likewise.
223         * Makefile.in: Regenerate.
225 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
227         * Makefile.in: Regenerate.
228         * aclocal.m4: Regenerate.
229         * include/Makefile.in: Regenerate.
231 2010-03-21  Dave Korn  <dave.korn.cygwin@gmail.com>
233         PR target/42811 (prerequisite)
234         * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
235         declare r_next member on Cygwin as on other windows hosts.
236         (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
237         (RT_SIZE) [CYGWIN32]: Likewise.
238         (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
239         likewise.
240         (GC_heap_bases) [CYGWIN32]: Do define likewise.
241         (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
242         (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
243         (GC_n_heap_bases) [CYGWIN32]: Likewise.
244         (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
245         * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
246         (GET_MEM) [CYGWIN32]: Do define likewise.
247         * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
248         registration likewise.
249         * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
250         (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
251         other windows hosts.
252         (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
253         (GC_n_heap_bases) [CYGWIN32]: Likewise.
254         (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
255         (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
256         rather than GlobalAlloc/VirtualAlloc.
257         (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
258         of GlobalFree (even though the function body is optimised away).
259         * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
260         other windows hosts.
261         (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
262         intervals likewise.
263         (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
264         (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
265         (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
266         (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
267         (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
268         (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
269         roots and dynamic registration likewise.
270         * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
271         other windows hosts.
272         (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
273         (GC_cond_add_roots) [CYGWIN32]: Likewise.
274         (GC_register_main_static_data) [CYGWIN32]: Define to always return
275         false, as on MSWINCE
276         (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
277         windows hosts.
278         (GC_warn_fb) [CYGWIN32]: Likewise.
279         (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
280         (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
281         (GC_ignore_fb) [CYGWIN32]: Likewise.
282         (is_frame_buffer) [CYGWIN32]: Likewise.
283         (GC_dump_meminfo) [CYGWIN32]: Likewise.
284         (GC_wnt) [CYGWIN32]: Define to constant true.
285         (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
286         windows hosts.
288 2009-12-09  Matthias Klose  <doko@ubuntu.com> 
290         * include/private/gc_locks.h: For __ARM_EABI__ define
291         GC_test_and_set  GC_clear to use the atomic builtins.
293 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
295         * Makefile.in: Regenerate.
296         * configure: Regenerate.
297         * include/Makefile.in: Regenerate.
299 2009-11-30  Ben Elliston  <bje@au.ibm.com>
301         * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
302         compiling with GCC rather than taking the address of a local
303         variable.
305 2009-11-30  Ben Elliston  <bje@au.ibm.com>
307         * os_dep.c: Use the POSIX signal API in preference to the BSD API.
308         Generate a compilation error if neither the POSIX nor BSD APIs can
309         be detected.
311 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
313         * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
314         (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
315         so that library dependency resolution works with portable make.
316         * Makefile.in: Regenerate.
318 2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
320         * configure: Rebuilt with modified libtool.m4.
322 2009-09-03  Loren J. Rittle  <ljrittle@acm.org>
324         * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
325         Define for FreeBSD 7.0+.
327 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
329         * configure.ac (AC_PREREQ): Bump to 2.64.
331 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
333         * Makefile.am (install-html, install-pdf): Remove.
334         * Makefile.in: Regenerate.
336         * Makefile.in: Regenerate.
337         * aclocal.m4: Regenerate.
338         * configure: Regenerate.
339         * include/Makefile.in: Regenerate.
340         * include/gc_config.h.in: Regenerate.
342 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
344         * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
345         and $(LIBTOOLFLAGS).
346         * Makefile.in: Regenerate.
348 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
350         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
352 2009-07-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
354         PR boehm-gc/40785
355         * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
356         the __sync_lock_test_and _set and __sync_lock_release builtins on
357         the powerpc.  If not GCC 4.4, fix up the constraints so that it
358         builds without error.
359         (GC_clear): Ditto.
361 2009-07-17  Kai Tietz  <kai.tietz@onevision.com>
363         * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
364         cflags.
365         * configure: Regenerated.
367 2009-05-17  Dave Korn  <dave.korn.cygwin@gmail.com>
369         * win32_threads.c (GC_get_thread_stack_base):  Implement for Cygwin.
371 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
373         * configure: Regenerate.
375 2009-02-09  Mark Mitchell  <mark@codesourcery.com>
377         * Makefile.am (LTLDFLAGS): New variable.
378         (LINK): Use it.
379         * Makefile.in: Regenerated.
381 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
383         * configure: Regenerate.
385 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
386             Steve Ellcey  <sje@cup.hp.com>
388         * configure: Regenerate for new libtool.
389         * Makefile.in: Ditto.
390         * include/Makefile.in: Ditto.
391         * aclocal.m4: Ditto.
393 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
395         * configure.ac (AC_CONFIG_FILES): Add threads.mk. 
396         * threads.mk.in: New. 
397         * Makefile.in, configure: Regenerate. 
399 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
401         * Makefile.in: Regenerate.
402         * configure: Regenerate.
403         * include/Makefile.in: Regenerate.
404         * include/gc_config.h.in: Regenerate.
406 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
408         PR bootstrap/35457
409         * aclocal.m4: Regenerate.
410         * configure: Regenerate.
412 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
414         * aclocal.m4: Regenerate.
415         * configure: Likewise.
416         * Makefile.in: Likewise.
417         * include/Makefile.in: Likewise.
419 2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>
421         * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
422         GC_GETSECTBYNAME instead.
423         * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
424         architecture (Darwin).
426 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
428         * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
430 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
432         * configure: Regenerate.
434 2007-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
436         PR boehm-gc/33442
437         * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
438         up, return stack_addr instead of stack_addr - stack_size.
440 2007-08-14  David Daney  <ddaney@avtrex.com>
442         * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
444 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
446         * aclocal.m4: Regenerated.
448 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
450         PR boehm-gc/21940
451         PR boehm-gc/21942
452         * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
453         Use alternate thread library in /usr/lib/lwp.
454         * configure: Regenerate.
455         * dyn_load.c: Use GC_SOLARIS_PTHREADS.
456         * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
457         * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
458         (GC_SOLARIS_THREADS): Don't define.
459         * include/private/solaris_threads.h: Remove.
460         * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
461         GC_nprocs via sysconf().
462         * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
463         solaris_threads.c.
464         (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
465         * Makefile.in: Regenerate.       
466         * solaris_pthreads.c: Remove.
467         * solaris_threads.c: Remove.
469 2007-06-22  Jakub Jelinek  <jakub@redhat.com>
471         * pthread_support.c (GC_get_thread_stack_base): Handle
472         pthread_getattr_np failures.
474 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
476         * configure: Regenerate.
478 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
480         * Makefile.in: Regenerate.
481         * configure: Regenerate.
482         * aclocal.m4: Regenerate.
483         * include/Makefile.in: Regenerate.
485 2007-05-20  Andreas Tobler  <a.tobler@schweiz.org>
487         * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
488         * configure: Regenerate.
489         * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
490         * Makefile.in: Regenerate.
491         * include/Makefile.in: Regenerate.
492         * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
493         targets. Remove comments. Prepare ppc64 support for Darwin.
495 2007-04-23  Keith Seitz  <keiths@redhat.com>
497         * include/gc.h (GC_is_thread_suspended): Declare.
498         * pthread_stop_world.c (GC_is_thread_suspended): New function.
500 2007-04-03  Jakub Jelinek  <jakub@redhat.com>
502         * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
503         * configure: Rebuilt.
505 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
507         * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
508         (GC_register_finalizer_unreachable): Declare.
509         (GC_debug_register_finalizer_unreachable): Declare.
510         * finalize.c (GC_unreachable_finalize_mark_proc): New.
511         (GC_register_finalizer_unreachable): New.
512         (GC_finalize): Handle it.
513         * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
514         (GC_debug_register_finalizer_no_order): Fix whitespace.
516 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
518         * Makefile.am: Add dummy install-pdf target.
519         * Makefile.in: Regenerate
521 2007-02-05  Roman Zippel <zippel@linux-m68k.org>
523         * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
524         it works with Linux 2.6, reactivate MPROTECT_VDB
525         * boehm-gc/pthread_stop_world.c: save all register
526         on signal entry
528 2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
530         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
531         added defines to include/private/gc_priv.h
532         (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
533         * darwin_stop_world.c: Removed the above defines.
534         * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
535         and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
537 2007-01-17  David Daney  <ddaney@avtrex.com>
539         * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
540         cross-compiling.
541         * configure: Regenerated.
542         * include/gc_config.h.in: Regenerated.
544 2007-01-17  Mike Stump  <mrs@apple.com>
546         * os_dep.c: Fix i686-apple-darwin9 builds.
548 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
550         * aclocal.m4: Regenerate to use multi.m4.
551         * configure: Regenerate.
552         * Makefile.in: Regenerate.
554 2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
556         * include/gc_config.h.in: Regenerate.
558 2007-01-16  Petr Salinger  <Petr.Salinger@seznam.cz>
560         * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
561          GNU/kFreeBSD.
562         * os_dep.c: Likewise.
564 2007-01-15  Andreas Tobler  <a.tobler@schweiz.org>
566         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
567         reference.
568         (catch_exception_raise): Fix typo in the I386 exc_state.
570 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
572         * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
573         HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
574         * configure: Regenerated.
575         * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
576         Added base definitions for the X86_64 Darwin port.
577         * include/private/gc_priv.h: Added definitions for Darwin MACH thread
578         operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
579         * darwin_stop_world.c: Removed THREAD_STATE info. Added
580         HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
581         with HAS_X86_THREAD_STATE32___EAX.
582         (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
583         X86_64 Darwin.
584         * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
585         (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
586         Distinguish between getsectbynamefromheader_64 and
587         getsectbynamefromheader.
588         (GC_dyld_image_remove): Likewise.
589         * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
590         (catch_exception_raise): Introduce exception information for I386 and
591         X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
593 2006-12-08  Mike Stump  <mrs@apple.com>
595         * configure.ac: Fix x86 darwin builds.
596         * darwin_stop_world.c: Likewise.
597         * include/private/gcconfig.h: Likewise.
598         * connfigure: Regenerate.
599         
600 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
602         PR target/29180
603         * darwin_stop_world.c: Make stack_start unsigned long.
605 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
607         * os_dep.c: Port to Darwin/i386
608         * darwin_stop_world.c: Likewise
609         * include/private/gcconfig.h: Likewise
610         
611 2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>
613         * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
614         for gc 6.8.
615         * dyn_load.c: Likewise.
616         * include/gc.h: Likewise.
617         * private/gcconfig.h: Likewise.
618         * configure: Regenerate.
619         * include/gc_config.h.in: Regenerate.
621 2006-09-14  Tom Tromey  <tromey@redhat.com>
623         PR boehm-gc/29068.
624         * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
625         Solaris.
627 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
628         
629         PR libgcj/13212:
630         * configure.ac: Check for pthread_getattr_np(). Remove
631         GC_PTHREAD_SYM_VERSION detection.
632         * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
633         GC_get_thread_stack_base): New declarations.
634         * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
635         GC_get_thread_stack_base): New functions.
636         (GC_delete_thread): Don't try to free the first_thread.
637         * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
638         (pthread_create_, constr): Removed.
639         (pthread_create): Don't rename.
640         * include/gc_ext_config.h.in: Rebuilt.
641         * include/gc_pthread_redirects.h (pthread_create): Define 
642         unconditionally.
643         * include/gc_config.h.in: Rebuilt.
644         * configure: Rebuilt.
646 2006-06-21  Keith Seitz  <keiths@redhat.com>
648         * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
649         routine if signal is received and thread is flagged SUSPENDED.
650         (suspend_self): New function.
651         (GC_suspend_thread): New function.
652         (GC_resume_thread): New function.
653         * include/gc.h (GC_suspend_thread): Declare.
654         (GC_resumet_thread): Declare.
655         * include/private/pthread_support.h (SUSPENDED): New GC_thread
656         flag.
658 2006-06-20  Ranjit Mathew  <rmathew@gcc.gnu.org>
659         
660         Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
661         * os_dep.c (GC_wnt): Define.
662         (GC_init_win32): Set GC_wnt.
663         * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
664         sections also on Windows 9x/ME.
666 2006-06-02  Geoffrey Keating  <geoffk@apple.com>
668         * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
669         HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
670         HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
671         HAS_I386_THREAD_STATE___EAX.
672         * configure: Regenerate.
673         * include/gc_config.h.in: Regenerate.
674         * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
675         macro names to determine value.
676         (THREAD_STATE): New.
677         (THREAD_FLD): New.
678         (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
680 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
682         * Makefile.am: Add install-html target. 
683         * Makefile.in: Regenerate.
684         * aclocal.m4: Regenerate.
685         * include/Makefile.in: Regenerate.
687 2006-03-07  Andrew Haley  <aph@redhat.com>
689         * dyn_load.c (GC_has_static_roots): Declare.
690         (GC_register_dynlib_callback): Call GC_has_static_roots.
692 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
694         * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
695         GC_start_world): Call vm_deallocate to free act_list. Fix from
696         Bruce Mitchener.
698 2006-03-24  Andreas Tobler  <a.tobler@schweiz.ch>
699         John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
701         * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
702         Warn about POSIX threads not being supported for *-*-hpux10*.
703         * configure: Regenerate.
705 2006-02-09  Tom Tromey  <tromey@redhat.com>
707         * pthread_support.c: Conditionally include dlfcn.h.
709 2006-02-06  Jakub Jelinek  <jakub@redhat.com>
710             Anthony Green  <green@redhat.com>
711             Tom Tromey  <tromey@redhat.com>
713         * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
714         * include/gc_config.h.in: Rebuilt.
715         * include/gc_pthread_redirects.h (pthread_create): Conditionally
716         define.
717         * pthread_support.c (pthread_create_): New global.
718         (constr): New function.
719         (pthread_create): Conditionally renamed.
720         * configure: Rebuilt.
721         * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
723 2006-02-04  Alan Modra  <amodra@bigpond.net.au>
725         * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
726         use broken 64-bit version.
728 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
730         * darwin_stop_world.c: Change inline asm instruction to ld as ldz
731         is wrong.
733         * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
734         * Makefile.in: Regenerate.
736 2006-01-25  Bryce McKinlay  <mckinlay@redhat.com>
738         * include/private/gcconfig.h: Revert to GC 6.6 version, removing
739         all local changes.
741 2006-01-24  Bryce McKinlay  <mckinlay@redhat.com>
743         Import Boehm GC version 6.6.
745 2006-01-24  David Ayers  <d.ayers@inode.at>
747         PR libobjc/13946
748         * include/gc.h: Fix prototype declarations for bootstrap.
750 2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
752         * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
754 2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
756         * include/private/gc_locks.h (GC_test_and_set): Change the
757         constraint of the first operand to '0'.
759 2005-09-06  Tom Tromey  <tromey@redhat.com>
761         PR libgcj/23662:
762         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
763         HEURISTIC1 on ARM.
765 2005-07-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
767         * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
769 2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>
771         * os_dep.c: Add FreeBSD/PowerPC bits.
772         (GC_SysVGetDataStart): Likewise.
773         * include/private/gcconfig.h: Likewise.
775 2005-05-25  Andrew Haley  <aph@redhat.com>
777         * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
778         powerpc64-linux.
780 2005-05-09  Mike Stump  <mrs@apple.com>
782         * configure: Regenerate.
784 2005-04-19  Hans-Peter Nilsson  <hp@axis.com>
786         * os_dep.c, include/private/gc_locks.h: Import CRIS port by
787         Simon Posnjak from gc6.4.
788         * include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.
790 2005-04-17  David S. Miller  <davem@davemloft.net>
792         * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
793         * os_dep.c (GC_linux_stack_base): Check for bug present in some
794         Sparc glibc variants where __libc_stack_end is erroneously set
795         to "1".  Fallback to procfs code in that case.
797 2005-04-12  Mike Stump  <mrs@apple.com>
799         * configure: Regenerate.
801 2005-04-12  Richard Henderson  <rth@redhat.com>
803         * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
805 2005-03-23  Mike Stump  <mrs@apple.com>
807         * darwin_stop_world.c: Update for -m64 multilib.
808         * include/private/gcconfig.h: Likewise.
809         * powerpc_darwin_mach_dep.s: Likewise.
811 2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>
813         * Makefile.in, include/Makefile.in: Regenerate.
815 2005-02-26  Richard Earnshaw  <rearnsha@arm.com>
817         * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
818         ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
820 2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>
822         PR libgcj/19823
823         * configure.host: Set gc_use_mmap on *-linux*.
824         * configure.ac: Define USE_MMAP if gc_use_mmap is set.
825         * include/private/gc_priv.h: Include gc_config.h.
826         * configure, include/gc_config.h.in: Rebuilt.
828 2005-02-07  Hans Boehm  <Hans.Boehm@hp.com>
830         * allchblk.c (GC_allochblk_nth): Dont overlook available space if
831           GC disabled, correctly convert GC_finalizer_mem_freed to byte,
832           total_size to words.
833         * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
834           MEM_IMAGE regions.
835         * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
836           and indent appropriately.
837         * mark_rts.c (GC_approx_sp): Access stack.
838         * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
839           callee-saves registers when appropriate.
840           (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
842 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
844         * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h 
845         and include/gc_ext_config.h.
846         * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
847         * include/gc.h: Undef PACKAGE_* before including gc_config.h.
849 2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>
851         * configure: Regenerate.
853 2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>
855         PR libgcj/18699
856         Revert patches of 2004-11-26 and 2004-11-27.
858 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
860         * configure: Regenerate for libtool change.
862 2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
864         * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
866 2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>
868         Fix "PACKAGE_NAME redefined" errors.
869         * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h 
870         and include/gc_config.h.
871         * configure: Regenerated.
872         * include/gc_config.h.in: No longer auto-generated. Define only the
873         macros needed by libjava.
874         * include/config.h.in: Generated by autoheader.
875         * include/gc.h: Include config.h, not gc_config.h.
877 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
879         * configure: Regenerate for libtool reversion.
881 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
883         * configure: Regenerate for libtool change.
885 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
887         * configure.ac (machdep): Use sparc_mach_dep.lo on
888         sparc64-sun-solaris2.* too.
889         (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
890         * configure: Regenerate.
892 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
894         PR target/18444
895         * configure.ac (threading): Accept 'posix95'.
896         * configure: Regenerate.
898 2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>
900         * Makefile.am: Define ACLOCAL_AMFLAGS.
901         * configure.ac: Remove redundant sinclude.
902         * acinclude.m4: Delete file.
903         * aclocal.m4: Regenerate.
904         * Makefile.in, include/Makefile.in: Regenerate.
905         * configure: Regenerate.
907 2004-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
909         * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
910         Add prototype.
912 2004-10-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
914         * include/private/gcconfig.h: Add m32r-linux target.
916 2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>
918         * configure.ac: Update all AC_DEFINEs to newer style.
919         * configure: Regenerate.
920         * include/gc_config.h.in: Regenerate.
922 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
924         * backgraph.c, gc_priv.h (GC_traverse_back_graph,
925         GC_print_back_graph_stats): split GC_traverse_back_graph.
926         * backgraph.c: Dynamically grow in_progress_space.
927         * finalize.c (GC_notify_or_invoke_finalizers): also call
928         GC_print_back_graph_stats.
929         * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
930         GC_print_back_height): Move delarations to header file.
931         * configure.ac: rename --enable-full-debug to --enable-gc-debug.
932         * configure: Regenerate.
933         
934 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
936         * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
937         * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
939 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
941         * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
942         Reported by Danny Smith.
944 2004-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
946         * misc.c (GC_init): Replace lhs cast with rhs cast.
948 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
950         * specific.c: Check GC_LINUX_THREADS before including 
951         private/specific.h. From Richard Earnshaw.
953 2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
955         * aclocal.m4: Remove obsolete construct for old automake.
956         * acinclude.m4: Regenerate with aclocal 1.9.1.
957         * configure.ac:  Remove duplicate AC_WITH calls.  Replace
958         AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
959         Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
960         Remove now-redundant subst of target_noncanonical.  Remove
961         now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
962         AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
963         Use slightly more modern form of AC_INIT.
964         * configure: Rebuild with autoconf 2.59.
965         * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
967 2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
969         * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
970         since they're not known at this time.
971         * solaris_pthreads.c: Likewise.
973 2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
975         PR target/14931
976         * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
978 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
980         * configure.ac (gc_cflags): Add -Iinclude.
981         (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
982         Don't write DEFS to boehm-cflags file.
983         * configure: Rebuilt.
984         * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
985         * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
986         * include/gc_config_macros.h: Remove backward-compatibility 
987         redefinitions of GC_ names.
988         * include/gc.h: Include <gc_config.h>.
990 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
992         Import Boehm GC version 6.3.
994 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
996         * include/Makefile.in: Regenerate
998 2004-07-06  Andrew Pinski  <apinski@apple.com>
1000         * os-dep.c (GC_task_self): Declare as static
1001         and remove the second declaration.
1003 2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
1005         * Makefile.am: Add rule for .S files to fix bootstrap on
1006         solaris and alpha.
1007         * Makefile.in: Regenerate.
1009 2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
1011         * boehm-gc/configure.ac: New name of configure.in.
1012         Remove useless multilib stuff.  Change uses of
1013         INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
1014         * boehm-gc/configure.in: New name of configure.in.
1015         * boehm-gc/Makefile.am: Update for automake 1.8.5.
1016         * boehm-gc/acinclude.m4: Include ../config/acx.m4.
1017         * boehm-gc/aclocal.m4: Regenerate.
1018         * boehm-gc/configure: Regenerate.
1019         * boehm-gc/Makefile.in: Regenerate.
1021 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
1023         * .cvsignore: New file.
1025 2004-04-25  Andreas Jaeger  <aj@suse.de>
1027         * mark.c (GC_mark_from): Use pointer as prefetch argument.
1029 2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1031         * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
1032         for gcc >= 3.0.
1033         (PREFETCH_FOR_WRITE): Likewise.
1035 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
1037         * configure.ac: Bump AC_PREREQ to 2.59.
1038         * configure: Regenerate.
1039         * config.in: Regenerate.
1041 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
1043         * ltconfig, ltmain.sh: Remove unused files.
1044         * configure.in: Remove bogus extra early invocation of
1045         AC_CONFIG_AUX_DIR.
1046         * configure: Regenerate.
1047         * mkinstalldirs, install-sh, config.sub, config.guess:
1048         Remove (now) unused files.
1049         * Makefile.in: Regenerate (losing references to vanished
1050         files).
1052         * configure.in: Add CCAS, CCASFLAGS for future automakes.
1053         * configure, Makefile.in, include/Makefile.in: Regenerate.
1055         * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
1056         * Makefile.in: Regenerate.
1058         * configure.in: Remove bogus duplicate invocation of
1059         AM_MAINTAINER_MODE.  Remove obsolete comment.
1060         * configure: Regenerate.
1062         * acinclude.m4: Remove GC_CONFIGURE macro; move contents
1063         to configure.in.
1064         * aclocal.m4: Regenerate.
1065         * configure.in: Receive contents of GC_CONFIGURE macro.
1066         * configure: Regenerate.
1068         * configure.in: Remove more obsolete, bogus code.
1069         * configure: Regenerate.
1071         * acinclude.m4: Remove obsolete and bogus constructs.
1072         * aclocal.m4: Regenerate.
1073         * configure: Regnerate.
1075 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1077         * acinclude.m4: De-precious CC and CXX so that the right flags
1078         are passed down to multilibs.
1079         * aclocal.m4: Regenerate.
1080         * configure: Regenerate.
1082 2004-02-22  Zack Weinberg <zack@codesourcery.com>
1083             Nathanael Nerode <neroden@twcny.rr.com>
1084             Alexandre Oliva <aoliva@redhat.com>
1086         * config.sub, config.guess: Replace with forwarding scripts
1087         which invoke the master copies in the top level.
1089 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1091         * acinclude.m4: Remove old no-executables workaround;
1092         add new no-executables workaround.
1093         * aclocal.m4: Regenerate.
1094         * configure.in: Change prereqs to autoconf 2.57.
1095         * configure: Regenerate with autoconf 2.57.
1097         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
1098         * configure: Regenerate.
1099         * Makefile.am: Use target_noncanonical variable from configure.
1100         * Makefile.in: Regenerate.
1101         * include/Makefile.in: Regenerate.
1103 2004-02-20  Andrew Cagney  <cagney@redhat.com>
1105         * config.guess: Update from version 2002-01-10 to 2004-02-16.
1106         * config.sub: Update from version 2002-01-02 to 2004-02-16.
1108 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
1110         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
1111         * aclocal.m4: Rebuild.
1112         * configure: Regenerate.
1114         * acinclude.m4: Move certain code to configure.in.
1115         * configure.in: Receive code from acinclude.m4.
1116         * aclocal.m4: Rebuild.
1117         * configure: Regenerate.
1119         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
1121 2004-01-20  Andrew Haley  <aph@redhat.com>
1123         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
1125         * configure.in: Comment change.
1127 2004-01-16  Andrew Haley  <aph@redhat.com>
1129         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
1130         add for ia64; remove for MIPS.
1131         * configure: Regnerated.
1133 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
1135         * configure.in: Add in AC_PREREQ(2.13)
1137 2004-01-07  Dave Jones <davej@redhat.com>
1139         * malloc.c (GC_generic_malloc): Correct initialization typo.
1140         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
1142 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
1144         * include/private/gcconfig.h: Re-install change of 2003-04-16.
1146 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1148         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
1149         _MIPS_SIM_ABI32.
1151 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
1153         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
1154         unsure comment.
1156 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
1158         * configure: Rebuild.
1160 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
1162         * configure.in: Remove NO_GETENV definition for win32.
1163         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
1164         * misc.c (GC_init_inner): Call GC_thr_init for win32.
1165           (GC_set_warn_proc): Add assertion.
1166         * win32_threads.c: Import 6.3alpha2 version.
1167         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
1169 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1171         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
1172         2.3/SPARC, there are no micro versions.
1173         Treat Solaris 10 and up alike.
1174         * configure: Regenerate.
1176 2003-09-22  Anthony Green  <green@redhat.com>
1178         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
1179         "NOSYS" targets.
1181 2003-09-20    <green@redhat.com>
1183         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
1184         check for __arm__ or __thumb__.
1186 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1188         * configure: Regenerate.
1190 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1191             Roger Sayle <roger@eyesopen.com>
1193         * configure.in: Set INCLUDES to absolute path.
1194         Save $INCLUDES in boehm-cflags, too.
1195         Set INCLUDES so it's available to config.status.
1196         * configure: Regenerate.
1198 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
1200         * include/gc.h (GC_CreateThread): Declare with WINAPI
1201         attribute.
1202         * win32_threads.c (GC_CreateThread): Make definitions consistent
1203         with declaration.  Cast &thread_table[i].handle to PHANDLE
1204         in call to DuplicateHandle
1205         (thread_start): Declare as static.
1207 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
1209         * dyn_load.c: Define __private_extern__ to match Apple's system
1210         header.
1212 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
1214         * os_dep.c: Remove redundancy introduced in last merge.
1216 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
1218         Import GC 6.3alpha1.
1219         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
1220         * ChangeLog: Likewise.
1221         * Makefile.am: Likewise.
1222         * Makefile.direct: Likewise.
1223         * Makefile.dj: Likewise.
1224         * allchblk.c: Likewise.
1225         * alloc.c: Likewise.
1226         * backgraph.c: Likewise.
1227         * configure.host: Likewise.
1228         * configure.in: Likewise.
1229         * dbg_mlc.c: Likewise.
1230         * dyn_load.c: Likewise.
1231         * finalize.c: Likewise.
1232         * gc_cpp.cc: Likewise.
1233         * gc_dlopen.c: Likewise.
1234         * gcj_mlc.c: Likewise.
1235         * if_mach.c: Likewise.
1236         * mach_dep.c: Likewise.
1237         * malloc.c: Likewise.
1238         * mallocx.c: Likewise.
1239         * mark.c: Likewise.
1240         * mark_rts.c: Likewise.
1241         * misc.c: Likewise.
1242         * os_dep.c: Likewise.
1243         * ptr_chck.c: Likewise.
1244         * reclaim.c: Likewise.
1245         * solaris_pthreads.c: Likewise.
1246         * solaris_threads.c: Likewise.
1247         * sparc_mach_dep.S: Likewise.
1248         * threadlibs.c: Likewise.
1249         * typd_mlc.c: Likewise.
1250         * version.h: Likewise.
1251         * win32_threads.c: Likewise.
1252         * Mac_files/MacOS_Test_config.h: Likewise.
1253         * Mac_files/MacOS_config.h: Likewise.
1254         * cord/cordbscs.c: Likewise.
1255         * cord/cordprnt.c: Likewise.
1256         * cord/de_win.c: Likewise.
1257         * doc/README: Likewise.
1258         * doc/README.MacOSX: Likewise.
1259         * doc/README.changes: Likewise.
1260         * doc/README.environment: Likewise.
1261         * doc/README.ews4800: Likewise.
1262         * doc/README.linux: Likewise.
1263         * doc/README.macros: Likewise.
1264         * doc/README.win32: Likewise.
1265         * doc/debugging.html: Likewise.
1266         * doc/gcdescr.html: Likewise.
1267         * doc/tree.html: Likewise.
1268         * include/Makefile.in: Likewise.
1269         * include/gc.h: Likewise.
1270         * include/gc_cpp.h: Likewise.
1271         * include/gc_local_alloc.h: Likewise.
1272         * include/gc_mark.h: Likewise.
1273         * include/gc_pthread_redirects.h: Likewise.
1274         * include/gc_typed.h: Likewise.
1275         * include/new_gc_alloc.h: Likewise.
1276         * include/private/dbg_mlc.h: Likewise.
1277         * include/private/gc_hdrs.h: Likewise.
1278         * include/private/gc_locks.h: Likewise.
1279         * include/private/gc_pmark.h: Likewise.
1280         * include/private/gc_priv.h: Likewise.
1281         * include/private/gcconfig.h: Likewise.
1282         * include/private/solaris_threads.h: Likewise.
1283         * include/private/specific.h: Likewise.
1284         * tests/test.c: Likewise.
1285         * tests/test_cpp.cc: Likewise.
1287         * configure: Rebuild.
1288         * Makefile.in: Rebuild.
1290         * mips_sgi_mach_dep.s: Add.
1292         * alpha_mach_dep.s: Remove.
1293         * irix_threads.c: Remove.
1294         * linux_threads.c: Remove.
1295         * mips_sgi_mach_dep.S: Remove.
1296         * missing: Remove.
1297         * powerpc_macosx_mach_dep.s: Remove.
1298         * doc/Makefile.am: Remove.
1299         * doc/Makefile.in: Remove.
1301 2003-07-25  Roger Sayle  <roger@eyesopen.com>
1303         * configure.host: Only use +ESdbgasm when using the HPUX native
1304         compiler on PA-Risc.  It isn't recognized by GCC and is silently
1305         ignored by HP's compilers on ia64.
1307 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
1309         * configure.in: define GC_DLL under mingw if --enable-shared
1310         * configure: rebuilt
1311         * win32_threads.c: add #ifdef GC_DLL around DllMain
1313 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1315         * include/private/gcconfig.h: Add support for arm-netbsdelf.
1317 2003-04-09  Tom Tromey  <tromey@redhat.com>
1319         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1320         POWERPC.
1321         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1323 2003-03-22  Richard Henderson  <rth@redhat.com>
1325         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1326         (GC_test_and_set): Use __sync_lock_test_and_set.
1327         (GC_clear): Use volatile assignment.
1328         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1329         (GC_memory_write_barrier): Use __sync_synchronize.
1331 2003-03-12  Andreas Schwab  <schwab@suse.de>
1333         * configure.in: Avoid trailing /. in toolexeclibdir.
1334         * configure: Rebuilt.
1336 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
1337         * include/private/gcconfig.h (GC_data_start): declare when needed.
1338         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1339         declaration.
1340         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1341         GC_register_dynlib_callback): Register main data for static
1342         executable if dl_iterate_phdr() didn't.
1343         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1344         if we don't expect to register main static data.
1346 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
1347         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1348         (GC_push_roots): explicitly mark free list headers, register
1349         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1350         * alloc.c (GC_stopped_mark): Conditionally call
1351         GC_cond_register_dynamic_libraries().
1352         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1353         * dyn_load.c (GC_register_main_static_data): define.
1354         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1355         no longer skip main data.
1356         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1357         (GC_init_inner): Make main data registration conditional.
1358         * include/private/gc_priv.h (GC_register_main_static_data): declare.
1359         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1360         for LINUX.
1362 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1364         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1365         config.status.
1366         * configure: Rebuilt.
1368 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
1370         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1372 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1374         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1375         Remove USE_LIBDIR conditional.
1376         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1377         * Makefile.in, configure: Rebuilt.
1379 2002-12-31  Tom Tromey  <tromey@redhat.com>
1381         For PR libgcj/8933:
1382         * include/Makefile.in: Rebuilt.
1383         * include/Makefile.am (noinst_HEADERS): Renamed from
1384         include_HEADERS.
1386 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1388         * ltconfig (osf[345]): Append $major to soname_spec.
1389         Reflect this in library_names_spec.
1390         * ltmain.sh (osf): Prefix $major with . for use as extension.
1392 2002-10-02  Andreas Jaeger  <aj@suse.de>
1394         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1396 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
1398         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
1399         check for __arm__ or __thumb__.
1401 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
1403         * include/private/gcconfig: Add machine type S390.  Add s390x support.
1404         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1405         (GC_compare_and_exchange): Likewise.
1407 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
1409         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1411 2002-08-23  Adam Megacz <adam@xwt.org>
1413         * win32_threads.cc: Removed extraneous ABORT()
1415 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1417         * Makefile.am (all-multi): Fix multilib parallel build.
1419 2002-07-18  Bo Thorsen  <bo@suse.de>
1421         * include/private/gcconfig.h: Add x86-64 definitions.
1422         * os_dep.c: Add x86-64 support.
1423         * configure.in: Likewise.
1424         * configure: Regenerate.
1426 2002-07-18  H.J. Lu <hjl@gnu.org>
1428         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1430 2002-07-18  H.J. Lu  (hjl@gnu.org)
1432         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1433         Linux/mips.
1435 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
1436             Jonathan Clark
1438         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1440 2002-06-09  H.J. Lu  (hjl@gnu.org)
1442         * include/private/gc_locks.h (GC_test_and_set): Support
1443         Linux/mips.
1444         (GC_TEST_AND_SET_DEFINED): Likewise.
1446         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1447         Linux/mips.
1448         (DATAEND): Likewise.
1449         (LINUX_STACKBOTTOM): Likewise.
1450         (STACKBOTTOM): Removed for Linux/mips.
1452 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
1454         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1455         (GC_pthread_create): Fix typo.
1456         (GC_TRY_LOCK): Likewise.
1457         * include/private/gc_locks.h (GC_test_and_set): Only take one
1458         one argument.
1459         (LOCK): Adjust appropriately.
1460         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1461         _SIGRTMIN is unavailable.
1463 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1465         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1466         * aclocal.m4: Regenerate.
1467         * configure: Regenerate.
1469 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1471         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1472         script entry, and set LD to it when configuring multilibs.
1473         * configure: Rebuilt.
1475 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1477         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1478         (noinst_LTLIBRARIES): Add libgcjgc.la.
1480         * Makefile.in: Rebuild.
1482 2002-04-22  David S. Miller  <davem@redhat.com>
1484         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1485         64-bit SPARC Linux, the __libc_stack_end technique does
1486         not work in this case.
1488 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1490         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1492 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
1494         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1495         SPARC Linux.
1497 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
1499         * include/private/gcconfig.h (DATAEND): Update comment example
1500         to match reality.
1502 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
1504         * include/private/gcconfig.h (DATAEND): Clarify comment.
1506 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
1508         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1509         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1510         declare.
1511         * allchblk.c (GC_allchblk_nth): Change text and support reduced
1512         frequency for blacklist warning message.
1513         * misc.c (GC_large_alloc_warn_interval,
1514         GC_large_alloc_warn_suppressed): define.
1515         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1516         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1517         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1518         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1520         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1522 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
1524         * include/private/gcconfig.h: Add support for an unmapped
1525         memory hole between the end of the initialized data segment
1526         and the start of the BSS on FreeBSD/i386.
1528 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
1530         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1531         NetBSD/i386.
1533 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
1535         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1536         (GC_local_gcj_malloc): Add assertion.
1537         (start_mark_threads): Fix abort message.
1538         * mark.c (GC_mark_from): Generalize assertion.
1539         * reclaim.c (GC_clear_fl_links): New function.
1540         (GC_start_reclaim): Must clear some freelist links.
1541         * include/private/specific.h, specific.c: Add assertions.
1542         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
1543         Rearrange tse fields.
1545 2002-03-27  Richard Henderson  <rth@redhat.com>
1547         * os_dep.c (GC_init_linux_data_start): Fix references to
1548         __data_start and _end.
1550 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
1552         * include/private/gcconfig.h: Change all likely references
1553         to linker script synthesized symbols to use this idiom:
1554         extern int etext[]; etext
1556 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
1558         * linux_threads.c (GC_get_nprocs): Close file descriptor.
1560 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
1562         * include/private/gcconfig.h: Add unified test for FreeBSD.
1563         Support FreeBSD/alpha.
1564         * os_dep.c: Do not include <machine/trap.h> unless available.
1565         (GC_freebsd_stack_base): Fix types.
1567 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1569         * Makefile.am: Make a convenience library.
1570         * Makefile.in: Rebuilt.
1572 2002-03-15  Anthony Green  <green@redhat.com>
1574         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1575         * configure.in: Disable use of getenv for win32 targets (some of
1576         which have broken implementations).
1577         * configure: Rebuilt.
1579 2002-03-12  Adam Megacz  <adam@xwt.org>
1581         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1582         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1583         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1584         statically initialized it to TRUE if compiling with GCC.
1585         * win32_threads.c (thread_start): We no longer use SEH if
1586         compiling with GCC.
1587         * mark.c (GC_mark_some): We no longer use SEH if
1588         compiling with GCC.
1590 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1592         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1593         support is enabled, for hash synchronization.
1595 2002-02-24  Adam Megacz  <adam@xwt.org>
1597         * Makefile.am: Added win32_threads.c to sources list.
1598         * win32_threads.c: Added two */'s which I had neglected.
1600 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1602         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1603         * Makefile.in: Rebuilt.
1605 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1607         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1609         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1610         preprocessor file.
1611         * mips_sgi_mach_dep.S: Likewise.
1612         * Makefile.am: Update for above changes.
1613         * Makefile.in: Rebuilt.
1615 2002-02-12  Richard Henderson  <rth@redhat.com>
1617         * configure.in: Re-apply 2001-06-26 configure change.
1618         * configure: Rebuild.
1620 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1622         Imported GC 6.1 Alpha 3.
1624         * sparc_mach_dep.S: Delete incorrectly named file.
1626 2001-02-11  Adam Megacz <adam@xwt.org
1628         * configure.in: support for win32, saner
1629         cross-compile options
1631 2001-02-08  Anthony Green  <green@redhat.com>
1633         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1634           board embedded targets.
1635         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1636           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
1637           redundant uses of ECOS.
1638         * misc.c: Use NOSYS where ECOS is being used.
1639           Don't define GC_write twice for ECOS systems.
1640           (GC_write): New function for NOSYS targets.
1642 2002-02-06  Adam Megacz <adam@xwt.org>
1644         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1645         now exposed on all Win32 platforms.
1646         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1647         compiles on Win32; it invokes CreateThread() if GC is built
1648         as a DLL; otherwise it registers the thread.
1649         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1650         libgcjgc was not built as a DLL.
1652 2002-02-01  Adam Megacz <adam@xwt.org>
1654         * boehm-gc on win32 now automatically detects if it is being built
1655         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1657 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
1659         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1660         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1661         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
1662         DATASTART and DATAEND roots.
1663         * rs6000_mach_dep.s: Add function descriptor and traceback table.
1665 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
1667         * dyn_load.c: Define ElfW (if needed) for all targets,
1668         not just GNU/Linux.
1669         (GC_FirstDLOpenedLinkMap): Use it.
1670         (GC_register_dynamic_libraries_dl): Use it.
1671         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1672         for sparcv9.
1674 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1676         PR other/3725
1677         * configure.in: Add AC_SUBST(target_alias).
1678         * configure: Regenerated.
1680 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1682         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1683         case for GC_FREEBSD_THREADS.
1684         * configure.in (*-*-freebsd*): Clarify warning.
1685         * configure: Rebuilt.
1687 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
1688             Andreas Tobler <toa@pop.agri.ch>
1690         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1692 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1694         * linux_threads.c (GC_init_parallel): Do not declare as a static
1695         constructor.
1696         * include/gc.h (GC_init): Declare here. Add description.
1697         * include/private/gc_priv.h (GC_init): Remove declaration.
1699 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1701         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1702         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1703         GC_FREEBSD_THREADS, handle strange interaction between system
1704         pthread implementation and boehm-gc signal-handler architecture.
1705         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1706         set stack.
1707         * include/private/gcconfig.h (configuration keyed off FREEBSD):
1708         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
1709         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1711 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1713         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1714         * Makefile.in: Rebuilt.
1716 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1718         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1719         merged local changes.
1721 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1723         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1724         Solaris 2/Intel definition.
1726         * configure.in (i?86-*-solaris2.[89]*): Define
1727         SOLARIS25_PROC_VDB_BUG_FIXED.
1728         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1729         * configure: Regenerate.
1731         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1732         (DATAEND): Define using _end.
1734 2001-09-11  Per Bothner  <per@bothner.com>
1736         * include/Makefile.am:  New file.  It defines include_HEADERS.
1737         * Makefile.am (SUBDIRS):  New macro, set to include.
1738         * configure.in (AC_OUTPUT):  Add include/Makefile.
1740 2001-08-20  Tom Tromey  <tromey@redhat.com>
1742         * configure: Rebuilt.
1743         * configure.in: Always ask gcc for threads package.
1745 2001-08-17  Tom Tromey  <tromey@redhat.com>
1747         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1748         merged local changes.
1750 2001-08-02  David Billinghurst <David.Billinghurst>
1752         * configure: Rebuilt.
1753         * configure.in:  POSIX threads on cygwin does not link with
1754         -lpthreads.
1756 2001-07-03  Tom Tromey  <tromey@redhat.com>
1758         Fix for PR bootstrap/3281:
1759         * aclocal.m4, configure, Makefile.in: Rebuilt.
1760         * acinclude.m4: Set mkinstalldirs for in-tree build.
1762 2001-06-26  Richard Henderson  <rth@redhat.com>
1764         * alpha_mach_dep.s: Mark call-saved FP registers.
1765         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1766         * configure.in (alpha*): Re-enable alpha_mach_dep.s
1767         * configure: Rebuild.
1769 2001-06-12  Tom Tromey  <tromey@redhat.com>
1771         * aclocal.m4, configure: Rebuilt.
1772         * acinclude.m4: Find configure.host in srcdir.
1774 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
1776         * configure.in (AC_EXEEXT): Work around in case it expands to
1777         nothing, as in autoconf 2.50.
1778         * acinclude.m4: Likewise.
1779         * aclocal.m4, configure: Rebuilt.
1781 2001-06-07  Tom Tromey  <tromey@redhat.com>
1783         For PR bootstrap/3075:
1784         * configure, aclocal.m4, Makefile.in: Rebuilt.
1785         * configure.in: Don't call AC_CONFIG_AUX_DIR or
1786         AC_CANONICAL_SYSTEM.
1787         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1788         AC_CANONICAL_SYSTEM here.
1789         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1790         boehm_gc_basedir.
1792 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1794         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1795         (libgcjgc_la_SOURCES): Remove typo.
1796         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1797         * Makefile.in: Rebuilt.
1799 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1801         Imported version version 6.0alpha7.
1803         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1804         README.amiga, README.debugging, README.dj, README.hp, README.linux,
1805         README.rs6000, README.sgi, README.solaris2, README.uts,
1806         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1807         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1808         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1809         hpux_irix_threads.c, makefile.depend, nursery.c,
1810         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1811         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1812         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1813         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1814         files.
1816 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
1818         * configure.host: Build with -fexceptions.
1819         * linux_threads.c: Remember which thread stopped world for
1821 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
1822             with final tuning by Bryce McKinlay
1824         * configure.in: Add support for --enable-threads=posix on FreeBSD.
1825         * configure: Rebuilt.
1827 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
1829         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1830         (GC_noop1): Change declaration to take one argument.
1832 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1834         * configure.in: Obtain THREADS with `gcc -v'.
1835         * configure: Rebuilt.
1837 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
1839         * misc.c: Back out buggy changes to stack clearing code.
1840         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1841         spent clearing memory.
1843 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
1845         * finalize.c:
1846         - Accomodate finalization requests for static objects.
1847           (Will be required by hash synchronization.  May be needed
1848           in some configurations now.)
1850         * gc_priv.h:
1851         - Define MIN_WORDS.  All allocation requests are rounded
1852           up to at least this size.  Removes a subtle assumption that
1853           Java objects have a 2 word header.
1855         * gcconfig.h:
1856         - Adjust Linux/IA64 configuration for non-ancient kernels.
1857           (Necessary fix for IA64.)
1859         * linux_threads.c:
1860         - Fix syntax error in currently unused code.  Will be needed
1861           for Linux/PA-RISC.
1863         * malloc.c:
1864         - Handle MIN_WORDS.
1866         * misc.c:
1867         - Handle MIN_WORDS.
1868         - Change stack cleaning code to typically clear about one tenth
1869           the memory it used to in the threads configuration.  Occasionally
1870           still clear more.  (This is really a fix for a long-standing
1871           and fairly significant performance bug with threads.)
1873         * os_dep.c:
1874         - Fix the code for finding the beginning of the data segment under
1875           Linux.  I believe this is necessary for some IA64 Linux
1876           distributions.  It will also helo other platforms, though those
1877           may additionally require a gcconfig.h adjustment.  (This basically
1878           works around the absence of a data_start or __data_start
1879           definition in glibc.)
1881         * test.c:
1882         - Handle rounding due to MIN_WORDS.
1884 2001-03-22  Tom Tromey  <tromey@redhat.com>
1886         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1888 2001-03-19  Tom Tromey  <tromey@redhat.com>
1890         * Makefile.in: Rebuilt.
1891         * Makefile.am (gctest_LDFLAGS): new macro.
1893 2001-03-16  Tom Tromey  <tromey@redhat.com>
1895         * Makefile.in: Rebuilt.
1896         * Makefile.am (TESTS_ENVIRONMENT): New macro.
1898 2001-01-23  Rod Stewart <stewart@lab43.org>
1900         * gcconfig.h: Check for `__arm__', not `arm'.
1902 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
1904         * configure.in: Rename THREADLIB to THREADLIBS.
1905         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1906         ensures that we link the correct version of the linuxthreads semaphore
1907         functions.
1908         * Makefile.in: Rebuilt.
1909         * configure: Rebuilt.
1911         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1912         list of signals which are not blocked during suspend in the NO_SIGNALS
1913         case.
1915 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
1917         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1919 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
1921         * Makefile.dist: Renamed from Makefile.orig.
1923 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1925         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1926         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1927         set accordingly.
1928         * Makefile.in: Rebuilt.
1929         * configure: Likewise.
1931 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
1933         * gcconfig.h: Add new case for powerpc EABI.
1934         [PPC]: Handle embedded OS for powerpc simulator.
1936 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
1938         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1939         cross-compile configuration only.
1940         * Makefile.am: Build gcj_mlc.c.
1941         * configure, Makefile.in: Rebuilt.
1943 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
1945         * acinclude.m4: Include libtool macros from the top level.
1946         * aclocal.m4, configure: Rebuilt.
1948 2000-09-04  Anthony Green  <green@redhat.com>
1950         Fix for PR libgcj/230:
1951         * mark.c (GC_mark_from_mark_stack): Remove call to
1952         GC_debug_object_start.
1953         * gc_priv.h (GC_debug_object_start): Remove prototype.
1955 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
1957         * gcconfig.h [OSF1] (_end): Declare as `int'.
1959 2000-08-02  Tom Tromey  <tromey@cygnus.com>
1961         * gc_priv.h (GC_generic_malloc_inner): Prototype.
1962         (GC_generic_malloc): Likewise.
1963         (GC_add_to_black_list_normal): Likewise.
1964         (GC_find_header): Likewise.
1965         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1966         * gc_mark.h (GC_find_start): Prototype.
1967         (GC_signal_mark_stack_overflow): Likewise.
1969 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
1971         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1972         * configure: Rebuilt.
1974         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1976 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
1978         Imported version 5.1.
1979         * acinclude.m4: Push version to 5.1.
1981 2000-06-19  Andrew Haley  <aph@cygnus.com>
1983         * os_dep.c (read): Pass two dummy args to syscall().
1985 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
1987         Imported 5.0 release version.
1988         * acinclude.m4: Increment version to 5.0.
1990 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
1992         Imported version 5.0alpha7.
1993         * acinclude.m4: Update version to 5.0a7.
1995 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
1997         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1998         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1999         - sparc glibc does not provide it.
2000         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
2001         Make STACKBOTTOM depend on the wordsize.
2002         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
2003         (struct frame): Declare on sparc*-linux*.
2004         (GC_save_callers): Bias the frame pointers if needed (sparc64).
2005         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
2006         Implement on sparc64.
2007         (GC_clear_stack_inner): Implement on sparc64.
2008         * gc_priv.h (GC_test_and_set): Implement for sparc.
2009         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
2010         GC_save_regs_in_stack on sparc.
2012 2000-04-23  Tom Tromey  <tromey@cygnus.com>
2014         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
2016 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
2018         Imported version version 5.0alpha6.
2019         * acinclude.m4: Bump version to 5.0a6.
2020         * configure.in: Don't use alpha_mach_dep.s.
2021         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
2022         obsolete files.
2023         * Makefile.am, Makefile.in: irix_threads.c is now
2024         hpux_irix_threads.c.
2025         * Makefile.orig: Updated from gc distribution Makefile.
2027 2000-03-26  Anthony Green  <green@redhat.com>
2029         * misc.c (GC_enable): Always define GC_enable and GC_disable.
2031 2000-02-14  Tom Tromey  <tromey@cygnus.com>
2033         * gc.h (dlopen): Define as GC_dlopen on Linux.
2034         (GC_dlopen): Declare on Linux.
2035         * dyn_load.c (GC_dlopen): Define for Linux.
2037 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
2039         * gcconfig.h (DATASTART): Add missing extern declaration
2040         for data_start on powerpc.
2042 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
2044         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
2045         NO_SIGNALS case.
2047 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
2049         * gcconfig.h: Define DATASTART for Alpha Linux.
2051 1999-12-19  Anthony Green  <green@cygnus.com>
2053         * gcconfig.h: Use libgcj hack for Alpha Linux.
2054         Undefine MPROTEXT_VDB (from Jeff Sturm).
2055         * os_dep.c: Remove Alpha Linux hacks.
2056         * misc.c: Ditto.
2058 1999-12-13  Tom Tromey  <tromey@cygnus.com>
2060         * aclocal.m4, configure: Rebuilt.
2061         * acinclude.m4: Changed version to 5.0a4.
2062         * Makefile.in: Rebuilt.
2063         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
2065 1999-12-12  Anthony Green  <green@cygnus.com>
2067         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
2068         Linux.
2069         (DYNAMIC_LOADING): Define for PowerPC Linux.
2070         * os_dep.c: Remove some special cases for PowerPC Linux.
2071         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
2072         for PowerPC Linux.
2074 1999-11-04  Tom Tromey  <tromey@cygnus.com>
2076         * Makefile.in: Rebuilt.
2077         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
2079         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
2080         (GC_thr_init): Don't declare.
2082         * configure: Rebuilt.
2083         * configure.in: Removed qt threads case.
2084         * dyn_load.c: Don't mention QUICK_THREADS.
2085         * os_dep.c: Don't mention QUICK_THREADS.
2086         * misc.c: Don't mention QUICK_THREADS.
2087         * gcconfig.h: Don't mention QUICK_THREADS.
2088         * gc_priv.h: Removed QUICK_THREADS code.
2089         * quick_threads.c: Removed.
2091 1999-11-03  Tom Tromey  <tromey@cygnus.com>
2093         * gcconfig.h: Merged in local changes from old config.h.
2095 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
2097         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
2099 1999-11-02  Tom Tromey  <tromey@cygnus.com>
2101         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
2103         * configure: Rebuilt.
2104         * configure.in: Don't create boehm-config.h.
2105         * Makefile.in: Rebuilt.
2106         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
2107         config.h.
2108         ($(all_objs)): Depend on gcconfig.h.
2109         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
2110         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
2111         * config.h: Removed.
2113 1999-11-01  Tom Tromey  <tromey@cygnus.com>
2115         * Makefile.in: Rebuilt.
2116         * Makefile.am (gctest_LDADD): Added THREADLIB.
2117         (TESTS): New macro.
2118         * configure: Rebuilt.
2119         * configure.in (INCLUDES): New subst.
2121 1999-09-29  Steve Chamberlain  <sac@pobox.com>
2123         * config.h: Added picoJava target.
2124         * mach_dep.h (GC_push_regs):  New code for picoJava.
2126 1999-09-28  Tom Tromey  <tromey@cygnus.com>
2128         * aclocal.m4, configure: Rebuilt.
2129         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
2130         appropriate AC_PROG_ symbol.
2132 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2134         * gc_priv.h:  IRIX thread changes from
2135         include/private/gc_priv.h.
2137 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2139         * Makefile.in: Rebuilt.
2140         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
2141         builds.
2143         * configure: Rebuilt.
2144         * configure.in: Properly align --help output, fix capitalization
2145         and punctuation.
2146         * acinclude.m4: Likewise.
2148 1999-08-04  Tom Tromey  <tromey@cygnus.com>
2150         * configure.in: Added missing `;;'.  From Anthony Green.
2152 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2154         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
2156 1999-08-03  Tom Tromey  <tromey@cygnus.com>
2158         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
2159         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2161 1999-08-02  Tom Tromey  <tromey@cygnus.com>
2163         * aclocal.m4, configure: Rebuilt for new libtool.
2165 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
2167         * mips_sgi_mach_dep.s: Enable PIC option.
2169 1999-07-19  Tom Tromey  <tromey@cygnus.com>
2171         * config.h (MPROTECT_VDB): Don't define on Linux.
2173 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
2175         * Makefile.am (.s.lo): Avoid `#line' directives.
2176         * Makefile.in: Rebuilt.
2178 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
2180         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
2181         generate *-recursive for this Makefile, use *-am instead.
2182         * Makefile.in: Rebuilt.
2184 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
2186         * Makefile.am (.s.lo): Renamed from `.s.o'.
2187         * Makefile.in: Rebuilt.
2189 1999-06-21  Tom Tromey  <tromey@cygnus.com>
2191         Alpha patch from Jeff Sturm:
2192         * os_dep.c (GC_init_linuxalpha): New function.
2193         * misc.c: Initialize for alpha linux.
2194         * gc_priv.h (GC_test_and_set): Define for alpha.
2195         * config.h: Don't assume __data_start on alpha.
2197         * Makefile.in: Rebuilt.
2198         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
2199         -release.
2201         * Makefile.in: Rebuilt.
2202         * Makefile.am (toolexeclibdir): Define as libdir when
2203         appropriate.
2204         * configure: Rebuilt.
2205         * configure.in (USE_LIBDIR): New conditional.
2207         * configure: Rebuilt.
2208         * configure.in: Recognize all forms of alpha.
2210 1999-06-17  Anthony Green  <green@cygnus.com>
2212         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
2213         Carlo Dapor <carlo@vis.ethz.ch>).
2215 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
2217         * configure.in: Switch from irix threads to posix threads
2218         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
2219         for mips architecture.
2220         * configure: Regenerate.
2222 1999-04-30  Tom Tromey  <tromey@cygnus.com>
2224         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
2226 1999-04-26  Tom Tromey  <tromey@cygnus.com>
2228         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2229         `weak'.
2231 1999-04-23  Tom Tromey  <tromey@cygnus.com>
2233         * Makefile.in, configure: Rebuilt.
2234         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2235         (libgcjgc_la_SOURCES): Renamed.
2236         (libgcjgc_la_LIBADD): Likewise.
2237         (libgcjgc_la_DEPENDENCIES): Likewise.
2238         (EXTRA_libgcjgc_la_SOURCES): Likewise.
2239         (gctest_LDADD): Use libgcjgc.la.
2240         (all_objs): Mention libgcj_la_OBJECTS.
2241         (EXTRA_LTLIBRARIES): Renamed.
2242         (toollib_LTLIBRARIES): Likewise.
2243         (libgcjgc_la_LDFLAGS): New macro
2244         (toolexecdir): Renamed.
2245         (toolexeclibdir): Likewise.
2246         (toolexeclib_LTLIBRARIES): Likewise.
2247         (LTCOMPILE): Renamed; added libtool invocation.
2248         (LINK): Added libtool invocation.
2249         (.s.o): use LTCOMPILE.
2250         * configure.in: Call AM_PROG_LIBTOOL.
2251         (target_all): Set to libgcjgc.la.
2252         Mention `.lo' forms of object files.
2254 1999-04-21  Tom Tromey  <tromey@cygnus.com>
2256         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2257         GC_stackbottom.
2259         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2260         sigcontext.h.  From Matthias Klose <doko@itso.de>.
2262 1999-04-16  Tom Tromey  <tromey@cygnus.com>
2264         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
2265         David Pettersson <dapet@mai.liu.se>
2267 1999-04-14  Tom Tromey  <tromey@cygnus.com>
2269         * configure: Rebuilt.
2270         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
2271         incorrect patch of 199-04-09.
2273         * configure: Rebuilt.
2274         * configure.in: Added support for alpha.
2275         From David Pettersson <dapet@mai.liu.se>.
2277 1999-04-13  Tom Tromey  <tromey@cygnus.com>
2279         * Makefile.in: Rebuilt.
2280         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2281         solaris-threads.h.
2283 1999-04-09  Tom Tromey  <tromey@cygnus.com>
2285         * configure: Rebuilt.
2286         * configure.in: Use sparc_mach_dep.s when building on Solaris.
2288 1999-02-23  Tom Tromey  <tromey@cygnus.com>
2290         * configure: Rebuilt.
2291         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
2292         SOLARIS_THREADS and _SOLARIS_PTHREADS.
2294 1999-02-18  Tom Tromey  <tromey@cygnus.com>
2296         * quick_threads.c (GC_push_all_stacks): Change order of arguments
2297         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
2298         for case where LO is NULL.
2300 1999-02-10  Tom Tromey  <tromey@cygnus.com>
2302         * aclocal.m4, configure, Makefile.in: Rebuilt.
2303         * acinclude.m4: Updated to be used with automake 1.4.
2304         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
2305         with automake 1.4.
2306         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2307         (libgcjgc_a_SOURCES): Likewise.
2308         (libgcjgc_a_LIBADD): Likewise.
2309         (libgcjgc_a_DEPENDENCIES): Likewise.
2310         (EXTRA_libgcjgc_a_SOURCES): Likewise.
2311         (gctest_LDADD): Likewise.
2312         (all_objs): Likewise.
2314 1999-01-08  Tom Tromey  <tromey@cygnus.com>
2316         * configure: Rebuilt.
2317         * configure.in: Define LINUX_THREADS if using POSIX threads on
2318         Linux.
2320         * gc_priv.h (GC_test_and_set): Put return type into definition.
2322 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
2324         * Makefile.am: add support for eCos.  In particular, add C++
2325         support for compiling the file ecos.cc.
2326         * ecos.cc: new file.
2327         * acinclude.m4: add C++ support.
2328         * aclocal.m4: likewise
2329         * config.h: add eCos support.
2330         * configure: likewise
2331         * configure.in: likewise
2332         * misc.c (GC_write): add eCos support.
2333         * os_dep.c (tiny_sbrk): add eCos support.
2335 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
2337         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2338         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2340 1998-11-23  Tom Tromey  <tromey@cygnus.com>
2342         * configure.host (boehm_gc_cflags): Don't add `-O2'.
2344 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
2346         * Makefile.am, Makefile.in, configure.host: tx39 build option
2347         "-G 0" added.
2349 1998-11-17  Tom Tromey  <tromey@cygnus.com>
2351         * configure: Rebuilt.
2352         * configure.in: Switch on host, not target.
2354 1998-11-16  Tom Tromey  <tromey@cygnus.com>
2356         * gc_priv.h (GC_debug_object_start): Declare.
2357         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2358         * gc.h (GC_debug_register_finalizer_no_order,
2359         GC_register_finalizer_no_order): Declare.
2360         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2361         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2362         (GC_debug_generic_malloc): Likewise.
2363         (GC_debug_object_start): new function.
2365 1998-11-11  Tom Tromey  <tromey@cygnus.com>
2367         * configure: Rebuilt.
2368         * configure.in: Recognize --enable-java-gc, not --enable-gc.
2370 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2372         * dyn_load.c: Handle QUICK_THREADS case.
2374 1998-10-21  Tom Tromey  <tromey@cygnus.com>
2376         * configure: Rebuilt.
2377         * configure.in: Put cpp defines here, not in config.h.  Recognize
2378         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
2379         define PACKAGE or VERSION.
2380         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2381         Don't define.
2383         * os_dep.c (GC_default_push_other_roots): Define when
2384         QUICK_THREADS defined.
2385         * misc.c: Added QUICK_THREADS case.
2386         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2387         * config.h (THREADS): Define if QUICK_THREADS defined.
2388         * Makefile.in: Rebuilt.
2389         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2390         quick_threads.c.
2391         * quick_threads.c: New file.
2393 1998-10-20  Tom Tromey  <tromey@cygnus.com>
2395         * aclocal.m4, configure: Rebuilt.
2396         * acinclude.m4: Don't subst machine_dir or sys_dir.
2397         * configure.host: Removed unused code.
2399 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
2401         * configure: Rebuilt.
2402         * configure.in: Fix typo in previous patch.
2404 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
2406         * Makefile.in, aclocal.m4, configure: Rebuilt.
2407         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2408         * configure.host: Created.
2410 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
2412         * Makefile.in: Rebuilt.
2413         * Makefile.am (lib_LIBRARIES): Use target_all.
2414         (EXTRA_LIBRARIES): New macro.
2415         * configure: Rebuilt.
2416         * configure.in: Recognize --enable-gc.
2418 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
2420         * Makefile.in: Rebuilt.
2421         * Makefile.am (COMPILE): Define.
2422         (LINK): Likewise.
2423         (.s.o): Use MY_CFLAGS.
2424         * configure: Rebuilt.
2425         * configure.in (MY_CFLAGS): Define and subst.
2427 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
2429         * configure: Rebuilt.
2430         * configure.in: Added --with-cross-host argument.  Use
2431         $with_cross_host to determine when cross-compiling.
2433         * config.h (SMALL_CONFIG): Don't define.
2434         * configure: Rebuilt.
2435         * configure.in: Define SMALL_CONFIG when cross-compiling.
2437 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
2439         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2440         allchblk.c: Merged with 4.13a2 while preserving local changes.
2442         * Makefile.orig: Updated from Makefile in 4.13a2.
2444         * configure: Rebuilt.
2445         * configure.in: Updated version number to 4.13a2.  On Solaris,
2446         don't build with -O when using gcc.
2448         Merged in version 4.13alpha2:
2449         * config.h (USE_MMAP): Re-enable on Solaris.
2450         * solaris_pthreads.c: Removed RCS Id line.
2451         * alpha_mach_dep.s: Removed RCS Id line.
2453 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
2455         * config.h (USE_MMAP): Don't define for Solaris.
2457 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
2459         * Makefile.in: Rebuilt.
2460         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2462         * Makefile.in: Rebuilt.
2463         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2465 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
2467         * Makefile.in: Rebuilt.
2468         * Makefile.am ($(all_objs)): Depend on config.h.
2470         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2471         DATASTART as &_etext.
2472         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2473         * configure: Rebuilt.
2474         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2475         tx39.
2477 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
2479         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2480         (GC_maybe_gc): Likewise.
2481         * os_dep.c: If NO_SIGSET defined, then have empty
2482         GC_disable_signals and GC_enable_signals.
2483         * configure: Rebuilt.
2484         * configure.in: Added --with-target-subdir option.  If
2485         cross-compiling, define NO_SIGSET and NO_CLOCK.
2487 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
2489         * Makefile.in: Rebuilt.
2490         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2491         (AS): Removed.
2492         * aclocal.m4, configure: Rebuilt.
2493         * acinclude.m4: New file.
2494         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
2496 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
2498         * configure: Rebuilt.
2499         * configure.in: Link boehm-config.h to config.h.
2500         * Makefile.in: Rebuilt.
2501         * Makefile.am (INCLUDES): Removed.
2502         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2503         JAVA_FINALIZATION): Define
2505 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
2507         * Many files: Use GC_bool, not bool.
2508         * gc_priv.h: Define GC_bool, not bool.
2510         * misc.c (GC_dont_gc): Define as int.
2511         (GC_quiet): Likewise.
2512         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2513         * alloc.c (GC_dont_expand): Define as int.
2514         * gc_priv.h: For gcc, define bool as char.
2516 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
2518         * Makefile.in: Rebuilt.
2519         * Makefile.am (check_PROGRAMS): New macro.
2520         (gctest_SOURCES): Likewise.
2521         (gctest_LDADD): Likewise.
2523 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
2525         * Makefile.in: Rebuilt.
2526         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2527         * configure: Rebuilt.
2528         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2530 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2532         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2533         New files.
2534         * Makefile.orig: Renamed from Makefile.