1 2010-03-21 Dave Korn <dave.korn.cygwin@gmail.com>
3 PR target/42811 (prerequisite)
4 * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
5 declare r_next member on Cygwin as on other windows hosts.
6 (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
7 (RT_SIZE) [CYGWIN32]: Likewise.
8 (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
10 (GC_heap_bases) [CYGWIN32]: Do define likewise.
11 (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
12 (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
13 (GC_n_heap_bases) [CYGWIN32]: Likewise.
14 (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
15 * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
16 (GET_MEM) [CYGWIN32]: Do define likewise.
17 * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
18 registration likewise.
19 * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
20 (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
22 (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
23 (GC_n_heap_bases) [CYGWIN32]: Likewise.
24 (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
25 (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
26 rather than GlobalAlloc/VirtualAlloc.
27 (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
28 of GlobalFree (even though the function body is optimised away).
29 * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
31 (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
33 (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
34 (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
35 (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
36 (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
37 (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
38 (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
39 roots and dynamic registration likewise.
40 * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
42 (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
43 (GC_cond_add_roots) [CYGWIN32]: Likewise.
44 (GC_register_main_static_data) [CYGWIN32]: Define to always return
46 (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
48 (GC_warn_fb) [CYGWIN32]: Likewise.
49 (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
50 (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
51 (GC_ignore_fb) [CYGWIN32]: Likewise.
52 (is_frame_buffer) [CYGWIN32]: Likewise.
53 (GC_dump_meminfo) [CYGWIN32]: Likewise.
54 (GC_wnt) [CYGWIN32]: Define to constant true.
55 (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
58 2009-12-09 Matthias Klose <doko@ubuntu.com>
60 * include/private/gc_locks.h: For __ARM_EABI__ define
61 GC_test_and_set GC_clear to use the atomic builtins.
63 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
65 * Makefile.in: Regenerate.
66 * configure: Regenerate.
67 * include/Makefile.in: Regenerate.
69 2009-11-30 Ben Elliston <bje@au.ibm.com>
71 * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
72 compiling with GCC rather than taking the address of a local
75 2009-11-30 Ben Elliston <bje@au.ibm.com>
77 * os_dep.c: Use the POSIX signal API in preference to the BSD API.
78 Generate a compilation error if neither the POSIX nor BSD APIs can
81 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
83 * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
84 (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
85 so that library dependency resolution works with portable make.
86 * Makefile.in: Regenerate.
88 2009-09-08 Alexandre Oliva <aoliva@redhat.com>
90 * configure: Rebuilt with modified libtool.m4.
92 2009-09-03 Loren J. Rittle <ljrittle@acm.org>
94 * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
95 Define for FreeBSD 7.0+.
97 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
99 * configure.ac (AC_PREREQ): Bump to 2.64.
101 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
103 * Makefile.am (install-html, install-pdf): Remove.
104 * Makefile.in: Regenerate.
106 * Makefile.in: Regenerate.
107 * aclocal.m4: Regenerate.
108 * configure: Regenerate.
109 * include/Makefile.in: Regenerate.
110 * include/gc_config.h.in: Regenerate.
112 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
114 * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
116 * Makefile.in: Regenerate.
118 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
120 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
122 2009-07-17 Michael Meissner <meissner@linux.vnet.ibm.com>
125 * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
126 the __sync_lock_test_and _set and __sync_lock_release builtins on
127 the powerpc. If not GCC 4.4, fix up the constraints so that it
128 builds without error.
131 2009-07-17 Kai Tietz <kai.tietz@onevision.com>
133 * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
135 * configure: Regenerated.
137 2009-05-17 Dave Korn <dave.korn.cygwin@gmail.com>
139 * win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin.
141 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
143 * configure: Regenerate.
145 2009-02-09 Mark Mitchell <mark@codesourcery.com>
147 * Makefile.am (LTLDFLAGS): New variable.
149 * Makefile.in: Regenerated.
151 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
153 * configure: Regenerate.
155 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
156 Steve Ellcey <sje@cup.hp.com>
158 * configure: Regenerate for new libtool.
159 * Makefile.in: Ditto.
160 * include/Makefile.in: Ditto.
163 2008-07-18 Matthias Klose <doko@ubuntu.com>
165 * configure.ac (AC_CONFIG_FILES): Add threads.mk.
166 * threads.mk.in: New.
167 * Makefile.in, configure: Regenerate.
169 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171 * Makefile.in: Regenerate.
172 * configure: Regenerate.
173 * include/Makefile.in: Regenerate.
174 * include/gc_config.h.in: Regenerate.
176 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
179 * aclocal.m4: Regenerate.
180 * configure: Regenerate.
182 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
184 * aclocal.m4: Regenerate.
185 * configure: Likewise.
186 * Makefile.in: Likewise.
187 * include/Makefile.in: Likewise.
189 2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
191 * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
192 GC_GETSECTBYNAME instead.
193 * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
194 architecture (Darwin).
196 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
198 * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
200 2008-01-24 David Edelsohn <edelsohn@gnu.org>
202 * configure: Regenerate.
204 2007-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
207 * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
208 up, return stack_addr instead of stack_addr - stack_size.
210 2007-08-14 David Daney <ddaney@avtrex.com>
212 * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
214 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
216 * aclocal.m4: Regenerated.
218 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
222 * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
223 Use alternate thread library in /usr/lib/lwp.
224 * configure: Regenerate.
225 * dyn_load.c: Use GC_SOLARIS_PTHREADS.
226 * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
227 * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
228 (GC_SOLARIS_THREADS): Don't define.
229 * include/private/solaris_threads.h: Remove.
230 * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
231 GC_nprocs via sysconf().
232 * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
234 (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
235 * Makefile.in: Regenerate.
236 * solaris_pthreads.c: Remove.
237 * solaris_threads.c: Remove.
239 2007-06-22 Jakub Jelinek <jakub@redhat.com>
241 * pthread_support.c (GC_get_thread_stack_base): Handle
242 pthread_getattr_np failures.
244 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
246 * configure: Regenerate.
248 2007-05-23 Steve Ellcey <sje@cup.hp.com>
250 * Makefile.in: Regenerate.
251 * configure: Regenerate.
252 * aclocal.m4: Regenerate.
253 * include/Makefile.in: Regenerate.
255 2007-05-20 Andreas Tobler <a.tobler@schweiz.org>
257 * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
258 * configure: Regenerate.
259 * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
260 * Makefile.in: Regenerate.
261 * include/Makefile.in: Regenerate.
262 * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
263 targets. Remove comments. Prepare ppc64 support for Darwin.
265 2007-04-23 Keith Seitz <keiths@redhat.com>
267 * include/gc.h (GC_is_thread_suspended): Declare.
268 * pthread_stop_world.c (GC_is_thread_suspended): New function.
270 2007-04-03 Jakub Jelinek <jakub@redhat.com>
272 * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
273 * configure: Rebuilt.
275 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
277 * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
278 (GC_register_finalizer_unreachable): Declare.
279 (GC_debug_register_finalizer_unreachable): Declare.
280 * finalize.c (GC_unreachable_finalize_mark_proc): New.
281 (GC_register_finalizer_unreachable): New.
282 (GC_finalize): Handle it.
283 * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
284 (GC_debug_register_finalizer_no_order): Fix whitespace.
286 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
288 * Makefile.am: Add dummy install-pdf target.
289 * Makefile.in: Regenerate
291 2007-02-05 Roman Zippel <zippel@linux-m68k.org>
293 * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
294 it works with Linux 2.6, reactivate MPROTECT_VDB
295 * boehm-gc/pthread_stop_world.c: save all register
298 2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
300 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
301 added defines to include/private/gc_priv.h
302 (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
303 * darwin_stop_world.c: Removed the above defines.
304 * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
305 and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
307 2007-01-17 David Daney <ddaney@avtrex.com>
309 * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
311 * configure: Regenerated.
312 * include/gc_config.h.in: Regenerated.
314 2007-01-17 Mike Stump <mrs@apple.com>
316 * os_dep.c: Fix i686-apple-darwin9 builds.
318 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
320 * aclocal.m4: Regenerate to use multi.m4.
321 * configure: Regenerate.
322 * Makefile.in: Regenerate.
324 2007-01-17 Andreas Tobler <a.tobler@schweiz.org>
326 * include/gc_config.h.in: Regenerate.
328 2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
330 * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
332 * os_dep.c: Likewise.
334 2007-01-15 Andreas Tobler <a.tobler@schweiz.org>
336 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
338 (catch_exception_raise): Fix typo in the I386 exc_state.
340 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
342 * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
343 HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
344 * configure: Regenerated.
345 * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
346 Added base definitions for the X86_64 Darwin port.
347 * include/private/gc_priv.h: Added definitions for Darwin MACH thread
348 operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
349 * darwin_stop_world.c: Removed THREAD_STATE info. Added
350 HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
351 with HAS_X86_THREAD_STATE32___EAX.
352 (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
354 * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
355 (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
356 Distinguish between getsectbynamefromheader_64 and
357 getsectbynamefromheader.
358 (GC_dyld_image_remove): Likewise.
359 * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
360 (catch_exception_raise): Introduce exception information for I386 and
361 X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
363 2006-12-08 Mike Stump <mrs@apple.com>
365 * configure.ac: Fix x86 darwin builds.
366 * darwin_stop_world.c: Likewise.
367 * include/private/gcconfig.h: Likewise.
368 * connfigure: Regenerate.
370 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
373 * darwin_stop_world.c: Make stack_start unsigned long.
375 2006-09-21 Sandro Tolaini <tolaini@libero.it>
377 * os_dep.c: Port to Darwin/i386
378 * darwin_stop_world.c: Likewise
379 * include/private/gcconfig.h: Likewise
381 2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
383 * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
385 * dyn_load.c: Likewise.
386 * include/gc.h: Likewise.
387 * private/gcconfig.h: Likewise.
388 * configure: Regenerate.
389 * include/gc_config.h.in: Regenerate.
391 2006-09-14 Tom Tromey <tromey@redhat.com>
394 * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
397 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
400 * configure.ac: Check for pthread_getattr_np(). Remove
401 GC_PTHREAD_SYM_VERSION detection.
402 * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
403 GC_get_thread_stack_base): New declarations.
404 * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
405 GC_get_thread_stack_base): New functions.
406 (GC_delete_thread): Don't try to free the first_thread.
407 * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
408 (pthread_create_, constr): Removed.
409 (pthread_create): Don't rename.
410 * include/gc_ext_config.h.in: Rebuilt.
411 * include/gc_pthread_redirects.h (pthread_create): Define
413 * include/gc_config.h.in: Rebuilt.
414 * configure: Rebuilt.
416 2006-06-21 Keith Seitz <keiths@redhat.com>
418 * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
419 routine if signal is received and thread is flagged SUSPENDED.
420 (suspend_self): New function.
421 (GC_suspend_thread): New function.
422 (GC_resume_thread): New function.
423 * include/gc.h (GC_suspend_thread): Declare.
424 (GC_resumet_thread): Declare.
425 * include/private/pthread_support.h (SUSPENDED): New GC_thread
428 2006-06-20 Ranjit Mathew <rmathew@gcc.gnu.org>
430 Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
431 * os_dep.c (GC_wnt): Define.
432 (GC_init_win32): Set GC_wnt.
433 * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
434 sections also on Windows 9x/ME.
436 2006-06-02 Geoffrey Keating <geoffk@apple.com>
438 * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
439 HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
440 HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
441 HAS_I386_THREAD_STATE___EAX.
442 * configure: Regenerate.
443 * include/gc_config.h.in: Regenerate.
444 * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
445 macro names to determine value.
448 (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
450 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
452 * Makefile.am: Add install-html target.
453 * Makefile.in: Regenerate.
454 * aclocal.m4: Regenerate.
455 * include/Makefile.in: Regenerate.
457 2006-03-07 Andrew Haley <aph@redhat.com>
459 * dyn_load.c (GC_has_static_roots): Declare.
460 (GC_register_dynlib_callback): Call GC_has_static_roots.
462 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
464 * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
465 GC_start_world): Call vm_deallocate to free act_list. Fix from
468 2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>
469 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
471 * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
472 Warn about POSIX threads not being supported for *-*-hpux10*.
473 * configure: Regenerate.
475 2006-02-09 Tom Tromey <tromey@redhat.com>
477 * pthread_support.c: Conditionally include dlfcn.h.
479 2006-02-06 Jakub Jelinek <jakub@redhat.com>
480 Anthony Green <green@redhat.com>
481 Tom Tromey <tromey@redhat.com>
483 * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
484 * include/gc_config.h.in: Rebuilt.
485 * include/gc_pthread_redirects.h (pthread_create): Conditionally
487 * pthread_support.c (pthread_create_): New global.
488 (constr): New function.
489 (pthread_create): Conditionally renamed.
490 * configure: Rebuilt.
491 * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
493 2006-02-04 Alan Modra <amodra@bigpond.net.au>
495 * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
496 use broken 64-bit version.
498 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
500 * darwin_stop_world.c: Change inline asm instruction to ld as ldz
503 * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
504 * Makefile.in: Regenerate.
506 2006-01-25 Bryce McKinlay <mckinlay@redhat.com>
508 * include/private/gcconfig.h: Revert to GC 6.6 version, removing
511 2006-01-24 Bryce McKinlay <mckinlay@redhat.com>
513 Import Boehm GC version 6.6.
515 2006-01-24 David Ayers <d.ayers@inode.at>
518 * include/gc.h: Fix prototype declarations for bootstrap.
520 2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
522 * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
524 2005-09-15 Kazu Hirata <kazu@codesourcery.com>
526 * include/private/gc_locks.h (GC_test_and_set): Change the
527 constraint of the first operand to '0'.
529 2005-09-06 Tom Tromey <tromey@redhat.com>
532 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
535 2005-07-17 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
537 * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
539 2005-06-15 Andreas Tobler <a.tobler@schweiz.ch>
541 * os_dep.c: Add FreeBSD/PowerPC bits.
542 (GC_SysVGetDataStart): Likewise.
543 * include/private/gcconfig.h: Likewise.
545 2005-05-25 Andrew Haley <aph@redhat.com>
547 * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
550 2005-05-09 Mike Stump <mrs@apple.com>
552 * configure: Regenerate.
554 2005-04-19 Hans-Peter Nilsson <hp@axis.com>
556 * os_dep.c, include/private/gc_locks.h: Import CRIS port by
557 Simon Posnjak from gc6.4.
558 * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
560 2005-04-17 David S. Miller <davem@davemloft.net>
562 * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
563 * os_dep.c (GC_linux_stack_base): Check for bug present in some
564 Sparc glibc variants where __libc_stack_end is erroneously set
565 to "1". Fallback to procfs code in that case.
567 2005-04-12 Mike Stump <mrs@apple.com>
569 * configure: Regenerate.
571 2005-04-12 Richard Henderson <rth@redhat.com>
573 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
575 2005-03-23 Mike Stump <mrs@apple.com>
577 * darwin_stop_world.c: Update for -m64 multilib.
578 * include/private/gcconfig.h: Likewise.
579 * powerpc_darwin_mach_dep.s: Likewise.
581 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
583 * Makefile.in, include/Makefile.in: Regenerate.
585 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
587 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
588 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
590 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
593 * configure.host: Set gc_use_mmap on *-linux*.
594 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
595 * include/private/gc_priv.h: Include gc_config.h.
596 * configure, include/gc_config.h.in: Rebuilt.
598 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
600 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
601 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
603 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
605 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
606 and indent appropriately.
607 * mark_rts.c (GC_approx_sp): Access stack.
608 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
609 callee-saves registers when appropriate.
610 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
612 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
614 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
615 and include/gc_ext_config.h.
616 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
617 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
619 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
621 * configure: Regenerate.
623 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
626 Revert patches of 2004-11-26 and 2004-11-27.
628 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
630 * configure: Regenerate for libtool change.
632 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
634 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
636 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
638 Fix "PACKAGE_NAME redefined" errors.
639 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
640 and include/gc_config.h.
641 * configure: Regenerated.
642 * include/gc_config.h.in: No longer auto-generated. Define only the
643 macros needed by libjava.
644 * include/config.h.in: Generated by autoheader.
645 * include/gc.h: Include config.h, not gc_config.h.
647 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
649 * configure: Regenerate for libtool reversion.
651 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
653 * configure: Regenerate for libtool change.
655 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
657 * configure.ac (machdep): Use sparc_mach_dep.lo on
658 sparc64-sun-solaris2.* too.
659 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
660 * configure: Regenerate.
662 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
665 * configure.ac (threading): Accept 'posix95'.
666 * configure: Regenerate.
668 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
670 * Makefile.am: Define ACLOCAL_AMFLAGS.
671 * configure.ac: Remove redundant sinclude.
672 * acinclude.m4: Delete file.
673 * aclocal.m4: Regenerate.
674 * Makefile.in, include/Makefile.in: Regenerate.
675 * configure: Regenerate.
677 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
679 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
682 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
684 * include/private/gcconfig.h: Add m32r-linux target.
686 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
688 * configure.ac: Update all AC_DEFINEs to newer style.
689 * configure: Regenerate.
690 * include/gc_config.h.in: Regenerate.
692 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
694 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
695 GC_print_back_graph_stats): split GC_traverse_back_graph.
696 * backgraph.c: Dynamically grow in_progress_space.
697 * finalize.c (GC_notify_or_invoke_finalizers): also call
698 GC_print_back_graph_stats.
699 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
700 GC_print_back_height): Move delarations to header file.
701 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
702 * configure: Regenerate.
704 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
706 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
707 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
709 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
711 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
712 Reported by Danny Smith.
714 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
716 * misc.c (GC_init): Replace lhs cast with rhs cast.
718 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
720 * specific.c: Check GC_LINUX_THREADS before including
721 private/specific.h. From Richard Earnshaw.
723 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
725 * aclocal.m4: Remove obsolete construct for old automake.
726 * acinclude.m4: Regenerate with aclocal 1.9.1.
727 * configure.ac: Remove duplicate AC_WITH calls. Replace
728 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
729 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
730 Remove now-redundant subst of target_noncanonical. Remove
731 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
732 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
733 Use slightly more modern form of AC_INIT.
734 * configure: Rebuild with autoconf 2.59.
735 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
737 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
739 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
740 since they're not known at this time.
741 * solaris_pthreads.c: Likewise.
743 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
746 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
748 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
750 * configure.ac (gc_cflags): Add -Iinclude.
751 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
752 Don't write DEFS to boehm-cflags file.
753 * configure: Rebuilt.
754 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
755 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
756 * include/gc_config_macros.h: Remove backward-compatibility
757 redefinitions of GC_ names.
758 * include/gc.h: Include <gc_config.h>.
760 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
762 Import Boehm GC version 6.3.
764 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
766 * include/Makefile.in: Regenerate
768 2004-07-06 Andrew Pinski <apinski@apple.com>
770 * os-dep.c (GC_task_self): Declare as static
771 and remove the second declaration.
773 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
775 * Makefile.am: Add rule for .S files to fix bootstrap on
777 * Makefile.in: Regenerate.
779 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
781 * boehm-gc/configure.ac: New name of configure.in.
782 Remove useless multilib stuff. Change uses of
783 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
784 * boehm-gc/configure.in: New name of configure.in.
785 * boehm-gc/Makefile.am: Update for automake 1.8.5.
786 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
787 * boehm-gc/aclocal.m4: Regenerate.
788 * boehm-gc/configure: Regenerate.
789 * boehm-gc/Makefile.in: Regenerate.
791 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
793 * .cvsignore: New file.
795 2004-04-25 Andreas Jaeger <aj@suse.de>
797 * mark.c (GC_mark_from): Use pointer as prefetch argument.
799 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
801 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
803 (PREFETCH_FOR_WRITE): Likewise.
805 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
807 * configure.ac: Bump AC_PREREQ to 2.59.
808 * configure: Regenerate.
809 * config.in: Regenerate.
811 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
813 * ltconfig, ltmain.sh: Remove unused files.
814 * configure.in: Remove bogus extra early invocation of
816 * configure: Regenerate.
817 * mkinstalldirs, install-sh, config.sub, config.guess:
818 Remove (now) unused files.
819 * Makefile.in: Regenerate (losing references to vanished
822 * configure.in: Add CCAS, CCASFLAGS for future automakes.
823 * configure, Makefile.in, include/Makefile.in: Regenerate.
825 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
826 * Makefile.in: Regenerate.
828 * configure.in: Remove bogus duplicate invocation of
829 AM_MAINTAINER_MODE. Remove obsolete comment.
830 * configure: Regenerate.
832 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
834 * aclocal.m4: Regenerate.
835 * configure.in: Receive contents of GC_CONFIGURE macro.
836 * configure: Regenerate.
838 * configure.in: Remove more obsolete, bogus code.
839 * configure: Regenerate.
841 * acinclude.m4: Remove obsolete and bogus constructs.
842 * aclocal.m4: Regenerate.
843 * configure: Regnerate.
845 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
847 * acinclude.m4: De-precious CC and CXX so that the right flags
848 are passed down to multilibs.
849 * aclocal.m4: Regenerate.
850 * configure: Regenerate.
852 2004-02-22 Zack Weinberg <zack@codesourcery.com>
853 Nathanael Nerode <neroden@twcny.rr.com>
854 Alexandre Oliva <aoliva@redhat.com>
856 * config.sub, config.guess: Replace with forwarding scripts
857 which invoke the master copies in the top level.
859 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
861 * acinclude.m4: Remove old no-executables workaround;
862 add new no-executables workaround.
863 * aclocal.m4: Regenerate.
864 * configure.in: Change prereqs to autoconf 2.57.
865 * configure: Regenerate with autoconf 2.57.
867 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
868 * configure: Regenerate.
869 * Makefile.am: Use target_noncanonical variable from configure.
870 * Makefile.in: Regenerate.
871 * include/Makefile.in: Regenerate.
873 2004-02-20 Andrew Cagney <cagney@redhat.com>
875 * config.guess: Update from version 2002-01-10 to 2004-02-16.
876 * config.sub: Update from version 2002-01-02 to 2004-02-16.
878 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
880 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
881 * aclocal.m4: Rebuild.
882 * configure: Regenerate.
884 * acinclude.m4: Move certain code to configure.in.
885 * configure.in: Receive code from acinclude.m4.
886 * aclocal.m4: Rebuild.
887 * configure: Regenerate.
889 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
891 2004-01-20 Andrew Haley <aph@redhat.com>
893 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
895 * configure.in: Comment change.
897 2004-01-16 Andrew Haley <aph@redhat.com>
899 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
900 add for ia64; remove for MIPS.
901 * configure: Regnerated.
903 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
905 * configure.in: Add in AC_PREREQ(2.13)
907 2004-01-07 Dave Jones <davej@redhat.com>
909 * malloc.c (GC_generic_malloc): Correct initialization typo.
910 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
912 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
914 * include/private/gcconfig.h: Re-install change of 2003-04-16.
916 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
918 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
921 2003-10-18 Alan Modra <amodra@bigpond.net.au>
923 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
926 2003-10-03 Jeff Sturm <jsturm@one-point.com>
928 * configure: Rebuild.
930 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
932 * configure.in: Remove NO_GETENV definition for win32.
933 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
934 * misc.c (GC_init_inner): Call GC_thr_init for win32.
935 (GC_set_warn_proc): Add assertion.
936 * win32_threads.c: Import 6.3alpha2 version.
937 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
939 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
941 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
942 2.3/SPARC, there are no micro versions.
943 Treat Solaris 10 and up alike.
944 * configure: Regenerate.
946 2003-09-22 Anthony Green <green@redhat.com>
948 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
951 2003-09-20 <green@redhat.com>
953 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
954 check for __arm__ or __thumb__.
956 2003-09-09 Alan Modra <amodra@bigpond.net.au>
958 * configure: Regenerate.
960 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
961 Roger Sayle <roger@eyesopen.com>
963 * configure.in: Set INCLUDES to absolute path.
964 Save $INCLUDES in boehm-cflags, too.
965 Set INCLUDES so it's available to config.status.
966 * configure: Regenerate.
968 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
970 * include/gc.h (GC_CreateThread): Declare with WINAPI
972 * win32_threads.c (GC_CreateThread): Make definitions consistent
973 with declaration. Cast &thread_table[i].handle to PHANDLE
974 in call to DuplicateHandle
975 (thread_start): Declare as static.
977 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
979 * dyn_load.c: Define __private_extern__ to match Apple's system
982 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
984 * os_dep.c: Remove redundancy introduced in last merge.
986 2003-07-28 Jeff Sturm <jsturm@one-point.com>
989 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
990 * ChangeLog: Likewise.
991 * Makefile.am: Likewise.
992 * Makefile.direct: Likewise.
993 * Makefile.dj: Likewise.
994 * allchblk.c: Likewise.
996 * backgraph.c: Likewise.
997 * configure.host: Likewise.
998 * configure.in: Likewise.
999 * dbg_mlc.c: Likewise.
1000 * dyn_load.c: Likewise.
1001 * finalize.c: Likewise.
1002 * gc_cpp.cc: Likewise.
1003 * gc_dlopen.c: Likewise.
1004 * gcj_mlc.c: Likewise.
1005 * if_mach.c: Likewise.
1006 * mach_dep.c: Likewise.
1007 * malloc.c: Likewise.
1008 * mallocx.c: Likewise.
1010 * mark_rts.c: Likewise.
1012 * os_dep.c: Likewise.
1013 * ptr_chck.c: Likewise.
1014 * reclaim.c: Likewise.
1015 * solaris_pthreads.c: Likewise.
1016 * solaris_threads.c: Likewise.
1017 * sparc_mach_dep.S: Likewise.
1018 * threadlibs.c: Likewise.
1019 * typd_mlc.c: Likewise.
1020 * version.h: Likewise.
1021 * win32_threads.c: Likewise.
1022 * Mac_files/MacOS_Test_config.h: Likewise.
1023 * Mac_files/MacOS_config.h: Likewise.
1024 * cord/cordbscs.c: Likewise.
1025 * cord/cordprnt.c: Likewise.
1026 * cord/de_win.c: Likewise.
1027 * doc/README: Likewise.
1028 * doc/README.MacOSX: Likewise.
1029 * doc/README.changes: Likewise.
1030 * doc/README.environment: Likewise.
1031 * doc/README.ews4800: Likewise.
1032 * doc/README.linux: Likewise.
1033 * doc/README.macros: Likewise.
1034 * doc/README.win32: Likewise.
1035 * doc/debugging.html: Likewise.
1036 * doc/gcdescr.html: Likewise.
1037 * doc/tree.html: Likewise.
1038 * include/Makefile.in: Likewise.
1039 * include/gc.h: Likewise.
1040 * include/gc_cpp.h: Likewise.
1041 * include/gc_local_alloc.h: Likewise.
1042 * include/gc_mark.h: Likewise.
1043 * include/gc_pthread_redirects.h: Likewise.
1044 * include/gc_typed.h: Likewise.
1045 * include/new_gc_alloc.h: Likewise.
1046 * include/private/dbg_mlc.h: Likewise.
1047 * include/private/gc_hdrs.h: Likewise.
1048 * include/private/gc_locks.h: Likewise.
1049 * include/private/gc_pmark.h: Likewise.
1050 * include/private/gc_priv.h: Likewise.
1051 * include/private/gcconfig.h: Likewise.
1052 * include/private/solaris_threads.h: Likewise.
1053 * include/private/specific.h: Likewise.
1054 * tests/test.c: Likewise.
1055 * tests/test_cpp.cc: Likewise.
1057 * configure: Rebuild.
1058 * Makefile.in: Rebuild.
1060 * mips_sgi_mach_dep.s: Add.
1062 * alpha_mach_dep.s: Remove.
1063 * irix_threads.c: Remove.
1064 * linux_threads.c: Remove.
1065 * mips_sgi_mach_dep.S: Remove.
1067 * powerpc_macosx_mach_dep.s: Remove.
1068 * doc/Makefile.am: Remove.
1069 * doc/Makefile.in: Remove.
1071 2003-07-25 Roger Sayle <roger@eyesopen.com>
1073 * configure.host: Only use +ESdbgasm when using the HPUX native
1074 compiler on PA-Risc. It isn't recognized by GCC and is silently
1075 ignored by HP's compilers on ia64.
1077 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
1079 * configure.in: define GC_DLL under mingw if --enable-shared
1080 * configure: rebuilt
1081 * win32_threads.c: add #ifdef GC_DLL around DllMain
1083 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
1085 * include/private/gcconfig.h: Add support for arm-netbsdelf.
1087 2003-04-09 Tom Tromey <tromey@redhat.com>
1089 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1091 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1093 2003-03-22 Richard Henderson <rth@redhat.com>
1095 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1096 (GC_test_and_set): Use __sync_lock_test_and_set.
1097 (GC_clear): Use volatile assignment.
1098 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1099 (GC_memory_write_barrier): Use __sync_synchronize.
1101 2003-03-12 Andreas Schwab <schwab@suse.de>
1103 * configure.in: Avoid trailing /. in toolexeclibdir.
1104 * configure: Rebuilt.
1106 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
1107 * include/private/gcconfig.h (GC_data_start): declare when needed.
1108 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1110 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1111 GC_register_dynlib_callback): Register main data for static
1112 executable if dl_iterate_phdr() didn't.
1113 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1114 if we don't expect to register main static data.
1116 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
1117 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1118 (GC_push_roots): explicitly mark free list headers, register
1119 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1120 * alloc.c (GC_stopped_mark): Conditionally call
1121 GC_cond_register_dynamic_libraries().
1122 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1123 * dyn_load.c (GC_register_main_static_data): define.
1124 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1125 no longer skip main data.
1126 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1127 (GC_init_inner): Make main data registration conditional.
1128 * include/private/gc_priv.h (GC_register_main_static_data): declare.
1129 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1132 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1134 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1136 * configure: Rebuilt.
1138 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
1140 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1142 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1144 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1145 Remove USE_LIBDIR conditional.
1146 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1147 * Makefile.in, configure: Rebuilt.
1149 2002-12-31 Tom Tromey <tromey@redhat.com>
1152 * include/Makefile.in: Rebuilt.
1153 * include/Makefile.am (noinst_HEADERS): Renamed from
1156 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1158 * ltconfig (osf[345]): Append $major to soname_spec.
1159 Reflect this in library_names_spec.
1160 * ltmain.sh (osf): Prefix $major with . for use as extension.
1162 2002-10-02 Andreas Jaeger <aj@suse.de>
1164 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1166 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
1168 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1169 check for __arm__ or __thumb__.
1171 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
1173 * include/private/gcconfig: Add machine type S390. Add s390x support.
1174 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1175 (GC_compare_and_exchange): Likewise.
1177 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
1179 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1181 2002-08-23 Adam Megacz <adam@xwt.org>
1183 * win32_threads.cc: Removed extraneous ABORT()
1185 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187 * Makefile.am (all-multi): Fix multilib parallel build.
1189 2002-07-18 Bo Thorsen <bo@suse.de>
1191 * include/private/gcconfig.h: Add x86-64 definitions.
1192 * os_dep.c: Add x86-64 support.
1193 * configure.in: Likewise.
1194 * configure: Regenerate.
1196 2002-07-18 H.J. Lu <hjl@gnu.org>
1198 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1200 2002-07-18 H.J. Lu (hjl@gnu.org)
1202 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1205 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
1208 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1210 2002-06-09 H.J. Lu (hjl@gnu.org)
1212 * include/private/gc_locks.h (GC_test_and_set): Support
1214 (GC_TEST_AND_SET_DEFINED): Likewise.
1216 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1218 (DATAEND): Likewise.
1219 (LINUX_STACKBOTTOM): Likewise.
1220 (STACKBOTTOM): Removed for Linux/mips.
1222 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
1224 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1225 (GC_pthread_create): Fix typo.
1226 (GC_TRY_LOCK): Likewise.
1227 * include/private/gc_locks.h (GC_test_and_set): Only take one
1229 (LOCK): Adjust appropriately.
1230 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1231 _SIGRTMIN is unavailable.
1233 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1235 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1236 * aclocal.m4: Regenerate.
1237 * configure: Regenerate.
1239 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1241 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1242 script entry, and set LD to it when configuring multilibs.
1243 * configure: Rebuilt.
1245 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1247 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1248 (noinst_LTLIBRARIES): Add libgcjgc.la.
1250 * Makefile.in: Rebuild.
1252 2002-04-22 David S. Miller <davem@redhat.com>
1254 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1255 64-bit SPARC Linux, the __libc_stack_end technique does
1256 not work in this case.
1258 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1260 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1262 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
1264 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1267 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
1269 * include/private/gcconfig.h (DATAEND): Update comment example
1272 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
1274 * include/private/gcconfig.h (DATAEND): Clarify comment.
1276 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1278 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1279 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1281 * allchblk.c (GC_allchblk_nth): Change text and support reduced
1282 frequency for blacklist warning message.
1283 * misc.c (GC_large_alloc_warn_interval,
1284 GC_large_alloc_warn_suppressed): define.
1285 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1286 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1287 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1288 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1290 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1292 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
1294 * include/private/gcconfig.h: Add support for an unmapped
1295 memory hole between the end of the initialized data segment
1296 and the start of the BSS on FreeBSD/i386.
1298 2002-03-30 Krister Walfridsson <cato@df.lth.se>
1300 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1303 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
1305 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1306 (GC_local_gcj_malloc): Add assertion.
1307 (start_mark_threads): Fix abort message.
1308 * mark.c (GC_mark_from): Generalize assertion.
1309 * reclaim.c (GC_clear_fl_links): New function.
1310 (GC_start_reclaim): Must clear some freelist links.
1311 * include/private/specific.h, specific.c: Add assertions.
1312 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
1313 Rearrange tse fields.
1315 2002-03-27 Richard Henderson <rth@redhat.com>
1317 * os_dep.c (GC_init_linux_data_start): Fix references to
1318 __data_start and _end.
1320 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
1322 * include/private/gcconfig.h: Change all likely references
1323 to linker script synthesized symbols to use this idiom:
1324 extern int etext[]; etext
1326 2002-03-25 Jeff Sturm <jsturm@one-point.com>
1328 * linux_threads.c (GC_get_nprocs): Close file descriptor.
1330 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
1332 * include/private/gcconfig.h: Add unified test for FreeBSD.
1333 Support FreeBSD/alpha.
1334 * os_dep.c: Do not include <machine/trap.h> unless available.
1335 (GC_freebsd_stack_base): Fix types.
1337 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1339 * Makefile.am: Make a convenience library.
1340 * Makefile.in: Rebuilt.
1342 2002-03-15 Anthony Green <green@redhat.com>
1344 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1345 * configure.in: Disable use of getenv for win32 targets (some of
1346 which have broken implementations).
1347 * configure: Rebuilt.
1349 2002-03-12 Adam Megacz <adam@xwt.org>
1351 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1352 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1353 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1354 statically initialized it to TRUE if compiling with GCC.
1355 * win32_threads.c (thread_start): We no longer use SEH if
1357 * mark.c (GC_mark_some): We no longer use SEH if
1360 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1362 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1363 support is enabled, for hash synchronization.
1365 2002-02-24 Adam Megacz <adam@xwt.org>
1367 * Makefile.am: Added win32_threads.c to sources list.
1368 * win32_threads.c: Added two */'s which I had neglected.
1370 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1372 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1373 * Makefile.in: Rebuilt.
1375 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1377 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1379 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1381 * mips_sgi_mach_dep.S: Likewise.
1382 * Makefile.am: Update for above changes.
1383 * Makefile.in: Rebuilt.
1385 2002-02-12 Richard Henderson <rth@redhat.com>
1387 * configure.in: Re-apply 2001-06-26 configure change.
1388 * configure: Rebuild.
1390 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1392 Imported GC 6.1 Alpha 3.
1394 * sparc_mach_dep.S: Delete incorrectly named file.
1396 2001-02-11 Adam Megacz <adam@xwt.org
1398 * configure.in: support for win32, saner
1399 cross-compile options
1401 2001-02-08 Anthony Green <green@redhat.com>
1403 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1404 board embedded targets.
1405 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1406 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
1407 redundant uses of ECOS.
1408 * misc.c: Use NOSYS where ECOS is being used.
1409 Don't define GC_write twice for ECOS systems.
1410 (GC_write): New function for NOSYS targets.
1412 2002-02-06 Adam Megacz <adam@xwt.org>
1414 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1415 now exposed on all Win32 platforms.
1416 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1417 compiles on Win32; it invokes CreateThread() if GC is built
1418 as a DLL; otherwise it registers the thread.
1419 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1420 libgcjgc was not built as a DLL.
1422 2002-02-01 Adam Megacz <adam@xwt.org>
1424 * boehm-gc on win32 now automatically detects if it is being built
1425 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1427 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1429 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1430 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1431 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
1432 DATASTART and DATAEND roots.
1433 * rs6000_mach_dep.s: Add function descriptor and traceback table.
1435 2001-12-16 Jeff Sturm <jsturm@one-point.com>
1437 * dyn_load.c: Define ElfW (if needed) for all targets,
1439 (GC_FirstDLOpenedLinkMap): Use it.
1440 (GC_register_dynamic_libraries_dl): Use it.
1441 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1444 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1447 * configure.in: Add AC_SUBST(target_alias).
1448 * configure: Regenerated.
1450 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1452 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1453 case for GC_FREEBSD_THREADS.
1454 * configure.in (*-*-freebsd*): Clarify warning.
1455 * configure: Rebuilt.
1457 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
1458 Andreas Tobler <toa@pop.agri.ch>
1460 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1462 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1464 * linux_threads.c (GC_init_parallel): Do not declare as a static
1466 * include/gc.h (GC_init): Declare here. Add description.
1467 * include/private/gc_priv.h (GC_init): Remove declaration.
1469 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1471 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1472 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1473 GC_FREEBSD_THREADS, handle strange interaction between system
1474 pthread implementation and boehm-gc signal-handler architecture.
1475 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1477 * include/private/gcconfig.h (configuration keyed off FREEBSD):
1478 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
1479 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1481 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1483 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1484 * Makefile.in: Rebuilt.
1486 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1488 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1489 merged local changes.
1491 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1493 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1494 Solaris 2/Intel definition.
1496 * configure.in (i?86-*-solaris2.[89]*): Define
1497 SOLARIS25_PROC_VDB_BUG_FIXED.
1498 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1499 * configure: Regenerate.
1501 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1502 (DATAEND): Define using _end.
1504 2001-09-11 Per Bothner <per@bothner.com>
1506 * include/Makefile.am: New file. It defines include_HEADERS.
1507 * Makefile.am (SUBDIRS): New macro, set to include.
1508 * configure.in (AC_OUTPUT): Add include/Makefile.
1510 2001-08-20 Tom Tromey <tromey@redhat.com>
1512 * configure: Rebuilt.
1513 * configure.in: Always ask gcc for threads package.
1515 2001-08-17 Tom Tromey <tromey@redhat.com>
1517 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1518 merged local changes.
1520 2001-08-02 David Billinghurst <David.Billinghurst>
1522 * configure: Rebuilt.
1523 * configure.in: POSIX threads on cygwin does not link with
1526 2001-07-03 Tom Tromey <tromey@redhat.com>
1528 Fix for PR bootstrap/3281:
1529 * aclocal.m4, configure, Makefile.in: Rebuilt.
1530 * acinclude.m4: Set mkinstalldirs for in-tree build.
1532 2001-06-26 Richard Henderson <rth@redhat.com>
1534 * alpha_mach_dep.s: Mark call-saved FP registers.
1535 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1536 * configure.in (alpha*): Re-enable alpha_mach_dep.s
1537 * configure: Rebuild.
1539 2001-06-12 Tom Tromey <tromey@redhat.com>
1541 * aclocal.m4, configure: Rebuilt.
1542 * acinclude.m4: Find configure.host in srcdir.
1544 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1546 * configure.in (AC_EXEEXT): Work around in case it expands to
1547 nothing, as in autoconf 2.50.
1548 * acinclude.m4: Likewise.
1549 * aclocal.m4, configure: Rebuilt.
1551 2001-06-07 Tom Tromey <tromey@redhat.com>
1553 For PR bootstrap/3075:
1554 * configure, aclocal.m4, Makefile.in: Rebuilt.
1555 * configure.in: Don't call AC_CONFIG_AUX_DIR or
1556 AC_CANONICAL_SYSTEM.
1557 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1558 AC_CANONICAL_SYSTEM here.
1559 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1562 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1564 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1565 (libgcjgc_la_SOURCES): Remove typo.
1566 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1567 * Makefile.in: Rebuilt.
1569 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1571 Imported version version 6.0alpha7.
1573 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1574 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1575 README.rs6000, README.sgi, README.solaris2, README.uts,
1576 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1577 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1578 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1579 hpux_irix_threads.c, makefile.depend, nursery.c,
1580 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1581 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1582 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1583 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1586 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1588 * configure.host: Build with -fexceptions.
1589 * linux_threads.c: Remember which thread stopped world for
1591 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1592 with final tuning by Bryce McKinlay
1594 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1595 * configure: Rebuilt.
1597 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1599 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1600 (GC_noop1): Change declaration to take one argument.
1602 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1604 * configure.in: Obtain THREADS with `gcc -v'.
1605 * configure: Rebuilt.
1607 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1609 * misc.c: Back out buggy changes to stack clearing code.
1610 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1611 spent clearing memory.
1613 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1616 - Accomodate finalization requests for static objects.
1617 (Will be required by hash synchronization. May be needed
1618 in some configurations now.)
1621 - Define MIN_WORDS. All allocation requests are rounded
1622 up to at least this size. Removes a subtle assumption that
1623 Java objects have a 2 word header.
1626 - Adjust Linux/IA64 configuration for non-ancient kernels.
1627 (Necessary fix for IA64.)
1630 - Fix syntax error in currently unused code. Will be needed
1638 - Change stack cleaning code to typically clear about one tenth
1639 the memory it used to in the threads configuration. Occasionally
1640 still clear more. (This is really a fix for a long-standing
1641 and fairly significant performance bug with threads.)
1644 - Fix the code for finding the beginning of the data segment under
1645 Linux. I believe this is necessary for some IA64 Linux
1646 distributions. It will also helo other platforms, though those
1647 may additionally require a gcconfig.h adjustment. (This basically
1648 works around the absence of a data_start or __data_start
1649 definition in glibc.)
1652 - Handle rounding due to MIN_WORDS.
1654 2001-03-22 Tom Tromey <tromey@redhat.com>
1656 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1658 2001-03-19 Tom Tromey <tromey@redhat.com>
1660 * Makefile.in: Rebuilt.
1661 * Makefile.am (gctest_LDFLAGS): new macro.
1663 2001-03-16 Tom Tromey <tromey@redhat.com>
1665 * Makefile.in: Rebuilt.
1666 * Makefile.am (TESTS_ENVIRONMENT): New macro.
1668 2001-01-23 Rod Stewart <stewart@lab43.org>
1670 * gcconfig.h: Check for `__arm__', not `arm'.
1672 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
1674 * configure.in: Rename THREADLIB to THREADLIBS.
1675 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1676 ensures that we link the correct version of the linuxthreads semaphore
1678 * Makefile.in: Rebuilt.
1679 * configure: Rebuilt.
1681 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1682 list of signals which are not blocked during suspend in the NO_SIGNALS
1685 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
1687 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1689 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
1691 * Makefile.dist: Renamed from Makefile.orig.
1693 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1695 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1696 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1698 * Makefile.in: Rebuilt.
1699 * configure: Likewise.
1701 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
1703 * gcconfig.h: Add new case for powerpc EABI.
1704 [PPC]: Handle embedded OS for powerpc simulator.
1706 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
1708 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1709 cross-compile configuration only.
1710 * Makefile.am: Build gcj_mlc.c.
1711 * configure, Makefile.in: Rebuilt.
1713 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
1715 * acinclude.m4: Include libtool macros from the top level.
1716 * aclocal.m4, configure: Rebuilt.
1718 2000-09-04 Anthony Green <green@redhat.com>
1720 Fix for PR libgcj/230:
1721 * mark.c (GC_mark_from_mark_stack): Remove call to
1722 GC_debug_object_start.
1723 * gc_priv.h (GC_debug_object_start): Remove prototype.
1725 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1727 * gcconfig.h [OSF1] (_end): Declare as `int'.
1729 2000-08-02 Tom Tromey <tromey@cygnus.com>
1731 * gc_priv.h (GC_generic_malloc_inner): Prototype.
1732 (GC_generic_malloc): Likewise.
1733 (GC_add_to_black_list_normal): Likewise.
1734 (GC_find_header): Likewise.
1735 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1736 * gc_mark.h (GC_find_start): Prototype.
1737 (GC_signal_mark_stack_overflow): Likewise.
1739 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
1741 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1742 * configure: Rebuilt.
1744 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1746 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
1748 Imported version 5.1.
1749 * acinclude.m4: Push version to 5.1.
1751 2000-06-19 Andrew Haley <aph@cygnus.com>
1753 * os_dep.c (read): Pass two dummy args to syscall().
1755 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
1757 Imported 5.0 release version.
1758 * acinclude.m4: Increment version to 5.0.
1760 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
1762 Imported version 5.0alpha7.
1763 * acinclude.m4: Update version to 5.0a7.
1765 2000-04-26 Jakub Jelinek <jakub@redhat.com>
1767 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1768 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1769 - sparc glibc does not provide it.
1770 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1771 Make STACKBOTTOM depend on the wordsize.
1772 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1773 (struct frame): Declare on sparc*-linux*.
1774 (GC_save_callers): Bias the frame pointers if needed (sparc64).
1775 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1776 Implement on sparc64.
1777 (GC_clear_stack_inner): Implement on sparc64.
1778 * gc_priv.h (GC_test_and_set): Implement for sparc.
1779 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1780 GC_save_regs_in_stack on sparc.
1782 2000-04-23 Tom Tromey <tromey@cygnus.com>
1784 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1786 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
1788 Imported version version 5.0alpha6.
1789 * acinclude.m4: Bump version to 5.0a6.
1790 * configure.in: Don't use alpha_mach_dep.s.
1791 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1793 * Makefile.am, Makefile.in: irix_threads.c is now
1794 hpux_irix_threads.c.
1795 * Makefile.orig: Updated from gc distribution Makefile.
1797 2000-03-26 Anthony Green <green@redhat.com>
1799 * misc.c (GC_enable): Always define GC_enable and GC_disable.
1801 2000-02-14 Tom Tromey <tromey@cygnus.com>
1803 * gc.h (dlopen): Define as GC_dlopen on Linux.
1804 (GC_dlopen): Declare on Linux.
1805 * dyn_load.c (GC_dlopen): Define for Linux.
1807 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
1809 * gcconfig.h (DATASTART): Add missing extern declaration
1810 for data_start on powerpc.
1812 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
1814 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1817 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
1819 * gcconfig.h: Define DATASTART for Alpha Linux.
1821 1999-12-19 Anthony Green <green@cygnus.com>
1823 * gcconfig.h: Use libgcj hack for Alpha Linux.
1824 Undefine MPROTEXT_VDB (from Jeff Sturm).
1825 * os_dep.c: Remove Alpha Linux hacks.
1828 1999-12-13 Tom Tromey <tromey@cygnus.com>
1830 * aclocal.m4, configure: Rebuilt.
1831 * acinclude.m4: Changed version to 5.0a4.
1832 * Makefile.in: Rebuilt.
1833 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1835 1999-12-12 Anthony Green <green@cygnus.com>
1837 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1839 (DYNAMIC_LOADING): Define for PowerPC Linux.
1840 * os_dep.c: Remove some special cases for PowerPC Linux.
1841 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1844 1999-11-04 Tom Tromey <tromey@cygnus.com>
1846 * Makefile.in: Rebuilt.
1847 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1849 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1850 (GC_thr_init): Don't declare.
1852 * configure: Rebuilt.
1853 * configure.in: Removed qt threads case.
1854 * dyn_load.c: Don't mention QUICK_THREADS.
1855 * os_dep.c: Don't mention QUICK_THREADS.
1856 * misc.c: Don't mention QUICK_THREADS.
1857 * gcconfig.h: Don't mention QUICK_THREADS.
1858 * gc_priv.h: Removed QUICK_THREADS code.
1859 * quick_threads.c: Removed.
1861 1999-11-03 Tom Tromey <tromey@cygnus.com>
1863 * gcconfig.h: Merged in local changes from old config.h.
1865 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
1867 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1869 1999-11-02 Tom Tromey <tromey@cygnus.com>
1871 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1873 * configure: Rebuilt.
1874 * configure.in: Don't create boehm-config.h.
1875 * Makefile.in: Rebuilt.
1876 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1878 ($(all_objs)): Depend on gcconfig.h.
1879 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1880 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1881 * config.h: Removed.
1883 1999-11-01 Tom Tromey <tromey@cygnus.com>
1885 * Makefile.in: Rebuilt.
1886 * Makefile.am (gctest_LDADD): Added THREADLIB.
1888 * configure: Rebuilt.
1889 * configure.in (INCLUDES): New subst.
1891 1999-09-29 Steve Chamberlain <sac@pobox.com>
1893 * config.h: Added picoJava target.
1894 * mach_dep.h (GC_push_regs): New code for picoJava.
1896 1999-09-28 Tom Tromey <tromey@cygnus.com>
1898 * aclocal.m4, configure: Rebuilt.
1899 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1900 appropriate AC_PROG_ symbol.
1902 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1904 * gc_priv.h: IRIX thread changes from
1905 include/private/gc_priv.h.
1907 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1909 * Makefile.in: Rebuilt.
1910 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1913 * configure: Rebuilt.
1914 * configure.in: Properly align --help output, fix capitalization
1916 * acinclude.m4: Likewise.
1918 1999-08-04 Tom Tromey <tromey@cygnus.com>
1920 * configure.in: Added missing `;;'. From Anthony Green.
1922 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1924 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1926 1999-08-03 Tom Tromey <tromey@cygnus.com>
1928 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1929 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1931 1999-08-02 Tom Tromey <tromey@cygnus.com>
1933 * aclocal.m4, configure: Rebuilt for new libtool.
1935 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1937 * mips_sgi_mach_dep.s: Enable PIC option.
1939 1999-07-19 Tom Tromey <tromey@cygnus.com>
1941 * config.h (MPROTECT_VDB): Don't define on Linux.
1943 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1945 * Makefile.am (.s.lo): Avoid `#line' directives.
1946 * Makefile.in: Rebuilt.
1948 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1950 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1951 generate *-recursive for this Makefile, use *-am instead.
1952 * Makefile.in: Rebuilt.
1954 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
1956 * Makefile.am (.s.lo): Renamed from `.s.o'.
1957 * Makefile.in: Rebuilt.
1959 1999-06-21 Tom Tromey <tromey@cygnus.com>
1961 Alpha patch from Jeff Sturm:
1962 * os_dep.c (GC_init_linuxalpha): New function.
1963 * misc.c: Initialize for alpha linux.
1964 * gc_priv.h (GC_test_and_set): Define for alpha.
1965 * config.h: Don't assume __data_start on alpha.
1967 * Makefile.in: Rebuilt.
1968 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1971 * Makefile.in: Rebuilt.
1972 * Makefile.am (toolexeclibdir): Define as libdir when
1974 * configure: Rebuilt.
1975 * configure.in (USE_LIBDIR): New conditional.
1977 * configure: Rebuilt.
1978 * configure.in: Recognize all forms of alpha.
1980 1999-06-17 Anthony Green <green@cygnus.com>
1982 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1983 Carlo Dapor <carlo@vis.ethz.ch>).
1985 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
1987 * configure.in: Switch from irix threads to posix threads
1988 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1989 for mips architecture.
1990 * configure: Regenerate.
1992 1999-04-30 Tom Tromey <tromey@cygnus.com>
1994 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1996 1999-04-26 Tom Tromey <tromey@cygnus.com>
1998 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2001 1999-04-23 Tom Tromey <tromey@cygnus.com>
2003 * Makefile.in, configure: Rebuilt.
2004 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2005 (libgcjgc_la_SOURCES): Renamed.
2006 (libgcjgc_la_LIBADD): Likewise.
2007 (libgcjgc_la_DEPENDENCIES): Likewise.
2008 (EXTRA_libgcjgc_la_SOURCES): Likewise.
2009 (gctest_LDADD): Use libgcjgc.la.
2010 (all_objs): Mention libgcj_la_OBJECTS.
2011 (EXTRA_LTLIBRARIES): Renamed.
2012 (toollib_LTLIBRARIES): Likewise.
2013 (libgcjgc_la_LDFLAGS): New macro
2014 (toolexecdir): Renamed.
2015 (toolexeclibdir): Likewise.
2016 (toolexeclib_LTLIBRARIES): Likewise.
2017 (LTCOMPILE): Renamed; added libtool invocation.
2018 (LINK): Added libtool invocation.
2019 (.s.o): use LTCOMPILE.
2020 * configure.in: Call AM_PROG_LIBTOOL.
2021 (target_all): Set to libgcjgc.la.
2022 Mention `.lo' forms of object files.
2024 1999-04-21 Tom Tromey <tromey@cygnus.com>
2026 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2029 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2030 sigcontext.h. From Matthias Klose <doko@itso.de>.
2032 1999-04-16 Tom Tromey <tromey@cygnus.com>
2034 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
2035 David Pettersson <dapet@mai.liu.se>
2037 1999-04-14 Tom Tromey <tromey@cygnus.com>
2039 * configure: Rebuilt.
2040 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
2041 incorrect patch of 199-04-09.
2043 * configure: Rebuilt.
2044 * configure.in: Added support for alpha.
2045 From David Pettersson <dapet@mai.liu.se>.
2047 1999-04-13 Tom Tromey <tromey@cygnus.com>
2049 * Makefile.in: Rebuilt.
2050 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2053 1999-04-09 Tom Tromey <tromey@cygnus.com>
2055 * configure: Rebuilt.
2056 * configure.in: Use sparc_mach_dep.s when building on Solaris.
2058 1999-02-23 Tom Tromey <tromey@cygnus.com>
2060 * configure: Rebuilt.
2061 * configure.in: For Linux, define _REENTRANT. For Solaris, define
2062 SOLARIS_THREADS and _SOLARIS_PTHREADS.
2064 1999-02-18 Tom Tromey <tromey@cygnus.com>
2066 * quick_threads.c (GC_push_all_stacks): Change order of arguments
2067 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
2068 for case where LO is NULL.
2070 1999-02-10 Tom Tromey <tromey@cygnus.com>
2072 * aclocal.m4, configure, Makefile.in: Rebuilt.
2073 * acinclude.m4: Updated to be used with automake 1.4.
2074 * configure.in: Renamed libgc to libgcjgc. Updated to be used
2076 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2077 (libgcjgc_a_SOURCES): Likewise.
2078 (libgcjgc_a_LIBADD): Likewise.
2079 (libgcjgc_a_DEPENDENCIES): Likewise.
2080 (EXTRA_libgcjgc_a_SOURCES): Likewise.
2081 (gctest_LDADD): Likewise.
2082 (all_objs): Likewise.
2084 1999-01-08 Tom Tromey <tromey@cygnus.com>
2086 * configure: Rebuilt.
2087 * configure.in: Define LINUX_THREADS if using POSIX threads on
2090 * gc_priv.h (GC_test_and_set): Put return type into definition.
2092 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
2094 * Makefile.am: add support for eCos. In particular, add C++
2095 support for compiling the file ecos.cc.
2096 * ecos.cc: new file.
2097 * acinclude.m4: add C++ support.
2098 * aclocal.m4: likewise
2099 * config.h: add eCos support.
2100 * configure: likewise
2101 * configure.in: likewise
2102 * misc.c (GC_write): add eCos support.
2103 * os_dep.c (tiny_sbrk): add eCos support.
2105 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
2107 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2108 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2110 1998-11-23 Tom Tromey <tromey@cygnus.com>
2112 * configure.host (boehm_gc_cflags): Don't add `-O2'.
2114 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
2116 * Makefile.am, Makefile.in, configure.host: tx39 build option
2119 1998-11-17 Tom Tromey <tromey@cygnus.com>
2121 * configure: Rebuilt.
2122 * configure.in: Switch on host, not target.
2124 1998-11-16 Tom Tromey <tromey@cygnus.com>
2126 * gc_priv.h (GC_debug_object_start): Declare.
2127 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2128 * gc.h (GC_debug_register_finalizer_no_order,
2129 GC_register_finalizer_no_order): Declare.
2130 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2131 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2132 (GC_debug_generic_malloc): Likewise.
2133 (GC_debug_object_start): new function.
2135 1998-11-11 Tom Tromey <tromey@cygnus.com>
2137 * configure: Rebuilt.
2138 * configure.in: Recognize --enable-java-gc, not --enable-gc.
2140 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2142 * dyn_load.c: Handle QUICK_THREADS case.
2144 1998-10-21 Tom Tromey <tromey@cygnus.com>
2146 * configure: Rebuilt.
2147 * configure.in: Put cpp defines here, not in config.h. Recognize
2148 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
2149 define PACKAGE or VERSION.
2150 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2153 * os_dep.c (GC_default_push_other_roots): Define when
2154 QUICK_THREADS defined.
2155 * misc.c: Added QUICK_THREADS case.
2156 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2157 * config.h (THREADS): Define if QUICK_THREADS defined.
2158 * Makefile.in: Rebuilt.
2159 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2161 * quick_threads.c: New file.
2163 1998-10-20 Tom Tromey <tromey@cygnus.com>
2165 * aclocal.m4, configure: Rebuilt.
2166 * acinclude.m4: Don't subst machine_dir or sys_dir.
2167 * configure.host: Removed unused code.
2169 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
2171 * configure: Rebuilt.
2172 * configure.in: Fix typo in previous patch.
2174 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
2176 * Makefile.in, aclocal.m4, configure: Rebuilt.
2177 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2178 * configure.host: Created.
2180 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
2182 * Makefile.in: Rebuilt.
2183 * Makefile.am (lib_LIBRARIES): Use target_all.
2184 (EXTRA_LIBRARIES): New macro.
2185 * configure: Rebuilt.
2186 * configure.in: Recognize --enable-gc.
2188 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
2190 * Makefile.in: Rebuilt.
2191 * Makefile.am (COMPILE): Define.
2193 (.s.o): Use MY_CFLAGS.
2194 * configure: Rebuilt.
2195 * configure.in (MY_CFLAGS): Define and subst.
2197 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
2199 * configure: Rebuilt.
2200 * configure.in: Added --with-cross-host argument. Use
2201 $with_cross_host to determine when cross-compiling.
2203 * config.h (SMALL_CONFIG): Don't define.
2204 * configure: Rebuilt.
2205 * configure.in: Define SMALL_CONFIG when cross-compiling.
2207 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
2209 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2210 allchblk.c: Merged with 4.13a2 while preserving local changes.
2212 * Makefile.orig: Updated from Makefile in 4.13a2.
2214 * configure: Rebuilt.
2215 * configure.in: Updated version number to 4.13a2. On Solaris,
2216 don't build with -O when using gcc.
2218 Merged in version 4.13alpha2:
2219 * config.h (USE_MMAP): Re-enable on Solaris.
2220 * solaris_pthreads.c: Removed RCS Id line.
2221 * alpha_mach_dep.s: Removed RCS Id line.
2223 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
2225 * config.h (USE_MMAP): Don't define for Solaris.
2227 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
2229 * Makefile.in: Rebuilt.
2230 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2232 * Makefile.in: Rebuilt.
2233 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2235 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
2237 * Makefile.in: Rebuilt.
2238 * Makefile.am ($(all_objs)): Depend on config.h.
2240 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2241 DATASTART as &_etext.
2242 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2243 * configure: Rebuilt.
2244 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2247 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
2249 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2250 (GC_maybe_gc): Likewise.
2251 * os_dep.c: If NO_SIGSET defined, then have empty
2252 GC_disable_signals and GC_enable_signals.
2253 * configure: Rebuilt.
2254 * configure.in: Added --with-target-subdir option. If
2255 cross-compiling, define NO_SIGSET and NO_CLOCK.
2257 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
2259 * Makefile.in: Rebuilt.
2260 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2262 * aclocal.m4, configure: Rebuilt.
2263 * acinclude.m4: New file.
2264 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
2266 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
2268 * configure: Rebuilt.
2269 * configure.in: Link boehm-config.h to config.h.
2270 * Makefile.in: Rebuilt.
2271 * Makefile.am (INCLUDES): Removed.
2272 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2273 JAVA_FINALIZATION): Define
2275 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
2277 * Many files: Use GC_bool, not bool.
2278 * gc_priv.h: Define GC_bool, not bool.
2280 * misc.c (GC_dont_gc): Define as int.
2281 (GC_quiet): Likewise.
2282 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2283 * alloc.c (GC_dont_expand): Define as int.
2284 * gc_priv.h: For gcc, define bool as char.
2286 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
2288 * Makefile.in: Rebuilt.
2289 * Makefile.am (check_PROGRAMS): New macro.
2290 (gctest_SOURCES): Likewise.
2291 (gctest_LDADD): Likewise.
2293 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
2295 * Makefile.in: Rebuilt.
2296 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2297 * configure: Rebuilt.
2298 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2300 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2302 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2304 * Makefile.orig: Renamed from Makefile.