fixing pr42337
[official-gcc.git] / boehm-gc / ChangeLog
blobdd87502774c3514f764a40d97a350050eea600eb
1 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * Makefile.in: Regenerate.
4         * configure: Regenerate.
5         * include/Makefile.in: Regenerate.
7 2009-11-30  Ben Elliston  <bje@au.ibm.com>
9         * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
10         compiling with GCC rather than taking the address of a local
11         variable.
13 2009-11-30  Ben Elliston  <bje@au.ibm.com>
15         * os_dep.c: Use the POSIX signal API in preference to the BSD API.
16         Generate a compilation error if neither the POSIX nor BSD APIs can
17         be detected.
19 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
21         * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
22         (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
23         so that library dependency resolution works with portable make.
24         * Makefile.in: Regenerate.
26 2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
28         * configure: Rebuilt with modified libtool.m4.
30 2009-09-03  Loren J. Rittle  <ljrittle@acm.org>
32         * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
33         Define for FreeBSD 7.0+.
35 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
37         * configure.ac (AC_PREREQ): Bump to 2.64.
39 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
41         * Makefile.am (install-html, install-pdf): Remove.
42         * Makefile.in: Regenerate.
44         * Makefile.in: Regenerate.
45         * aclocal.m4: Regenerate.
46         * configure: Regenerate.
47         * include/Makefile.in: Regenerate.
48         * include/gc_config.h.in: Regenerate.
50 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
52         * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
53         and $(LIBTOOLFLAGS).
54         * Makefile.in: Regenerate.
56 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
58         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
60 2009-07-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
62         PR boehm-gc/40785
63         * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
64         the __sync_lock_test_and _set and __sync_lock_release builtins on
65         the powerpc.  If not GCC 4.4, fix up the constraints so that it
66         builds without error.
67         (GC_clear): Ditto.
69 2009-07-17  Kai Tietz  <kai.tietz@onevision.com>
71         * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
72         cflags.
73         * configure: Regenerated.
75 2009-05-17  Dave Korn  <dave.korn.cygwin@gmail.com>
77         * win32_threads.c (GC_get_thread_stack_base):  Implement for Cygwin.
79 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
81         * configure: Regenerate.
83 2009-02-09  Mark Mitchell  <mark@codesourcery.com>
85         * Makefile.am (LTLDFLAGS): New variable.
86         (LINK): Use it.
87         * Makefile.in: Regenerated.
89 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
91         * configure: Regenerate.
93 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
94             Steve Ellcey  <sje@cup.hp.com>
96         * configure: Regenerate for new libtool.
97         * Makefile.in: Ditto.
98         * include/Makefile.in: Ditto.
99         * aclocal.m4: Ditto.
101 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
103         * configure.ac (AC_CONFIG_FILES): Add threads.mk. 
104         * threads.mk.in: New. 
105         * Makefile.in, configure: Regenerate. 
107 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
109         * Makefile.in: Regenerate.
110         * configure: Regenerate.
111         * include/Makefile.in: Regenerate.
112         * include/gc_config.h.in: Regenerate.
114 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
116         PR bootstrap/35457
117         * aclocal.m4: Regenerate.
118         * configure: Regenerate.
120 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
122         * aclocal.m4: Regenerate.
123         * configure: Likewise.
124         * Makefile.in: Likewise.
125         * include/Makefile.in: Likewise.
127 2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>
129         * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
130         GC_GETSECTBYNAME instead.
131         * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
132         architecture (Darwin).
134 2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
136         * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
138 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
140         * configure: Regenerate.
142 2007-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
144         PR boehm-gc/33442
145         * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
146         up, return stack_addr instead of stack_addr - stack_size.
148 2007-08-14  David Daney  <ddaney@avtrex.com>
150         * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
152 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
154         * aclocal.m4: Regenerated.
156 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
158         PR boehm-gc/21940
159         PR boehm-gc/21942
160         * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
161         Use alternate thread library in /usr/lib/lwp.
162         * configure: Regenerate.
163         * dyn_load.c: Use GC_SOLARIS_PTHREADS.
164         * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
165         * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
166         (GC_SOLARIS_THREADS): Don't define.
167         * include/private/solaris_threads.h: Remove.
168         * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
169         GC_nprocs via sysconf().
170         * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
171         solaris_threads.c.
172         (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
173         * Makefile.in: Regenerate.       
174         * solaris_pthreads.c: Remove.
175         * solaris_threads.c: Remove.
177 2007-06-22  Jakub Jelinek  <jakub@redhat.com>
179         * pthread_support.c (GC_get_thread_stack_base): Handle
180         pthread_getattr_np failures.
182 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
184         * configure: Regenerate.
186 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
188         * Makefile.in: Regenerate.
189         * configure: Regenerate.
190         * aclocal.m4: Regenerate.
191         * include/Makefile.in: Regenerate.
193 2007-05-20  Andreas Tobler  <a.tobler@schweiz.org>
195         * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
196         * configure: Regenerate.
197         * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
198         * Makefile.in: Regenerate.
199         * include/Makefile.in: Regenerate.
200         * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
201         targets. Remove comments. Prepare ppc64 support for Darwin.
203 2007-04-23  Keith Seitz  <keiths@redhat.com>
205         * include/gc.h (GC_is_thread_suspended): Declare.
206         * pthread_stop_world.c (GC_is_thread_suspended): New function.
208 2007-04-03  Jakub Jelinek  <jakub@redhat.com>
210         * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
211         * configure: Rebuilt.
213 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
215         * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
216         (GC_register_finalizer_unreachable): Declare.
217         (GC_debug_register_finalizer_unreachable): Declare.
218         * finalize.c (GC_unreachable_finalize_mark_proc): New.
219         (GC_register_finalizer_unreachable): New.
220         (GC_finalize): Handle it.
221         * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
222         (GC_debug_register_finalizer_no_order): Fix whitespace.
224 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
226         * Makefile.am: Add dummy install-pdf target.
227         * Makefile.in: Regenerate
229 2007-02-05  Roman Zippel <zippel@linux-m68k.org>
231         * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
232         it works with Linux 2.6, reactivate MPROTECT_VDB
233         * boehm-gc/pthread_stop_world.c: save all register
234         on signal entry
236 2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
238         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
239         added defines to include/private/gc_priv.h
240         (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
241         * darwin_stop_world.c: Removed the above defines.
242         * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
243         and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
245 2007-01-17  David Daney  <ddaney@avtrex.com>
247         * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
248         cross-compiling.
249         * configure: Regenerated.
250         * include/gc_config.h.in: Regenerated.
252 2007-01-17  Mike Stump  <mrs@apple.com>
254         * os_dep.c: Fix i686-apple-darwin9 builds.
256 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
258         * aclocal.m4: Regenerate to use multi.m4.
259         * configure: Regenerate.
260         * Makefile.in: Regenerate.
262 2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
264         * include/gc_config.h.in: Regenerate.
266 2007-01-16  Petr Salinger  <Petr.Salinger@seznam.cz>
268         * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
269          GNU/kFreeBSD.
270         * os_dep.c: Likewise.
272 2007-01-15  Andreas Tobler  <a.tobler@schweiz.org>
274         * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
275         reference.
276         (catch_exception_raise): Fix typo in the I386 exc_state.
278 2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
280         * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
281         HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
282         * configure: Regenerated.
283         * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
284         Added base definitions for the X86_64 Darwin port.
285         * include/private/gc_priv.h: Added definitions for Darwin MACH thread
286         operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
287         * darwin_stop_world.c: Removed THREAD_STATE info. Added
288         HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
289         with HAS_X86_THREAD_STATE32___EAX.
290         (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
291         X86_64 Darwin.
292         * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
293         (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
294         Distinguish between getsectbynamefromheader_64 and
295         getsectbynamefromheader.
296         (GC_dyld_image_remove): Likewise.
297         * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
298         (catch_exception_raise): Introduce exception information for I386 and
299         X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
301 2006-12-08  Mike Stump  <mrs@apple.com>
303         * configure.ac: Fix x86 darwin builds.
304         * darwin_stop_world.c: Likewise.
305         * include/private/gcconfig.h: Likewise.
306         * connfigure: Regenerate.
307         
308 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
310         PR target/29180
311         * darwin_stop_world.c: Make stack_start unsigned long.
313 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
315         * os_dep.c: Port to Darwin/i386
316         * darwin_stop_world.c: Likewise
317         * include/private/gcconfig.h: Likewise
318         
319 2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>
321         * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
322         for gc 6.8.
323         * dyn_load.c: Likewise.
324         * include/gc.h: Likewise.
325         * private/gcconfig.h: Likewise.
326         * configure: Regenerate.
327         * include/gc_config.h.in: Regenerate.
329 2006-09-14  Tom Tromey  <tromey@redhat.com>
331         PR boehm-gc/29068.
332         * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
333         Solaris.
335 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
336         
337         PR libgcj/13212:
338         * configure.ac: Check for pthread_getattr_np(). Remove
339         GC_PTHREAD_SYM_VERSION detection.
340         * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
341         GC_get_thread_stack_base): New declarations.
342         * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
343         GC_get_thread_stack_base): New functions.
344         (GC_delete_thread): Don't try to free the first_thread.
345         * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
346         (pthread_create_, constr): Removed.
347         (pthread_create): Don't rename.
348         * include/gc_ext_config.h.in: Rebuilt.
349         * include/gc_pthread_redirects.h (pthread_create): Define 
350         unconditionally.
351         * include/gc_config.h.in: Rebuilt.
352         * configure: Rebuilt.
354 2006-06-21  Keith Seitz  <keiths@redhat.com>
356         * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
357         routine if signal is received and thread is flagged SUSPENDED.
358         (suspend_self): New function.
359         (GC_suspend_thread): New function.
360         (GC_resume_thread): New function.
361         * include/gc.h (GC_suspend_thread): Declare.
362         (GC_resumet_thread): Declare.
363         * include/private/pthread_support.h (SUSPENDED): New GC_thread
364         flag.
366 2006-06-20  Ranjit Mathew  <rmathew@gcc.gnu.org>
367         
368         Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
369         * os_dep.c (GC_wnt): Define.
370         (GC_init_win32): Set GC_wnt.
371         * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
372         sections also on Windows 9x/ME.
374 2006-06-02  Geoffrey Keating  <geoffk@apple.com>
376         * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
377         HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
378         HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
379         HAS_I386_THREAD_STATE___EAX.
380         * configure: Regenerate.
381         * include/gc_config.h.in: Regenerate.
382         * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
383         macro names to determine value.
384         (THREAD_STATE): New.
385         (THREAD_FLD): New.
386         (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
388 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
390         * Makefile.am: Add install-html target. 
391         * Makefile.in: Regenerate.
392         * aclocal.m4: Regenerate.
393         * include/Makefile.in: Regenerate.
395 2006-03-07  Andrew Haley  <aph@redhat.com>
397         * dyn_load.c (GC_has_static_roots): Declare.
398         (GC_register_dynlib_callback): Call GC_has_static_roots.
400 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
402         * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
403         GC_start_world): Call vm_deallocate to free act_list. Fix from
404         Bruce Mitchener.
406 2006-03-24  Andreas Tobler  <a.tobler@schweiz.ch>
407         John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
409         * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
410         Warn about POSIX threads not being supported for *-*-hpux10*.
411         * configure: Regenerate.
413 2006-02-09  Tom Tromey  <tromey@redhat.com>
415         * pthread_support.c: Conditionally include dlfcn.h.
417 2006-02-06  Jakub Jelinek  <jakub@redhat.com>
418             Anthony Green  <green@redhat.com>
419             Tom Tromey  <tromey@redhat.com>
421         * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
422         * include/gc_config.h.in: Rebuilt.
423         * include/gc_pthread_redirects.h (pthread_create): Conditionally
424         define.
425         * pthread_support.c (pthread_create_): New global.
426         (constr): New function.
427         (pthread_create): Conditionally renamed.
428         * configure: Rebuilt.
429         * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
431 2006-02-04  Alan Modra  <amodra@bigpond.net.au>
433         * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
434         use broken 64-bit version.
436 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
438         * darwin_stop_world.c: Change inline asm instruction to ld as ldz
439         is wrong.
441         * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
442         * Makefile.in: Regenerate.
444 2006-01-25  Bryce McKinlay  <mckinlay@redhat.com>
446         * include/private/gcconfig.h: Revert to GC 6.6 version, removing
447         all local changes.
449 2006-01-24  Bryce McKinlay  <mckinlay@redhat.com>
451         Import Boehm GC version 6.6.
453 2006-01-24  David Ayers  <d.ayers@inode.at>
455         PR libobjc/13946
456         * include/gc.h: Fix prototype declarations for bootstrap.
458 2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
460         * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
462 2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
464         * include/private/gc_locks.h (GC_test_and_set): Change the
465         constraint of the first operand to '0'.
467 2005-09-06  Tom Tromey  <tromey@redhat.com>
469         PR libgcj/23662:
470         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
471         HEURISTIC1 on ARM.
473 2005-07-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
475         * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
477 2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>
479         * os_dep.c: Add FreeBSD/PowerPC bits.
480         (GC_SysVGetDataStart): Likewise.
481         * include/private/gcconfig.h: Likewise.
483 2005-05-25  Andrew Haley  <aph@redhat.com>
485         * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
486         powerpc64-linux.
488 2005-05-09  Mike Stump  <mrs@apple.com>
490         * configure: Regenerate.
492 2005-04-19  Hans-Peter Nilsson  <hp@axis.com>
494         * os_dep.c, include/private/gc_locks.h: Import CRIS port by
495         Simon Posnjak from gc6.4.
496         * include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.
498 2005-04-17  David S. Miller  <davem@davemloft.net>
500         * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
501         * os_dep.c (GC_linux_stack_base): Check for bug present in some
502         Sparc glibc variants where __libc_stack_end is erroneously set
503         to "1".  Fallback to procfs code in that case.
505 2005-04-12  Mike Stump  <mrs@apple.com>
507         * configure: Regenerate.
509 2005-04-12  Richard Henderson  <rth@redhat.com>
511         * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
513 2005-03-23  Mike Stump  <mrs@apple.com>
515         * darwin_stop_world.c: Update for -m64 multilib.
516         * include/private/gcconfig.h: Likewise.
517         * powerpc_darwin_mach_dep.s: Likewise.
519 2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>
521         * Makefile.in, include/Makefile.in: Regenerate.
523 2005-02-26  Richard Earnshaw  <rearnsha@arm.com>
525         * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
526         ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
528 2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>
530         PR libgcj/19823
531         * configure.host: Set gc_use_mmap on *-linux*.
532         * configure.ac: Define USE_MMAP if gc_use_mmap is set.
533         * include/private/gc_priv.h: Include gc_config.h.
534         * configure, include/gc_config.h.in: Rebuilt.
536 2005-02-07  Hans Boehm  <Hans.Boehm@hp.com>
538         * allchblk.c (GC_allochblk_nth): Dont overlook available space if
539           GC disabled, correctly convert GC_finalizer_mem_freed to byte,
540           total_size to words.
541         * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
542           MEM_IMAGE regions.
543         * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
544           and indent appropriately.
545         * mark_rts.c (GC_approx_sp): Access stack.
546         * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
547           callee-saves registers when appropriate.
548           (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
550 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
552         * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h 
553         and include/gc_ext_config.h.
554         * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
555         * include/gc.h: Undef PACKAGE_* before including gc_config.h.
557 2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>
559         * configure: Regenerate.
561 2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>
563         PR libgcj/18699
564         Revert patches of 2004-11-26 and 2004-11-27.
566 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
568         * configure: Regenerate for libtool change.
570 2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
572         * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
574 2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>
576         Fix "PACKAGE_NAME redefined" errors.
577         * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h 
578         and include/gc_config.h.
579         * configure: Regenerated.
580         * include/gc_config.h.in: No longer auto-generated. Define only the
581         macros needed by libjava.
582         * include/config.h.in: Generated by autoheader.
583         * include/gc.h: Include config.h, not gc_config.h.
585 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
587         * configure: Regenerate for libtool reversion.
589 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
591         * configure: Regenerate for libtool change.
593 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
595         * configure.ac (machdep): Use sparc_mach_dep.lo on
596         sparc64-sun-solaris2.* too.
597         (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
598         * configure: Regenerate.
600 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
602         PR target/18444
603         * configure.ac (threading): Accept 'posix95'.
604         * configure: Regenerate.
606 2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>
608         * Makefile.am: Define ACLOCAL_AMFLAGS.
609         * configure.ac: Remove redundant sinclude.
610         * acinclude.m4: Delete file.
611         * aclocal.m4: Regenerate.
612         * Makefile.in, include/Makefile.in: Regenerate.
613         * configure: Regenerate.
615 2004-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
617         * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
618         Add prototype.
620 2004-10-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
622         * include/private/gcconfig.h: Add m32r-linux target.
624 2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>
626         * configure.ac: Update all AC_DEFINEs to newer style.
627         * configure: Regenerate.
628         * include/gc_config.h.in: Regenerate.
630 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
632         * backgraph.c, gc_priv.h (GC_traverse_back_graph,
633         GC_print_back_graph_stats): split GC_traverse_back_graph.
634         * backgraph.c: Dynamically grow in_progress_space.
635         * finalize.c (GC_notify_or_invoke_finalizers): also call
636         GC_print_back_graph_stats.
637         * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
638         GC_print_back_height): Move delarations to header file.
639         * configure.ac: rename --enable-full-debug to --enable-gc-debug.
640         * configure: Regenerate.
641         
642 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
644         * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
645         * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
647 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
649         * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
650         Reported by Danny Smith.
652 2004-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
654         * misc.c (GC_init): Replace lhs cast with rhs cast.
656 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
658         * specific.c: Check GC_LINUX_THREADS before including 
659         private/specific.h. From Richard Earnshaw.
661 2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
663         * aclocal.m4: Remove obsolete construct for old automake.
664         * acinclude.m4: Regenerate with aclocal 1.9.1.
665         * configure.ac:  Remove duplicate AC_WITH calls.  Replace
666         AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
667         Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
668         Remove now-redundant subst of target_noncanonical.  Remove
669         now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
670         AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
671         Use slightly more modern form of AC_INIT.
672         * configure: Rebuild with autoconf 2.59.
673         * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
675 2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
677         * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
678         since they're not known at this time.
679         * solaris_pthreads.c: Likewise.
681 2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
683         PR target/14931
684         * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
686 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
688         * configure.ac (gc_cflags): Add -Iinclude.
689         (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
690         Don't write DEFS to boehm-cflags file.
691         * configure: Rebuilt.
692         * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
693         * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
694         * include/gc_config_macros.h: Remove backward-compatibility 
695         redefinitions of GC_ names.
696         * include/gc.h: Include <gc_config.h>.
698 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
700         Import Boehm GC version 6.3.
702 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
704         * include/Makefile.in: Regenerate
706 2004-07-06  Andrew Pinski  <apinski@apple.com>
708         * os-dep.c (GC_task_self): Declare as static
709         and remove the second declaration.
711 2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
713         * Makefile.am: Add rule for .S files to fix bootstrap on
714         solaris and alpha.
715         * Makefile.in: Regenerate.
717 2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
719         * boehm-gc/configure.ac: New name of configure.in.
720         Remove useless multilib stuff.  Change uses of
721         INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
722         * boehm-gc/configure.in: New name of configure.in.
723         * boehm-gc/Makefile.am: Update for automake 1.8.5.
724         * boehm-gc/acinclude.m4: Include ../config/acx.m4.
725         * boehm-gc/aclocal.m4: Regenerate.
726         * boehm-gc/configure: Regenerate.
727         * boehm-gc/Makefile.in: Regenerate.
729 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
731         * .cvsignore: New file.
733 2004-04-25  Andreas Jaeger  <aj@suse.de>
735         * mark.c (GC_mark_from): Use pointer as prefetch argument.
737 2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
739         * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
740         for gcc >= 3.0.
741         (PREFETCH_FOR_WRITE): Likewise.
743 2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
745         * configure.ac: Bump AC_PREREQ to 2.59.
746         * configure: Regenerate.
747         * config.in: Regenerate.
749 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
751         * ltconfig, ltmain.sh: Remove unused files.
752         * configure.in: Remove bogus extra early invocation of
753         AC_CONFIG_AUX_DIR.
754         * configure: Regenerate.
755         * mkinstalldirs, install-sh, config.sub, config.guess:
756         Remove (now) unused files.
757         * Makefile.in: Regenerate (losing references to vanished
758         files).
760         * configure.in: Add CCAS, CCASFLAGS for future automakes.
761         * configure, Makefile.in, include/Makefile.in: Regenerate.
763         * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
764         * Makefile.in: Regenerate.
766         * configure.in: Remove bogus duplicate invocation of
767         AM_MAINTAINER_MODE.  Remove obsolete comment.
768         * configure: Regenerate.
770         * acinclude.m4: Remove GC_CONFIGURE macro; move contents
771         to configure.in.
772         * aclocal.m4: Regenerate.
773         * configure.in: Receive contents of GC_CONFIGURE macro.
774         * configure: Regenerate.
776         * configure.in: Remove more obsolete, bogus code.
777         * configure: Regenerate.
779         * acinclude.m4: Remove obsolete and bogus constructs.
780         * aclocal.m4: Regenerate.
781         * configure: Regnerate.
783 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
785         * acinclude.m4: De-precious CC and CXX so that the right flags
786         are passed down to multilibs.
787         * aclocal.m4: Regenerate.
788         * configure: Regenerate.
790 2004-02-22  Zack Weinberg <zack@codesourcery.com>
791             Nathanael Nerode <neroden@twcny.rr.com>
792             Alexandre Oliva <aoliva@redhat.com>
794         * config.sub, config.guess: Replace with forwarding scripts
795         which invoke the master copies in the top level.
797 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
799         * acinclude.m4: Remove old no-executables workaround;
800         add new no-executables workaround.
801         * aclocal.m4: Regenerate.
802         * configure.in: Change prereqs to autoconf 2.57.
803         * configure: Regenerate with autoconf 2.57.
805         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
806         * configure: Regenerate.
807         * Makefile.am: Use target_noncanonical variable from configure.
808         * Makefile.in: Regenerate.
809         * include/Makefile.in: Regenerate.
811 2004-02-20  Andrew Cagney  <cagney@redhat.com>
813         * config.guess: Update from version 2002-01-10 to 2004-02-16.
814         * config.sub: Update from version 2002-01-02 to 2004-02-16.
816 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
818         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
819         * aclocal.m4: Rebuild.
820         * configure: Regenerate.
822         * acinclude.m4: Move certain code to configure.in.
823         * configure.in: Receive code from acinclude.m4.
824         * aclocal.m4: Rebuild.
825         * configure: Regenerate.
827         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
829 2004-01-20  Andrew Haley  <aph@redhat.com>
831         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
833         * configure.in: Comment change.
835 2004-01-16  Andrew Haley  <aph@redhat.com>
837         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
838         add for ia64; remove for MIPS.
839         * configure: Regnerated.
841 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
843         * configure.in: Add in AC_PREREQ(2.13)
845 2004-01-07  Dave Jones <davej@redhat.com>
847         * malloc.c (GC_generic_malloc): Correct initialization typo.
848         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
850 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
852         * include/private/gcconfig.h: Re-install change of 2003-04-16.
854 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
856         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
857         _MIPS_SIM_ABI32.
859 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
861         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
862         unsure comment.
864 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
866         * configure: Rebuild.
868 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
870         * configure.in: Remove NO_GETENV definition for win32.
871         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
872         * misc.c (GC_init_inner): Call GC_thr_init for win32.
873           (GC_set_warn_proc): Add assertion.
874         * win32_threads.c: Import 6.3alpha2 version.
875         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
877 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
879         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
880         2.3/SPARC, there are no micro versions.
881         Treat Solaris 10 and up alike.
882         * configure: Regenerate.
884 2003-09-22  Anthony Green  <green@redhat.com>
886         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
887         "NOSYS" targets.
889 2003-09-20    <green@redhat.com>
891         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
892         check for __arm__ or __thumb__.
894 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
896         * configure: Regenerate.
898 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
899             Roger Sayle <roger@eyesopen.com>
901         * configure.in: Set INCLUDES to absolute path.
902         Save $INCLUDES in boehm-cflags, too.
903         Set INCLUDES so it's available to config.status.
904         * configure: Regenerate.
906 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
908         * include/gc.h (GC_CreateThread): Declare with WINAPI
909         attribute.
910         * win32_threads.c (GC_CreateThread): Make definitions consistent
911         with declaration.  Cast &thread_table[i].handle to PHANDLE
912         in call to DuplicateHandle
913         (thread_start): Declare as static.
915 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
917         * dyn_load.c: Define __private_extern__ to match Apple's system
918         header.
920 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
922         * os_dep.c: Remove redundancy introduced in last merge.
924 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
926         Import GC 6.3alpha1.
927         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
928         * ChangeLog: Likewise.
929         * Makefile.am: Likewise.
930         * Makefile.direct: Likewise.
931         * Makefile.dj: Likewise.
932         * allchblk.c: Likewise.
933         * alloc.c: Likewise.
934         * backgraph.c: Likewise.
935         * configure.host: Likewise.
936         * configure.in: Likewise.
937         * dbg_mlc.c: Likewise.
938         * dyn_load.c: Likewise.
939         * finalize.c: Likewise.
940         * gc_cpp.cc: Likewise.
941         * gc_dlopen.c: Likewise.
942         * gcj_mlc.c: Likewise.
943         * if_mach.c: Likewise.
944         * mach_dep.c: Likewise.
945         * malloc.c: Likewise.
946         * mallocx.c: Likewise.
947         * mark.c: Likewise.
948         * mark_rts.c: Likewise.
949         * misc.c: Likewise.
950         * os_dep.c: Likewise.
951         * ptr_chck.c: Likewise.
952         * reclaim.c: Likewise.
953         * solaris_pthreads.c: Likewise.
954         * solaris_threads.c: Likewise.
955         * sparc_mach_dep.S: Likewise.
956         * threadlibs.c: Likewise.
957         * typd_mlc.c: Likewise.
958         * version.h: Likewise.
959         * win32_threads.c: Likewise.
960         * Mac_files/MacOS_Test_config.h: Likewise.
961         * Mac_files/MacOS_config.h: Likewise.
962         * cord/cordbscs.c: Likewise.
963         * cord/cordprnt.c: Likewise.
964         * cord/de_win.c: Likewise.
965         * doc/README: Likewise.
966         * doc/README.MacOSX: Likewise.
967         * doc/README.changes: Likewise.
968         * doc/README.environment: Likewise.
969         * doc/README.ews4800: Likewise.
970         * doc/README.linux: Likewise.
971         * doc/README.macros: Likewise.
972         * doc/README.win32: Likewise.
973         * doc/debugging.html: Likewise.
974         * doc/gcdescr.html: Likewise.
975         * doc/tree.html: Likewise.
976         * include/Makefile.in: Likewise.
977         * include/gc.h: Likewise.
978         * include/gc_cpp.h: Likewise.
979         * include/gc_local_alloc.h: Likewise.
980         * include/gc_mark.h: Likewise.
981         * include/gc_pthread_redirects.h: Likewise.
982         * include/gc_typed.h: Likewise.
983         * include/new_gc_alloc.h: Likewise.
984         * include/private/dbg_mlc.h: Likewise.
985         * include/private/gc_hdrs.h: Likewise.
986         * include/private/gc_locks.h: Likewise.
987         * include/private/gc_pmark.h: Likewise.
988         * include/private/gc_priv.h: Likewise.
989         * include/private/gcconfig.h: Likewise.
990         * include/private/solaris_threads.h: Likewise.
991         * include/private/specific.h: Likewise.
992         * tests/test.c: Likewise.
993         * tests/test_cpp.cc: Likewise.
995         * configure: Rebuild.
996         * Makefile.in: Rebuild.
998         * mips_sgi_mach_dep.s: Add.
1000         * alpha_mach_dep.s: Remove.
1001         * irix_threads.c: Remove.
1002         * linux_threads.c: Remove.
1003         * mips_sgi_mach_dep.S: Remove.
1004         * missing: Remove.
1005         * powerpc_macosx_mach_dep.s: Remove.
1006         * doc/Makefile.am: Remove.
1007         * doc/Makefile.in: Remove.
1009 2003-07-25  Roger Sayle  <roger@eyesopen.com>
1011         * configure.host: Only use +ESdbgasm when using the HPUX native
1012         compiler on PA-Risc.  It isn't recognized by GCC and is silently
1013         ignored by HP's compilers on ia64.
1015 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
1017         * configure.in: define GC_DLL under mingw if --enable-shared
1018         * configure: rebuilt
1019         * win32_threads.c: add #ifdef GC_DLL around DllMain
1021 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1023         * include/private/gcconfig.h: Add support for arm-netbsdelf.
1025 2003-04-09  Tom Tromey  <tromey@redhat.com>
1027         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1028         POWERPC.
1029         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1031 2003-03-22  Richard Henderson  <rth@redhat.com>
1033         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1034         (GC_test_and_set): Use __sync_lock_test_and_set.
1035         (GC_clear): Use volatile assignment.
1036         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1037         (GC_memory_write_barrier): Use __sync_synchronize.
1039 2003-03-12  Andreas Schwab  <schwab@suse.de>
1041         * configure.in: Avoid trailing /. in toolexeclibdir.
1042         * configure: Rebuilt.
1044 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
1045         * include/private/gcconfig.h (GC_data_start): declare when needed.
1046         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1047         declaration.
1048         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1049         GC_register_dynlib_callback): Register main data for static
1050         executable if dl_iterate_phdr() didn't.
1051         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1052         if we don't expect to register main static data.
1054 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
1055         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1056         (GC_push_roots): explicitly mark free list headers, register
1057         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1058         * alloc.c (GC_stopped_mark): Conditionally call
1059         GC_cond_register_dynamic_libraries().
1060         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1061         * dyn_load.c (GC_register_main_static_data): define.
1062         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1063         no longer skip main data.
1064         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1065         (GC_init_inner): Make main data registration conditional.
1066         * include/private/gc_priv.h (GC_register_main_static_data): declare.
1067         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1068         for LINUX.
1070 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1072         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1073         config.status.
1074         * configure: Rebuilt.
1076 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
1078         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1080 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1082         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1083         Remove USE_LIBDIR conditional.
1084         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1085         * Makefile.in, configure: Rebuilt.
1087 2002-12-31  Tom Tromey  <tromey@redhat.com>
1089         For PR libgcj/8933:
1090         * include/Makefile.in: Rebuilt.
1091         * include/Makefile.am (noinst_HEADERS): Renamed from
1092         include_HEADERS.
1094 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1096         * ltconfig (osf[345]): Append $major to soname_spec.
1097         Reflect this in library_names_spec.
1098         * ltmain.sh (osf): Prefix $major with . for use as extension.
1100 2002-10-02  Andreas Jaeger  <aj@suse.de>
1102         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1104 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
1106         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
1107         check for __arm__ or __thumb__.
1109 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
1111         * include/private/gcconfig: Add machine type S390.  Add s390x support.
1112         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1113         (GC_compare_and_exchange): Likewise.
1115 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
1117         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1119 2002-08-23  Adam Megacz <adam@xwt.org>
1121         * win32_threads.cc: Removed extraneous ABORT()
1123 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1125         * Makefile.am (all-multi): Fix multilib parallel build.
1127 2002-07-18  Bo Thorsen  <bo@suse.de>
1129         * include/private/gcconfig.h: Add x86-64 definitions.
1130         * os_dep.c: Add x86-64 support.
1131         * configure.in: Likewise.
1132         * configure: Regenerate.
1134 2002-07-18  H.J. Lu <hjl@gnu.org>
1136         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1138 2002-07-18  H.J. Lu  (hjl@gnu.org)
1140         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1141         Linux/mips.
1143 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
1144             Jonathan Clark
1146         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1148 2002-06-09  H.J. Lu  (hjl@gnu.org)
1150         * include/private/gc_locks.h (GC_test_and_set): Support
1151         Linux/mips.
1152         (GC_TEST_AND_SET_DEFINED): Likewise.
1154         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1155         Linux/mips.
1156         (DATAEND): Likewise.
1157         (LINUX_STACKBOTTOM): Likewise.
1158         (STACKBOTTOM): Removed for Linux/mips.
1160 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
1162         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1163         (GC_pthread_create): Fix typo.
1164         (GC_TRY_LOCK): Likewise.
1165         * include/private/gc_locks.h (GC_test_and_set): Only take one
1166         one argument.
1167         (LOCK): Adjust appropriately.
1168         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1169         _SIGRTMIN is unavailable.
1171 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1173         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1174         * aclocal.m4: Regenerate.
1175         * configure: Regenerate.
1177 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1179         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1180         script entry, and set LD to it when configuring multilibs.
1181         * configure: Rebuilt.
1183 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1185         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1186         (noinst_LTLIBRARIES): Add libgcjgc.la.
1188         * Makefile.in: Rebuild.
1190 2002-04-22  David S. Miller  <davem@redhat.com>
1192         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1193         64-bit SPARC Linux, the __libc_stack_end technique does
1194         not work in this case.
1196 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
1198         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1200 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
1202         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1203         SPARC Linux.
1205 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
1207         * include/private/gcconfig.h (DATAEND): Update comment example
1208         to match reality.
1210 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
1212         * include/private/gcconfig.h (DATAEND): Clarify comment.
1214 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
1216         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1217         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1218         declare.
1219         * allchblk.c (GC_allchblk_nth): Change text and support reduced
1220         frequency for blacklist warning message.
1221         * misc.c (GC_large_alloc_warn_interval,
1222         GC_large_alloc_warn_suppressed): define.
1223         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1224         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1225         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1226         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1228         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1230 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
1232         * include/private/gcconfig.h: Add support for an unmapped
1233         memory hole between the end of the initialized data segment
1234         and the start of the BSS on FreeBSD/i386.
1236 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
1238         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1239         NetBSD/i386.
1241 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
1243         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1244         (GC_local_gcj_malloc): Add assertion.
1245         (start_mark_threads): Fix abort message.
1246         * mark.c (GC_mark_from): Generalize assertion.
1247         * reclaim.c (GC_clear_fl_links): New function.
1248         (GC_start_reclaim): Must clear some freelist links.
1249         * include/private/specific.h, specific.c: Add assertions.
1250         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
1251         Rearrange tse fields.
1253 2002-03-27  Richard Henderson  <rth@redhat.com>
1255         * os_dep.c (GC_init_linux_data_start): Fix references to
1256         __data_start and _end.
1258 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
1260         * include/private/gcconfig.h: Change all likely references
1261         to linker script synthesized symbols to use this idiom:
1262         extern int etext[]; etext
1264 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
1266         * linux_threads.c (GC_get_nprocs): Close file descriptor.
1268 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
1270         * include/private/gcconfig.h: Add unified test for FreeBSD.
1271         Support FreeBSD/alpha.
1272         * os_dep.c: Do not include <machine/trap.h> unless available.
1273         (GC_freebsd_stack_base): Fix types.
1275 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1277         * Makefile.am: Make a convenience library.
1278         * Makefile.in: Rebuilt.
1280 2002-03-15  Anthony Green  <green@redhat.com>
1282         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1283         * configure.in: Disable use of getenv for win32 targets (some of
1284         which have broken implementations).
1285         * configure: Rebuilt.
1287 2002-03-12  Adam Megacz  <adam@xwt.org>
1289         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1290         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1291         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1292         statically initialized it to TRUE if compiling with GCC.
1293         * win32_threads.c (thread_start): We no longer use SEH if
1294         compiling with GCC.
1295         * mark.c (GC_mark_some): We no longer use SEH if
1296         compiling with GCC.
1298 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1300         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1301         support is enabled, for hash synchronization.
1303 2002-02-24  Adam Megacz  <adam@xwt.org>
1305         * Makefile.am: Added win32_threads.c to sources list.
1306         * win32_threads.c: Added two */'s which I had neglected.
1308 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1310         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1311         * Makefile.in: Rebuilt.
1313 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1315         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1317         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1318         preprocessor file.
1319         * mips_sgi_mach_dep.S: Likewise.
1320         * Makefile.am: Update for above changes.
1321         * Makefile.in: Rebuilt.
1323 2002-02-12  Richard Henderson  <rth@redhat.com>
1325         * configure.in: Re-apply 2001-06-26 configure change.
1326         * configure: Rebuild.
1328 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1330         Imported GC 6.1 Alpha 3.
1332         * sparc_mach_dep.S: Delete incorrectly named file.
1334 2001-02-11  Adam Megacz <adam@xwt.org
1336         * configure.in: support for win32, saner
1337         cross-compile options
1339 2001-02-08  Anthony Green  <green@redhat.com>
1341         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1342           board embedded targets.
1343         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1344           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
1345           redundant uses of ECOS.
1346         * misc.c: Use NOSYS where ECOS is being used.
1347           Don't define GC_write twice for ECOS systems.
1348           (GC_write): New function for NOSYS targets.
1350 2002-02-06  Adam Megacz <adam@xwt.org>
1352         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1353         now exposed on all Win32 platforms.
1354         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1355         compiles on Win32; it invokes CreateThread() if GC is built
1356         as a DLL; otherwise it registers the thread.
1357         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1358         libgcjgc was not built as a DLL.
1360 2002-02-01  Adam Megacz <adam@xwt.org>
1362         * boehm-gc on win32 now automatically detects if it is being built
1363         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1365 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
1367         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1368         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1369         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
1370         DATASTART and DATAEND roots.
1371         * rs6000_mach_dep.s: Add function descriptor and traceback table.
1373 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
1375         * dyn_load.c: Define ElfW (if needed) for all targets,
1376         not just GNU/Linux.
1377         (GC_FirstDLOpenedLinkMap): Use it.
1378         (GC_register_dynamic_libraries_dl): Use it.
1379         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1380         for sparcv9.
1382 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1384         PR other/3725
1385         * configure.in: Add AC_SUBST(target_alias).
1386         * configure: Regenerated.
1388 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1390         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1391         case for GC_FREEBSD_THREADS.
1392         * configure.in (*-*-freebsd*): Clarify warning.
1393         * configure: Rebuilt.
1395 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
1396             Andreas Tobler <toa@pop.agri.ch>
1398         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1400 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1402         * linux_threads.c (GC_init_parallel): Do not declare as a static
1403         constructor.
1404         * include/gc.h (GC_init): Declare here. Add description.
1405         * include/private/gc_priv.h (GC_init): Remove declaration.
1407 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1409         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1410         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1411         GC_FREEBSD_THREADS, handle strange interaction between system
1412         pthread implementation and boehm-gc signal-handler architecture.
1413         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1414         set stack.
1415         * include/private/gcconfig.h (configuration keyed off FREEBSD):
1416         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
1417         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1419 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
1421         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1422         * Makefile.in: Rebuilt.
1424 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1426         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1427         merged local changes.
1429 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1431         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1432         Solaris 2/Intel definition.
1434         * configure.in (i?86-*-solaris2.[89]*): Define
1435         SOLARIS25_PROC_VDB_BUG_FIXED.
1436         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1437         * configure: Regenerate.
1439         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1440         (DATAEND): Define using _end.
1442 2001-09-11  Per Bothner  <per@bothner.com>
1444         * include/Makefile.am:  New file.  It defines include_HEADERS.
1445         * Makefile.am (SUBDIRS):  New macro, set to include.
1446         * configure.in (AC_OUTPUT):  Add include/Makefile.
1448 2001-08-20  Tom Tromey  <tromey@redhat.com>
1450         * configure: Rebuilt.
1451         * configure.in: Always ask gcc for threads package.
1453 2001-08-17  Tom Tromey  <tromey@redhat.com>
1455         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1456         merged local changes.
1458 2001-08-02  David Billinghurst <David.Billinghurst>
1460         * configure: Rebuilt.
1461         * configure.in:  POSIX threads on cygwin does not link with
1462         -lpthreads.
1464 2001-07-03  Tom Tromey  <tromey@redhat.com>
1466         Fix for PR bootstrap/3281:
1467         * aclocal.m4, configure, Makefile.in: Rebuilt.
1468         * acinclude.m4: Set mkinstalldirs for in-tree build.
1470 2001-06-26  Richard Henderson  <rth@redhat.com>
1472         * alpha_mach_dep.s: Mark call-saved FP registers.
1473         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1474         * configure.in (alpha*): Re-enable alpha_mach_dep.s
1475         * configure: Rebuild.
1477 2001-06-12  Tom Tromey  <tromey@redhat.com>
1479         * aclocal.m4, configure: Rebuilt.
1480         * acinclude.m4: Find configure.host in srcdir.
1482 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
1484         * configure.in (AC_EXEEXT): Work around in case it expands to
1485         nothing, as in autoconf 2.50.
1486         * acinclude.m4: Likewise.
1487         * aclocal.m4, configure: Rebuilt.
1489 2001-06-07  Tom Tromey  <tromey@redhat.com>
1491         For PR bootstrap/3075:
1492         * configure, aclocal.m4, Makefile.in: Rebuilt.
1493         * configure.in: Don't call AC_CONFIG_AUX_DIR or
1494         AC_CANONICAL_SYSTEM.
1495         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1496         AC_CANONICAL_SYSTEM here.
1497         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1498         boehm_gc_basedir.
1500 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1502         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1503         (libgcjgc_la_SOURCES): Remove typo.
1504         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1505         * Makefile.in: Rebuilt.
1507 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1509         Imported version version 6.0alpha7.
1511         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1512         README.amiga, README.debugging, README.dj, README.hp, README.linux,
1513         README.rs6000, README.sgi, README.solaris2, README.uts,
1514         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1515         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1516         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1517         hpux_irix_threads.c, makefile.depend, nursery.c,
1518         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1519         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1520         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1521         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1522         files.
1524 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
1526         * configure.host: Build with -fexceptions.
1527         * linux_threads.c: Remember which thread stopped world for
1529 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
1530             with final tuning by Bryce McKinlay
1532         * configure.in: Add support for --enable-threads=posix on FreeBSD.
1533         * configure: Rebuilt.
1535 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
1537         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1538         (GC_noop1): Change declaration to take one argument.
1540 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1542         * configure.in: Obtain THREADS with `gcc -v'.
1543         * configure: Rebuilt.
1545 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
1547         * misc.c: Back out buggy changes to stack clearing code.
1548         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1549         spent clearing memory.
1551 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
1553         * finalize.c:
1554         - Accomodate finalization requests for static objects.
1555           (Will be required by hash synchronization.  May be needed
1556           in some configurations now.)
1558         * gc_priv.h:
1559         - Define MIN_WORDS.  All allocation requests are rounded
1560           up to at least this size.  Removes a subtle assumption that
1561           Java objects have a 2 word header.
1563         * gcconfig.h:
1564         - Adjust Linux/IA64 configuration for non-ancient kernels.
1565           (Necessary fix for IA64.)
1567         * linux_threads.c:
1568         - Fix syntax error in currently unused code.  Will be needed
1569           for Linux/PA-RISC.
1571         * malloc.c:
1572         - Handle MIN_WORDS.
1574         * misc.c:
1575         - Handle MIN_WORDS.
1576         - Change stack cleaning code to typically clear about one tenth
1577           the memory it used to in the threads configuration.  Occasionally
1578           still clear more.  (This is really a fix for a long-standing
1579           and fairly significant performance bug with threads.)
1581         * os_dep.c:
1582         - Fix the code for finding the beginning of the data segment under
1583           Linux.  I believe this is necessary for some IA64 Linux
1584           distributions.  It will also helo other platforms, though those
1585           may additionally require a gcconfig.h adjustment.  (This basically
1586           works around the absence of a data_start or __data_start
1587           definition in glibc.)
1589         * test.c:
1590         - Handle rounding due to MIN_WORDS.
1592 2001-03-22  Tom Tromey  <tromey@redhat.com>
1594         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1596 2001-03-19  Tom Tromey  <tromey@redhat.com>
1598         * Makefile.in: Rebuilt.
1599         * Makefile.am (gctest_LDFLAGS): new macro.
1601 2001-03-16  Tom Tromey  <tromey@redhat.com>
1603         * Makefile.in: Rebuilt.
1604         * Makefile.am (TESTS_ENVIRONMENT): New macro.
1606 2001-01-23  Rod Stewart <stewart@lab43.org>
1608         * gcconfig.h: Check for `__arm__', not `arm'.
1610 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
1612         * configure.in: Rename THREADLIB to THREADLIBS.
1613         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1614         ensures that we link the correct version of the linuxthreads semaphore
1615         functions.
1616         * Makefile.in: Rebuilt.
1617         * configure: Rebuilt.
1619         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1620         list of signals which are not blocked during suspend in the NO_SIGNALS
1621         case.
1623 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
1625         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1627 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
1629         * Makefile.dist: Renamed from Makefile.orig.
1631 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1633         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1634         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1635         set accordingly.
1636         * Makefile.in: Rebuilt.
1637         * configure: Likewise.
1639 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
1641         * gcconfig.h: Add new case for powerpc EABI.
1642         [PPC]: Handle embedded OS for powerpc simulator.
1644 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
1646         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1647         cross-compile configuration only.
1648         * Makefile.am: Build gcj_mlc.c.
1649         * configure, Makefile.in: Rebuilt.
1651 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
1653         * acinclude.m4: Include libtool macros from the top level.
1654         * aclocal.m4, configure: Rebuilt.
1656 2000-09-04  Anthony Green  <green@redhat.com>
1658         Fix for PR libgcj/230:
1659         * mark.c (GC_mark_from_mark_stack): Remove call to
1660         GC_debug_object_start.
1661         * gc_priv.h (GC_debug_object_start): Remove prototype.
1663 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
1665         * gcconfig.h [OSF1] (_end): Declare as `int'.
1667 2000-08-02  Tom Tromey  <tromey@cygnus.com>
1669         * gc_priv.h (GC_generic_malloc_inner): Prototype.
1670         (GC_generic_malloc): Likewise.
1671         (GC_add_to_black_list_normal): Likewise.
1672         (GC_find_header): Likewise.
1673         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1674         * gc_mark.h (GC_find_start): Prototype.
1675         (GC_signal_mark_stack_overflow): Likewise.
1677 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
1679         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1680         * configure: Rebuilt.
1682         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1684 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
1686         Imported version 5.1.
1687         * acinclude.m4: Push version to 5.1.
1689 2000-06-19  Andrew Haley  <aph@cygnus.com>
1691         * os_dep.c (read): Pass two dummy args to syscall().
1693 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
1695         Imported 5.0 release version.
1696         * acinclude.m4: Increment version to 5.0.
1698 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
1700         Imported version 5.0alpha7.
1701         * acinclude.m4: Update version to 5.0a7.
1703 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
1705         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1706         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1707         - sparc glibc does not provide it.
1708         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1709         Make STACKBOTTOM depend on the wordsize.
1710         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1711         (struct frame): Declare on sparc*-linux*.
1712         (GC_save_callers): Bias the frame pointers if needed (sparc64).
1713         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1714         Implement on sparc64.
1715         (GC_clear_stack_inner): Implement on sparc64.
1716         * gc_priv.h (GC_test_and_set): Implement for sparc.
1717         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1718         GC_save_regs_in_stack on sparc.
1720 2000-04-23  Tom Tromey  <tromey@cygnus.com>
1722         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1724 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
1726         Imported version version 5.0alpha6.
1727         * acinclude.m4: Bump version to 5.0a6.
1728         * configure.in: Don't use alpha_mach_dep.s.
1729         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1730         obsolete files.
1731         * Makefile.am, Makefile.in: irix_threads.c is now
1732         hpux_irix_threads.c.
1733         * Makefile.orig: Updated from gc distribution Makefile.
1735 2000-03-26  Anthony Green  <green@redhat.com>
1737         * misc.c (GC_enable): Always define GC_enable and GC_disable.
1739 2000-02-14  Tom Tromey  <tromey@cygnus.com>
1741         * gc.h (dlopen): Define as GC_dlopen on Linux.
1742         (GC_dlopen): Declare on Linux.
1743         * dyn_load.c (GC_dlopen): Define for Linux.
1745 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
1747         * gcconfig.h (DATASTART): Add missing extern declaration
1748         for data_start on powerpc.
1750 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
1752         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1753         NO_SIGNALS case.
1755 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
1757         * gcconfig.h: Define DATASTART for Alpha Linux.
1759 1999-12-19  Anthony Green  <green@cygnus.com>
1761         * gcconfig.h: Use libgcj hack for Alpha Linux.
1762         Undefine MPROTEXT_VDB (from Jeff Sturm).
1763         * os_dep.c: Remove Alpha Linux hacks.
1764         * misc.c: Ditto.
1766 1999-12-13  Tom Tromey  <tromey@cygnus.com>
1768         * aclocal.m4, configure: Rebuilt.
1769         * acinclude.m4: Changed version to 5.0a4.
1770         * Makefile.in: Rebuilt.
1771         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1773 1999-12-12  Anthony Green  <green@cygnus.com>
1775         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1776         Linux.
1777         (DYNAMIC_LOADING): Define for PowerPC Linux.
1778         * os_dep.c: Remove some special cases for PowerPC Linux.
1779         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1780         for PowerPC Linux.
1782 1999-11-04  Tom Tromey  <tromey@cygnus.com>
1784         * Makefile.in: Rebuilt.
1785         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1787         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1788         (GC_thr_init): Don't declare.
1790         * configure: Rebuilt.
1791         * configure.in: Removed qt threads case.
1792         * dyn_load.c: Don't mention QUICK_THREADS.
1793         * os_dep.c: Don't mention QUICK_THREADS.
1794         * misc.c: Don't mention QUICK_THREADS.
1795         * gcconfig.h: Don't mention QUICK_THREADS.
1796         * gc_priv.h: Removed QUICK_THREADS code.
1797         * quick_threads.c: Removed.
1799 1999-11-03  Tom Tromey  <tromey@cygnus.com>
1801         * gcconfig.h: Merged in local changes from old config.h.
1803 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
1805         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1807 1999-11-02  Tom Tromey  <tromey@cygnus.com>
1809         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1811         * configure: Rebuilt.
1812         * configure.in: Don't create boehm-config.h.
1813         * Makefile.in: Rebuilt.
1814         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1815         config.h.
1816         ($(all_objs)): Depend on gcconfig.h.
1817         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1818         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1819         * config.h: Removed.
1821 1999-11-01  Tom Tromey  <tromey@cygnus.com>
1823         * Makefile.in: Rebuilt.
1824         * Makefile.am (gctest_LDADD): Added THREADLIB.
1825         (TESTS): New macro.
1826         * configure: Rebuilt.
1827         * configure.in (INCLUDES): New subst.
1829 1999-09-29  Steve Chamberlain  <sac@pobox.com>
1831         * config.h: Added picoJava target.
1832         * mach_dep.h (GC_push_regs):  New code for picoJava.
1834 1999-09-28  Tom Tromey  <tromey@cygnus.com>
1836         * aclocal.m4, configure: Rebuilt.
1837         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1838         appropriate AC_PROG_ symbol.
1840 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1842         * gc_priv.h:  IRIX thread changes from
1843         include/private/gc_priv.h.
1845 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1847         * Makefile.in: Rebuilt.
1848         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1849         builds.
1851         * configure: Rebuilt.
1852         * configure.in: Properly align --help output, fix capitalization
1853         and punctuation.
1854         * acinclude.m4: Likewise.
1856 1999-08-04  Tom Tromey  <tromey@cygnus.com>
1858         * configure.in: Added missing `;;'.  From Anthony Green.
1860 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1862         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1864 1999-08-03  Tom Tromey  <tromey@cygnus.com>
1866         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1867         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1869 1999-08-02  Tom Tromey  <tromey@cygnus.com>
1871         * aclocal.m4, configure: Rebuilt for new libtool.
1873 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1875         * mips_sgi_mach_dep.s: Enable PIC option.
1877 1999-07-19  Tom Tromey  <tromey@cygnus.com>
1879         * config.h (MPROTECT_VDB): Don't define on Linux.
1881 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1883         * Makefile.am (.s.lo): Avoid `#line' directives.
1884         * Makefile.in: Rebuilt.
1886 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1888         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1889         generate *-recursive for this Makefile, use *-am instead.
1890         * Makefile.in: Rebuilt.
1892 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
1894         * Makefile.am (.s.lo): Renamed from `.s.o'.
1895         * Makefile.in: Rebuilt.
1897 1999-06-21  Tom Tromey  <tromey@cygnus.com>
1899         Alpha patch from Jeff Sturm:
1900         * os_dep.c (GC_init_linuxalpha): New function.
1901         * misc.c: Initialize for alpha linux.
1902         * gc_priv.h (GC_test_and_set): Define for alpha.
1903         * config.h: Don't assume __data_start on alpha.
1905         * Makefile.in: Rebuilt.
1906         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1907         -release.
1909         * Makefile.in: Rebuilt.
1910         * Makefile.am (toolexeclibdir): Define as libdir when
1911         appropriate.
1912         * configure: Rebuilt.
1913         * configure.in (USE_LIBDIR): New conditional.
1915         * configure: Rebuilt.
1916         * configure.in: Recognize all forms of alpha.
1918 1999-06-17  Anthony Green  <green@cygnus.com>
1920         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1921         Carlo Dapor <carlo@vis.ethz.ch>).
1923 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
1925         * configure.in: Switch from irix threads to posix threads
1926         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1927         for mips architecture.
1928         * configure: Regenerate.
1930 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1932         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1934 1999-04-26  Tom Tromey  <tromey@cygnus.com>
1936         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1937         `weak'.
1939 1999-04-23  Tom Tromey  <tromey@cygnus.com>
1941         * Makefile.in, configure: Rebuilt.
1942         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1943         (libgcjgc_la_SOURCES): Renamed.
1944         (libgcjgc_la_LIBADD): Likewise.
1945         (libgcjgc_la_DEPENDENCIES): Likewise.
1946         (EXTRA_libgcjgc_la_SOURCES): Likewise.
1947         (gctest_LDADD): Use libgcjgc.la.
1948         (all_objs): Mention libgcj_la_OBJECTS.
1949         (EXTRA_LTLIBRARIES): Renamed.
1950         (toollib_LTLIBRARIES): Likewise.
1951         (libgcjgc_la_LDFLAGS): New macro
1952         (toolexecdir): Renamed.
1953         (toolexeclibdir): Likewise.
1954         (toolexeclib_LTLIBRARIES): Likewise.
1955         (LTCOMPILE): Renamed; added libtool invocation.
1956         (LINK): Added libtool invocation.
1957         (.s.o): use LTCOMPILE.
1958         * configure.in: Call AM_PROG_LIBTOOL.
1959         (target_all): Set to libgcjgc.la.
1960         Mention `.lo' forms of object files.
1962 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1964         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1965         GC_stackbottom.
1967         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1968         sigcontext.h.  From Matthias Klose <doko@itso.de>.
1970 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1972         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
1973         David Pettersson <dapet@mai.liu.se>
1975 1999-04-14  Tom Tromey  <tromey@cygnus.com>
1977         * configure: Rebuilt.
1978         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
1979         incorrect patch of 199-04-09.
1981         * configure: Rebuilt.
1982         * configure.in: Added support for alpha.
1983         From David Pettersson <dapet@mai.liu.se>.
1985 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1987         * Makefile.in: Rebuilt.
1988         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1989         solaris-threads.h.
1991 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1993         * configure: Rebuilt.
1994         * configure.in: Use sparc_mach_dep.s when building on Solaris.
1996 1999-02-23  Tom Tromey  <tromey@cygnus.com>
1998         * configure: Rebuilt.
1999         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
2000         SOLARIS_THREADS and _SOLARIS_PTHREADS.
2002 1999-02-18  Tom Tromey  <tromey@cygnus.com>
2004         * quick_threads.c (GC_push_all_stacks): Change order of arguments
2005         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
2006         for case where LO is NULL.
2008 1999-02-10  Tom Tromey  <tromey@cygnus.com>
2010         * aclocal.m4, configure, Makefile.in: Rebuilt.
2011         * acinclude.m4: Updated to be used with automake 1.4.
2012         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
2013         with automake 1.4.
2014         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2015         (libgcjgc_a_SOURCES): Likewise.
2016         (libgcjgc_a_LIBADD): Likewise.
2017         (libgcjgc_a_DEPENDENCIES): Likewise.
2018         (EXTRA_libgcjgc_a_SOURCES): Likewise.
2019         (gctest_LDADD): Likewise.
2020         (all_objs): Likewise.
2022 1999-01-08  Tom Tromey  <tromey@cygnus.com>
2024         * configure: Rebuilt.
2025         * configure.in: Define LINUX_THREADS if using POSIX threads on
2026         Linux.
2028         * gc_priv.h (GC_test_and_set): Put return type into definition.
2030 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
2032         * Makefile.am: add support for eCos.  In particular, add C++
2033         support for compiling the file ecos.cc.
2034         * ecos.cc: new file.
2035         * acinclude.m4: add C++ support.
2036         * aclocal.m4: likewise
2037         * config.h: add eCos support.
2038         * configure: likewise
2039         * configure.in: likewise
2040         * misc.c (GC_write): add eCos support.
2041         * os_dep.c (tiny_sbrk): add eCos support.
2043 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
2045         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2046         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2048 1998-11-23  Tom Tromey  <tromey@cygnus.com>
2050         * configure.host (boehm_gc_cflags): Don't add `-O2'.
2052 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
2054         * Makefile.am, Makefile.in, configure.host: tx39 build option
2055         "-G 0" added.
2057 1998-11-17  Tom Tromey  <tromey@cygnus.com>
2059         * configure: Rebuilt.
2060         * configure.in: Switch on host, not target.
2062 1998-11-16  Tom Tromey  <tromey@cygnus.com>
2064         * gc_priv.h (GC_debug_object_start): Declare.
2065         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2066         * gc.h (GC_debug_register_finalizer_no_order,
2067         GC_register_finalizer_no_order): Declare.
2068         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2069         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2070         (GC_debug_generic_malloc): Likewise.
2071         (GC_debug_object_start): new function.
2073 1998-11-11  Tom Tromey  <tromey@cygnus.com>
2075         * configure: Rebuilt.
2076         * configure.in: Recognize --enable-java-gc, not --enable-gc.
2078 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2080         * dyn_load.c: Handle QUICK_THREADS case.
2082 1998-10-21  Tom Tromey  <tromey@cygnus.com>
2084         * configure: Rebuilt.
2085         * configure.in: Put cpp defines here, not in config.h.  Recognize
2086         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
2087         define PACKAGE or VERSION.
2088         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2089         Don't define.
2091         * os_dep.c (GC_default_push_other_roots): Define when
2092         QUICK_THREADS defined.
2093         * misc.c: Added QUICK_THREADS case.
2094         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2095         * config.h (THREADS): Define if QUICK_THREADS defined.
2096         * Makefile.in: Rebuilt.
2097         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2098         quick_threads.c.
2099         * quick_threads.c: New file.
2101 1998-10-20  Tom Tromey  <tromey@cygnus.com>
2103         * aclocal.m4, configure: Rebuilt.
2104         * acinclude.m4: Don't subst machine_dir or sys_dir.
2105         * configure.host: Removed unused code.
2107 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
2109         * configure: Rebuilt.
2110         * configure.in: Fix typo in previous patch.
2112 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
2114         * Makefile.in, aclocal.m4, configure: Rebuilt.
2115         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2116         * configure.host: Created.
2118 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
2120         * Makefile.in: Rebuilt.
2121         * Makefile.am (lib_LIBRARIES): Use target_all.
2122         (EXTRA_LIBRARIES): New macro.
2123         * configure: Rebuilt.
2124         * configure.in: Recognize --enable-gc.
2126 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
2128         * Makefile.in: Rebuilt.
2129         * Makefile.am (COMPILE): Define.
2130         (LINK): Likewise.
2131         (.s.o): Use MY_CFLAGS.
2132         * configure: Rebuilt.
2133         * configure.in (MY_CFLAGS): Define and subst.
2135 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
2137         * configure: Rebuilt.
2138         * configure.in: Added --with-cross-host argument.  Use
2139         $with_cross_host to determine when cross-compiling.
2141         * config.h (SMALL_CONFIG): Don't define.
2142         * configure: Rebuilt.
2143         * configure.in: Define SMALL_CONFIG when cross-compiling.
2145 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
2147         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2148         allchblk.c: Merged with 4.13a2 while preserving local changes.
2150         * Makefile.orig: Updated from Makefile in 4.13a2.
2152         * configure: Rebuilt.
2153         * configure.in: Updated version number to 4.13a2.  On Solaris,
2154         don't build with -O when using gcc.
2156         Merged in version 4.13alpha2:
2157         * config.h (USE_MMAP): Re-enable on Solaris.
2158         * solaris_pthreads.c: Removed RCS Id line.
2159         * alpha_mach_dep.s: Removed RCS Id line.
2161 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
2163         * config.h (USE_MMAP): Don't define for Solaris.
2165 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
2167         * Makefile.in: Rebuilt.
2168         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2170         * Makefile.in: Rebuilt.
2171         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2173 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
2175         * Makefile.in: Rebuilt.
2176         * Makefile.am ($(all_objs)): Depend on config.h.
2178         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2179         DATASTART as &_etext.
2180         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2181         * configure: Rebuilt.
2182         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2183         tx39.
2185 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
2187         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2188         (GC_maybe_gc): Likewise.
2189         * os_dep.c: If NO_SIGSET defined, then have empty
2190         GC_disable_signals and GC_enable_signals.
2191         * configure: Rebuilt.
2192         * configure.in: Added --with-target-subdir option.  If
2193         cross-compiling, define NO_SIGSET and NO_CLOCK.
2195 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
2197         * Makefile.in: Rebuilt.
2198         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2199         (AS): Removed.
2200         * aclocal.m4, configure: Rebuilt.
2201         * acinclude.m4: New file.
2202         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
2204 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
2206         * configure: Rebuilt.
2207         * configure.in: Link boehm-config.h to config.h.
2208         * Makefile.in: Rebuilt.
2209         * Makefile.am (INCLUDES): Removed.
2210         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2211         JAVA_FINALIZATION): Define
2213 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
2215         * Many files: Use GC_bool, not bool.
2216         * gc_priv.h: Define GC_bool, not bool.
2218         * misc.c (GC_dont_gc): Define as int.
2219         (GC_quiet): Likewise.
2220         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2221         * alloc.c (GC_dont_expand): Define as int.
2222         * gc_priv.h: For gcc, define bool as char.
2224 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
2226         * Makefile.in: Rebuilt.
2227         * Makefile.am (check_PROGRAMS): New macro.
2228         (gctest_SOURCES): Likewise.
2229         (gctest_LDADD): Likewise.
2231 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
2233         * Makefile.in: Rebuilt.
2234         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2235         * configure: Rebuilt.
2236         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2238 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
2240         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2241         New files.
2242         * Makefile.orig: Renamed from Makefile.