1 2013-12-21 Andreas Tobler <andreast@gcc.gnu.org>
3 * include/private/gcconfig.h: Add FreeBSD powerpc64 defines.
5 2013-09-20 Alan Modra <amodra@gmail.com>
7 * configure: Regenerate.
9 2013-09-04 Matthias Klose <doko@ubuntu.com>
11 * Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS.
12 * Makefile.in: Regenerate.
14 2013-03-16 Yvan Roux <yvan.roux@linaro.org>
16 * include/private/gcconfig.h (AARCH64): New macro (defined only if
18 (CPP_WORDSZ): Define for AArch64.
19 (MACH_TYPE): Likewise.
20 (ALIGNMENT): Likewise.
23 (LINUX_STACKBOTTOM): Likewise.
24 (USE_GENERIC_PUSH_REGS): Likewise.
25 (DYNAMIC_LOADING): Likewise.
26 (DATASTART): Likewise.
28 (STACKBOTTOM): Likewise.
30 (mach_type_known): Define for AArch64 and comment update.
32 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34 * os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New
36 [!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS &&
37 !ECOS] (GC_get_stack_base): Use it.
38 * include/private/gcconfig.h [SPARC && SUNOS5]
39 (SOLARIS_STACKBOTTOM): Define.
40 (STACKBOTTOM, HEURISTIC2): Remove.
42 (SOLARIS_STACKBOTTOM): Define.
43 (STACKBOTTOM): Remove.
45 2012-11-04 Samuel Thibault <samuel.thibault@gnu.org>
47 * configure.ac: Add stanza for *-*-gnu* threads configuration.
48 * configure: Regenerate.
49 * include/gc_config.h.in: Likewise.
50 * dyn_load.c (_GNU_SOURCE): Define for __GNU__.
51 * include/gc_config_macros.h (_REENTRANT, GC_PTHREADS): Define for
53 * include/private/gcconfig.h (DATASTART): Don't define for I386 &&
55 (SIG_SUSPEND, SIG_THR_RESTART, SEARCH_FOR_DATA_START): Define for
57 (UNIX_LIKE, REGISTER_LIBRARIES_EARLY): Define for HURD.
58 * os_dep.c (GC_init_linux_data_start): Handle for HURD.
59 * pthread_support.c (GC_thr_init): Add case for GC_GNU_THREADS.
60 * specific.c: Use for GC_GNU_THREADS.
61 * threadlibs.c: Add case for GC_GNU_THREADS.
63 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
65 * configure: Regenerated.
67 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
69 * configure: Regenerated.
71 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
73 Merge upstream changes
74 * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
75 (CPP_WORDSZ): Set to 32 for x32.
77 2012-02-27 Jack Howarth <howarth@bromo.med.uc.edu>
78 Patrick Marlier <patrick.marlier@gmail.com>
81 * testsuite/boehm-gc.c/thread_leak_test.c: Merge upstream changes.
83 2012-02-23 Patrick Marlier <patrick.marlier@gmail.com>
84 Jack Howarth <howarth@bromo.med.uc.edu>
87 * include/gc_config.h.in: Undefine HAVE_PTHREAD_GET_STACKADDR_NP.
88 * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with
89 pthread_get_stackaddr_np when available.
90 * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np.
91 * configure: Regenerate.
93 2012-02-10 Kai Tietz <ktietz@redhat.com>
96 * include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
97 only, if we are actual in boehm-gc's build and DLL_EXPORT
100 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
102 * configure: Regenerate.
104 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
106 * configure.ac (THREADS): Remove posix95.
107 * configure: Regenerate.
109 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
112 * configure.ac (i?86-*-solaris2.[89]): Also accept
113 x86_64-*-solaris2.1?.
114 * configure: Regenerate.
116 2011-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
119 * include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
121 * dyn_load.c [IRIX5]: Include <elf.h>.
122 Include <obj.h> for O32, <objlist.h> for N32, N64.
123 [SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
124 [SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
125 [IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
126 (__rld_obj_head): Declare.
127 (l_next, l_addr, obj_offset): Define.
128 (GC_FirstDLOpenedLinkMap): New function.
129 [SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
132 [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
133 (GC_register_dynamic_libraries): Don't use /proc version on IRIX5.
135 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
137 * configure.ac (THREADS): Remove decosf1, irix, mach, os2.
138 * configure: Regenerate
140 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
143 * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
146 2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
149 * configure.ac (THREADCFLAGS): New variable.
150 Use it instead of INCLUDES, AM_CPPFLAGS.
151 <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
152 Remove DG/UX support.
153 (AC_CONFIG_FILES): Add testsuite/Makefile.
154 * Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
155 (SUBDIRS): Add testsuite.
156 (libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
157 (AM_CXXFLAGS): Add $(THREADCFLAGS).
158 (AM_CFLAGS): Likewise.
159 Remove TESTS related variables.
160 * Makefile.in: Regenerate.
161 * configure: Regenerate.
162 * testsuite/Makefile.am: New file.
163 * testsuite/Makefile.in: New file.
164 * testsuite/lib/boehm-gc.exp: New file.
165 * testsuite/config/default.exp: New file.
166 * testsuite/boehm-gc.c/c.exp: New file.
167 * testsuite/boehm-gc.lib/lib.exp: New file.
168 * tests/test.c: Move ...
169 * testsuite/boehm-gc.c/gctest.c: ... here.
170 * tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
171 tests/trace_test.c: Move ...
172 * testsuite/boehm-gc.c: ... here.
173 * testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
174 * tests/staticrootslib.c, tests/staticrootstest.c: Move ...
175 * testsuite/boehm-gc.lib: ... here.
176 * testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
178 * tests/test_cpp.cc: Move ...
179 * testsuite/boehm-gc.c++: ... here.
181 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
183 * configure.ac (THREADS): Remove solaris.
184 * configure: Regenerate.
186 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
188 * configure: Regenerate.
190 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
192 * configure.ac: Don't use libdl on mips-sgi-irix6*.
193 * configure: Regenerate.
195 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
197 * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
198 * configure: Regenerate.
200 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
202 * powerpc_darwin_mach_dep.s: Update for m64. Add eh frames.
203 Do not build or use the picsymbol stub for Darwin >= 9.
204 * tests/test.c (reverse_test): Modify count for ppc64-darwin.
205 * pthread_support.c (GC_get_thread_stack_base): Correct a debug
208 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
209 Mike Stump <mrs@gcc.gnu.org>
214 * dyn_load.c (GC_register_dynamic_libraries/DARWIN): Add new writable
216 (GC_dyld_name_for_hdr): Adjust layout.
217 (GC_dyld_image_add): Adjust layout, add new Darwin sections, adjust
218 debug to name the sections.
219 (GC_dyld_image_remove): Adjust layout, remove new Darwin sections,
220 adjust debug to name the sections.
221 (GC_register_dynamic_libraries): Adjust layout.
222 (GC_init_dyld): Likewise.
223 (GC_register_main_static_data): Likewise.
225 2010-10-29 Paolo Bonzini <bonzini@gnu.org>
227 * configure: Regenerate.
229 2010-10-28 Paolo Bonzini <bonzini@gnu.org>
231 * configure.ac: Rewrite DGUX check to use GC_CFLAGS, and -O0 check
232 to remove the need for MY_CFLAGS.
233 * Makefile.am: Do not use @...@ substitutions. Use AM_CXXFLAGS,
234 AM_CFLAGS and AM_LDFLAGS instead of redefining LTCOMPILE and LINK.
235 Use "override" to disable -O2 when required.
236 * configure: Regenerate.
237 * Makefile.in: Regenerate.
238 * include/Makefile.in: Regenerate.
240 2010-10-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
242 * dyn_load.c: Fix typo.
243 * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
246 2010-06-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
248 * configure.ac (*-*-solaris2.8*): Only usr alternate thread
249 library on Solaris 8.
250 (*-*-solaris2*): Use regular thread library otherwise.
251 * configure: Regenerate.
253 2010-05-13 Uros Bizjak <ubizjak@gmail.com>
255 * tests/leak_test.c (main): Declare as int. Return 0.
256 * tests/thread_leak_test.c (main): Ditto.
257 * tests/trace_test.c (main): Ditto.
259 2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com>
262 * tests/staticrootstest.c: New test source file.
263 * tests/staticrootslib.c: New test library source file.
264 * Makefile.am (test_ldadd): New variable.
265 (gctest_LDADD): Use it.
266 (TESTS): Add leaktest, middletest and staticrootstest.
267 (check_PROGRAMS): Likewise.
268 (leaktest_SOURCES): New libtool variable definition.
269 (leaktest_LDADD): Likewise.
270 (leaktest_LDFLAGS): Likewise.
271 (leaktest_LINK): Likewise.
272 (middletest_SOURCES): Likewise.
273 (middletest_LDADD): Likewise.
274 (middletest_LDFLAGS): Likewise.
275 (middletest_LINK): Likewise.
276 (staticrootstest_SOURCES): Likewise.
277 (staticrootstest_LDADD): Likewise.
278 (staticrootstest_LDFLAGS): Likewise.
279 (staticrootstest_LINK): Likewise.
280 (check_LTLIBRARIES): Likewise.
281 (libstaticrootslib_la_SOURCES): Likewise.
282 (libstaticrootslib_la_LIBADD): Likewise.
283 (libstaticrootslib_la_LDFLAGS): Likewise.
284 (libstaticrootslib_la_DEPENDENCIES): Likewise.
285 * Makefile.in: Regenerate.
287 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
289 * Makefile.in: Regenerate.
290 * aclocal.m4: Regenerate.
291 * include/Makefile.in: Regenerate.
293 2010-03-21 Dave Korn <dave.korn.cygwin@gmail.com>
295 PR target/42811 (prerequisite)
296 * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
297 declare r_next member on Cygwin as on other windows hosts.
298 (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
299 (RT_SIZE) [CYGWIN32]: Likewise.
300 (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
302 (GC_heap_bases) [CYGWIN32]: Do define likewise.
303 (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
304 (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
305 (GC_n_heap_bases) [CYGWIN32]: Likewise.
306 (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
307 * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
308 (GET_MEM) [CYGWIN32]: Do define likewise.
309 * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
310 registration likewise.
311 * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
312 (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
314 (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
315 (GC_n_heap_bases) [CYGWIN32]: Likewise.
316 (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
317 (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
318 rather than GlobalAlloc/VirtualAlloc.
319 (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
320 of GlobalFree (even though the function body is optimised away).
321 * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
323 (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
325 (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
326 (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
327 (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
328 (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
329 (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
330 (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
331 roots and dynamic registration likewise.
332 * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
334 (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
335 (GC_cond_add_roots) [CYGWIN32]: Likewise.
336 (GC_register_main_static_data) [CYGWIN32]: Define to always return
338 (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
340 (GC_warn_fb) [CYGWIN32]: Likewise.
341 (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
342 (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
343 (GC_ignore_fb) [CYGWIN32]: Likewise.
344 (is_frame_buffer) [CYGWIN32]: Likewise.
345 (GC_dump_meminfo) [CYGWIN32]: Likewise.
346 (GC_wnt) [CYGWIN32]: Define to constant true.
347 (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
350 2009-12-09 Matthias Klose <doko@ubuntu.com>
352 * include/private/gc_locks.h: For __ARM_EABI__ define
353 GC_test_and_set GC_clear to use the atomic builtins.
355 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
357 * Makefile.in: Regenerate.
358 * configure: Regenerate.
359 * include/Makefile.in: Regenerate.
361 2009-11-30 Ben Elliston <bje@au.ibm.com>
363 * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
364 compiling with GCC rather than taking the address of a local
367 2009-11-30 Ben Elliston <bje@au.ibm.com>
369 * os_dep.c: Use the POSIX signal API in preference to the BSD API.
370 Generate a compilation error if neither the POSIX nor BSD APIs can
373 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
375 * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
376 (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
377 so that library dependency resolution works with portable make.
378 * Makefile.in: Regenerate.
380 2009-09-08 Alexandre Oliva <aoliva@redhat.com>
382 * configure: Rebuilt with modified libtool.m4.
384 2009-09-03 Loren J. Rittle <ljrittle@acm.org>
386 * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
387 Define for FreeBSD 7.0+.
389 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
391 * configure.ac (AC_PREREQ): Bump to 2.64.
393 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
395 * Makefile.am (install-html, install-pdf): Remove.
396 * Makefile.in: Regenerate.
398 * Makefile.in: Regenerate.
399 * aclocal.m4: Regenerate.
400 * configure: Regenerate.
401 * include/Makefile.in: Regenerate.
402 * include/gc_config.h.in: Regenerate.
404 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
406 * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
408 * Makefile.in: Regenerate.
410 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
412 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
414 2009-07-17 Michael Meissner <meissner@linux.vnet.ibm.com>
417 * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
418 the __sync_lock_test_and _set and __sync_lock_release builtins on
419 the powerpc. If not GCC 4.4, fix up the constraints so that it
420 builds without error.
423 2009-07-17 Kai Tietz <kai.tietz@onevision.com>
425 * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
427 * configure: Regenerated.
429 2009-05-17 Dave Korn <dave.korn.cygwin@gmail.com>
431 * win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin.
433 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
435 * configure: Regenerate.
437 2009-02-09 Mark Mitchell <mark@codesourcery.com>
439 * Makefile.am (LTLDFLAGS): New variable.
441 * Makefile.in: Regenerated.
443 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
445 * configure: Regenerate.
447 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
448 Steve Ellcey <sje@cup.hp.com>
450 * configure: Regenerate for new libtool.
451 * Makefile.in: Ditto.
452 * include/Makefile.in: Ditto.
455 2008-07-18 Matthias Klose <doko@ubuntu.com>
457 * configure.ac (AC_CONFIG_FILES): Add threads.mk.
458 * threads.mk.in: New.
459 * Makefile.in, configure: Regenerate.
461 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
463 * Makefile.in: Regenerate.
464 * configure: Regenerate.
465 * include/Makefile.in: Regenerate.
466 * include/gc_config.h.in: Regenerate.
468 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
471 * aclocal.m4: Regenerate.
472 * configure: Regenerate.
474 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476 * aclocal.m4: Regenerate.
477 * configure: Likewise.
478 * Makefile.in: Likewise.
479 * include/Makefile.in: Likewise.
481 2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
483 * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
484 GC_GETSECTBYNAME instead.
485 * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
486 architecture (Darwin).
488 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
490 * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
492 2008-01-24 David Edelsohn <edelsohn@gnu.org>
494 * configure: Regenerate.
496 2007-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
499 * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
500 up, return stack_addr instead of stack_addr - stack_size.
502 2007-08-14 David Daney <ddaney@avtrex.com>
504 * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
506 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
508 * aclocal.m4: Regenerated.
510 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
514 * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
515 Use alternate thread library in /usr/lib/lwp.
516 * configure: Regenerate.
517 * dyn_load.c: Use GC_SOLARIS_PTHREADS.
518 * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
519 * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
520 (GC_SOLARIS_THREADS): Don't define.
521 * include/private/solaris_threads.h: Remove.
522 * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
523 GC_nprocs via sysconf().
524 * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
526 (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
527 * Makefile.in: Regenerate.
528 * solaris_pthreads.c: Remove.
529 * solaris_threads.c: Remove.
531 2007-06-22 Jakub Jelinek <jakub@redhat.com>
533 * pthread_support.c (GC_get_thread_stack_base): Handle
534 pthread_getattr_np failures.
536 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
538 * configure: Regenerate.
540 2007-05-23 Steve Ellcey <sje@cup.hp.com>
542 * Makefile.in: Regenerate.
543 * configure: Regenerate.
544 * aclocal.m4: Regenerate.
545 * include/Makefile.in: Regenerate.
547 2007-05-20 Andreas Tobler <a.tobler@schweiz.org>
549 * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
550 * configure: Regenerate.
551 * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
552 * Makefile.in: Regenerate.
553 * include/Makefile.in: Regenerate.
554 * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
555 targets. Remove comments. Prepare ppc64 support for Darwin.
557 2007-04-23 Keith Seitz <keiths@redhat.com>
559 * include/gc.h (GC_is_thread_suspended): Declare.
560 * pthread_stop_world.c (GC_is_thread_suspended): New function.
562 2007-04-03 Jakub Jelinek <jakub@redhat.com>
564 * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
565 * configure: Rebuilt.
567 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
569 * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
570 (GC_register_finalizer_unreachable): Declare.
571 (GC_debug_register_finalizer_unreachable): Declare.
572 * finalize.c (GC_unreachable_finalize_mark_proc): New.
573 (GC_register_finalizer_unreachable): New.
574 (GC_finalize): Handle it.
575 * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
576 (GC_debug_register_finalizer_no_order): Fix whitespace.
578 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
580 * Makefile.am: Add dummy install-pdf target.
581 * Makefile.in: Regenerate
583 2007-02-05 Roman Zippel <zippel@linux-m68k.org>
585 * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
586 it works with Linux 2.6, reactivate MPROTECT_VDB
587 * boehm-gc/pthread_stop_world.c: save all register
590 2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
592 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
593 added defines to include/private/gc_priv.h
594 (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
595 * darwin_stop_world.c: Removed the above defines.
596 * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
597 and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
599 2007-01-17 David Daney <ddaney@avtrex.com>
601 * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
603 * configure: Regenerated.
604 * include/gc_config.h.in: Regenerated.
606 2007-01-17 Mike Stump <mrs@apple.com>
608 * os_dep.c: Fix i686-apple-darwin9 builds.
610 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
612 * aclocal.m4: Regenerate to use multi.m4.
613 * configure: Regenerate.
614 * Makefile.in: Regenerate.
616 2007-01-17 Andreas Tobler <a.tobler@schweiz.org>
618 * include/gc_config.h.in: Regenerate.
620 2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
622 * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
624 * os_dep.c: Likewise.
626 2007-01-15 Andreas Tobler <a.tobler@schweiz.org>
628 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
630 (catch_exception_raise): Fix typo in the I386 exc_state.
632 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
634 * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
635 HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
636 * configure: Regenerated.
637 * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
638 Added base definitions for the X86_64 Darwin port.
639 * include/private/gc_priv.h: Added definitions for Darwin MACH thread
640 operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
641 * darwin_stop_world.c: Removed THREAD_STATE info. Added
642 HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
643 with HAS_X86_THREAD_STATE32___EAX.
644 (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
646 * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
647 (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
648 Distinguish between getsectbynamefromheader_64 and
649 getsectbynamefromheader.
650 (GC_dyld_image_remove): Likewise.
651 * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
652 (catch_exception_raise): Introduce exception information for I386 and
653 X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
655 2006-12-08 Mike Stump <mrs@apple.com>
657 * configure.ac: Fix x86 darwin builds.
658 * darwin_stop_world.c: Likewise.
659 * include/private/gcconfig.h: Likewise.
660 * connfigure: Regenerate.
662 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
665 * darwin_stop_world.c: Make stack_start unsigned long.
667 2006-09-21 Sandro Tolaini <tolaini@libero.it>
669 * os_dep.c: Port to Darwin/i386
670 * darwin_stop_world.c: Likewise
671 * include/private/gcconfig.h: Likewise
673 2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
675 * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
677 * dyn_load.c: Likewise.
678 * include/gc.h: Likewise.
679 * private/gcconfig.h: Likewise.
680 * configure: Regenerate.
681 * include/gc_config.h.in: Regenerate.
683 2006-09-14 Tom Tromey <tromey@redhat.com>
686 * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
689 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
692 * configure.ac: Check for pthread_getattr_np(). Remove
693 GC_PTHREAD_SYM_VERSION detection.
694 * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
695 GC_get_thread_stack_base): New declarations.
696 * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
697 GC_get_thread_stack_base): New functions.
698 (GC_delete_thread): Don't try to free the first_thread.
699 * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
700 (pthread_create_, constr): Removed.
701 (pthread_create): Don't rename.
702 * include/gc_ext_config.h.in: Rebuilt.
703 * include/gc_pthread_redirects.h (pthread_create): Define
705 * include/gc_config.h.in: Rebuilt.
706 * configure: Rebuilt.
708 2006-06-21 Keith Seitz <keiths@redhat.com>
710 * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
711 routine if signal is received and thread is flagged SUSPENDED.
712 (suspend_self): New function.
713 (GC_suspend_thread): New function.
714 (GC_resume_thread): New function.
715 * include/gc.h (GC_suspend_thread): Declare.
716 (GC_resumet_thread): Declare.
717 * include/private/pthread_support.h (SUSPENDED): New GC_thread
720 2006-06-20 Ranjit Mathew <rmathew@gcc.gnu.org>
722 Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
723 * os_dep.c (GC_wnt): Define.
724 (GC_init_win32): Set GC_wnt.
725 * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
726 sections also on Windows 9x/ME.
728 2006-06-02 Geoffrey Keating <geoffk@apple.com>
730 * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
731 HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
732 HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
733 HAS_I386_THREAD_STATE___EAX.
734 * configure: Regenerate.
735 * include/gc_config.h.in: Regenerate.
736 * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
737 macro names to determine value.
740 (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
742 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
744 * Makefile.am: Add install-html target.
745 * Makefile.in: Regenerate.
746 * aclocal.m4: Regenerate.
747 * include/Makefile.in: Regenerate.
749 2006-03-07 Andrew Haley <aph@redhat.com>
751 * dyn_load.c (GC_has_static_roots): Declare.
752 (GC_register_dynlib_callback): Call GC_has_static_roots.
754 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
756 * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
757 GC_start_world): Call vm_deallocate to free act_list. Fix from
760 2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>
761 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
763 * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
764 Warn about POSIX threads not being supported for *-*-hpux10*.
765 * configure: Regenerate.
767 2006-02-09 Tom Tromey <tromey@redhat.com>
769 * pthread_support.c: Conditionally include dlfcn.h.
771 2006-02-06 Jakub Jelinek <jakub@redhat.com>
772 Anthony Green <green@redhat.com>
773 Tom Tromey <tromey@redhat.com>
775 * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
776 * include/gc_config.h.in: Rebuilt.
777 * include/gc_pthread_redirects.h (pthread_create): Conditionally
779 * pthread_support.c (pthread_create_): New global.
780 (constr): New function.
781 (pthread_create): Conditionally renamed.
782 * configure: Rebuilt.
783 * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
785 2006-02-04 Alan Modra <amodra@bigpond.net.au>
787 * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
788 use broken 64-bit version.
790 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
792 * darwin_stop_world.c: Change inline asm instruction to ld as ldz
795 * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
796 * Makefile.in: Regenerate.
798 2006-01-25 Bryce McKinlay <mckinlay@redhat.com>
800 * include/private/gcconfig.h: Revert to GC 6.6 version, removing
803 2006-01-24 Bryce McKinlay <mckinlay@redhat.com>
805 Import Boehm GC version 6.6.
807 2006-01-24 David Ayers <d.ayers@inode.at>
810 * include/gc.h: Fix prototype declarations for bootstrap.
812 2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
814 * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
816 2005-09-15 Kazu Hirata <kazu@codesourcery.com>
818 * include/private/gc_locks.h (GC_test_and_set): Change the
819 constraint of the first operand to '0'.
821 2005-09-06 Tom Tromey <tromey@redhat.com>
824 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
827 2005-07-17 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
829 * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
831 2005-06-15 Andreas Tobler <a.tobler@schweiz.ch>
833 * os_dep.c: Add FreeBSD/PowerPC bits.
834 (GC_SysVGetDataStart): Likewise.
835 * include/private/gcconfig.h: Likewise.
837 2005-05-25 Andrew Haley <aph@redhat.com>
839 * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
842 2005-05-09 Mike Stump <mrs@apple.com>
844 * configure: Regenerate.
846 2005-04-19 Hans-Peter Nilsson <hp@axis.com>
848 * os_dep.c, include/private/gc_locks.h: Import CRIS port by
849 Simon Posnjak from gc6.4.
850 * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
852 2005-04-17 David S. Miller <davem@davemloft.net>
854 * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
855 * os_dep.c (GC_linux_stack_base): Check for bug present in some
856 Sparc glibc variants where __libc_stack_end is erroneously set
857 to "1". Fallback to procfs code in that case.
859 2005-04-12 Mike Stump <mrs@apple.com>
861 * configure: Regenerate.
863 2005-04-12 Richard Henderson <rth@redhat.com>
865 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
867 2005-03-23 Mike Stump <mrs@apple.com>
869 * darwin_stop_world.c: Update for -m64 multilib.
870 * include/private/gcconfig.h: Likewise.
871 * powerpc_darwin_mach_dep.s: Likewise.
873 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
875 * Makefile.in, include/Makefile.in: Regenerate.
877 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
879 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
880 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
882 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
885 * configure.host: Set gc_use_mmap on *-linux*.
886 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
887 * include/private/gc_priv.h: Include gc_config.h.
888 * configure, include/gc_config.h.in: Rebuilt.
890 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
892 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
893 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
895 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
897 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
898 and indent appropriately.
899 * mark_rts.c (GC_approx_sp): Access stack.
900 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
901 callee-saves registers when appropriate.
902 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
904 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
906 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
907 and include/gc_ext_config.h.
908 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
909 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
911 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
913 * configure: Regenerate.
915 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
918 Revert patches of 2004-11-26 and 2004-11-27.
920 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
922 * configure: Regenerate for libtool change.
924 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
926 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
928 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
930 Fix "PACKAGE_NAME redefined" errors.
931 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
932 and include/gc_config.h.
933 * configure: Regenerated.
934 * include/gc_config.h.in: No longer auto-generated. Define only the
935 macros needed by libjava.
936 * include/config.h.in: Generated by autoheader.
937 * include/gc.h: Include config.h, not gc_config.h.
939 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
941 * configure: Regenerate for libtool reversion.
943 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
945 * configure: Regenerate for libtool change.
947 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
949 * configure.ac (machdep): Use sparc_mach_dep.lo on
950 sparc64-sun-solaris2.* too.
951 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
952 * configure: Regenerate.
954 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
957 * configure.ac (threading): Accept 'posix95'.
958 * configure: Regenerate.
960 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
962 * Makefile.am: Define ACLOCAL_AMFLAGS.
963 * configure.ac: Remove redundant sinclude.
964 * acinclude.m4: Delete file.
965 * aclocal.m4: Regenerate.
966 * Makefile.in, include/Makefile.in: Regenerate.
967 * configure: Regenerate.
969 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
971 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
974 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
976 * include/private/gcconfig.h: Add m32r-linux target.
978 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
980 * configure.ac: Update all AC_DEFINEs to newer style.
981 * configure: Regenerate.
982 * include/gc_config.h.in: Regenerate.
984 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
986 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
987 GC_print_back_graph_stats): split GC_traverse_back_graph.
988 * backgraph.c: Dynamically grow in_progress_space.
989 * finalize.c (GC_notify_or_invoke_finalizers): also call
990 GC_print_back_graph_stats.
991 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
992 GC_print_back_height): Move delarations to header file.
993 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
994 * configure: Regenerate.
996 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
998 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
999 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
1001 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1003 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
1004 Reported by Danny Smith.
1006 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
1008 * misc.c (GC_init): Replace lhs cast with rhs cast.
1010 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
1012 * specific.c: Check GC_LINUX_THREADS before including
1013 private/specific.h. From Richard Earnshaw.
1015 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
1017 * aclocal.m4: Remove obsolete construct for old automake.
1018 * acinclude.m4: Regenerate with aclocal 1.9.1.
1019 * configure.ac: Remove duplicate AC_WITH calls. Replace
1020 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
1021 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
1022 Remove now-redundant subst of target_noncanonical. Remove
1023 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
1024 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
1025 Use slightly more modern form of AC_INIT.
1026 * configure: Rebuild with autoconf 2.59.
1027 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
1029 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
1031 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
1032 since they're not known at this time.
1033 * solaris_pthreads.c: Likewise.
1035 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
1038 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
1040 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1042 * configure.ac (gc_cflags): Add -Iinclude.
1043 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
1044 Don't write DEFS to boehm-cflags file.
1045 * configure: Rebuilt.
1046 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
1047 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
1048 * include/gc_config_macros.h: Remove backward-compatibility
1049 redefinitions of GC_ names.
1050 * include/gc.h: Include <gc_config.h>.
1052 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1054 Import Boehm GC version 6.3.
1056 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
1058 * include/Makefile.in: Regenerate
1060 2004-07-06 Andrew Pinski <apinski@apple.com>
1062 * os-dep.c (GC_task_self): Declare as static
1063 and remove the second declaration.
1065 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
1067 * Makefile.am: Add rule for .S files to fix bootstrap on
1069 * Makefile.in: Regenerate.
1071 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
1073 * boehm-gc/configure.ac: New name of configure.in.
1074 Remove useless multilib stuff. Change uses of
1075 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
1076 * boehm-gc/configure.in: New name of configure.in.
1077 * boehm-gc/Makefile.am: Update for automake 1.8.5.
1078 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
1079 * boehm-gc/aclocal.m4: Regenerate.
1080 * boehm-gc/configure: Regenerate.
1081 * boehm-gc/Makefile.in: Regenerate.
1083 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
1085 * .cvsignore: New file.
1087 2004-04-25 Andreas Jaeger <aj@suse.de>
1089 * mark.c (GC_mark_from): Use pointer as prefetch argument.
1091 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
1093 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
1095 (PREFETCH_FOR_WRITE): Likewise.
1097 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
1099 * configure.ac: Bump AC_PREREQ to 2.59.
1100 * configure: Regenerate.
1101 * config.in: Regenerate.
1103 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
1105 * ltconfig, ltmain.sh: Remove unused files.
1106 * configure.in: Remove bogus extra early invocation of
1108 * configure: Regenerate.
1109 * mkinstalldirs, install-sh, config.sub, config.guess:
1110 Remove (now) unused files.
1111 * Makefile.in: Regenerate (losing references to vanished
1114 * configure.in: Add CCAS, CCASFLAGS for future automakes.
1115 * configure, Makefile.in, include/Makefile.in: Regenerate.
1117 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
1118 * Makefile.in: Regenerate.
1120 * configure.in: Remove bogus duplicate invocation of
1121 AM_MAINTAINER_MODE. Remove obsolete comment.
1122 * configure: Regenerate.
1124 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
1126 * aclocal.m4: Regenerate.
1127 * configure.in: Receive contents of GC_CONFIGURE macro.
1128 * configure: Regenerate.
1130 * configure.in: Remove more obsolete, bogus code.
1131 * configure: Regenerate.
1133 * acinclude.m4: Remove obsolete and bogus constructs.
1134 * aclocal.m4: Regenerate.
1135 * configure: Regnerate.
1137 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1139 * acinclude.m4: De-precious CC and CXX so that the right flags
1140 are passed down to multilibs.
1141 * aclocal.m4: Regenerate.
1142 * configure: Regenerate.
1144 2004-02-22 Zack Weinberg <zack@codesourcery.com>
1145 Nathanael Nerode <neroden@twcny.rr.com>
1146 Alexandre Oliva <aoliva@redhat.com>
1148 * config.sub, config.guess: Replace with forwarding scripts
1149 which invoke the master copies in the top level.
1151 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1153 * acinclude.m4: Remove old no-executables workaround;
1154 add new no-executables workaround.
1155 * aclocal.m4: Regenerate.
1156 * configure.in: Change prereqs to autoconf 2.57.
1157 * configure: Regenerate with autoconf 2.57.
1159 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
1160 * configure: Regenerate.
1161 * Makefile.am: Use target_noncanonical variable from configure.
1162 * Makefile.in: Regenerate.
1163 * include/Makefile.in: Regenerate.
1165 2004-02-20 Andrew Cagney <cagney@redhat.com>
1167 * config.guess: Update from version 2002-01-10 to 2004-02-16.
1168 * config.sub: Update from version 2002-01-02 to 2004-02-16.
1170 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
1172 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
1173 * aclocal.m4: Rebuild.
1174 * configure: Regenerate.
1176 * acinclude.m4: Move certain code to configure.in.
1177 * configure.in: Receive code from acinclude.m4.
1178 * aclocal.m4: Rebuild.
1179 * configure: Regenerate.
1181 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
1183 2004-01-20 Andrew Haley <aph@redhat.com>
1185 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
1187 * configure.in: Comment change.
1189 2004-01-16 Andrew Haley <aph@redhat.com>
1191 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
1192 add for ia64; remove for MIPS.
1193 * configure: Regnerated.
1195 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
1197 * configure.in: Add in AC_PREREQ(2.13)
1199 2004-01-07 Dave Jones <davej@redhat.com>
1201 * malloc.c (GC_generic_malloc): Correct initialization typo.
1202 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
1204 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
1206 * include/private/gcconfig.h: Re-install change of 2003-04-16.
1208 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1210 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
1213 2003-10-18 Alan Modra <amodra@bigpond.net.au>
1215 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
1218 2003-10-03 Jeff Sturm <jsturm@one-point.com>
1220 * configure: Rebuild.
1222 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
1224 * configure.in: Remove NO_GETENV definition for win32.
1225 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
1226 * misc.c (GC_init_inner): Call GC_thr_init for win32.
1227 (GC_set_warn_proc): Add assertion.
1228 * win32_threads.c: Import 6.3alpha2 version.
1229 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
1231 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1233 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
1234 2.3/SPARC, there are no micro versions.
1235 Treat Solaris 10 and up alike.
1236 * configure: Regenerate.
1238 2003-09-22 Anthony Green <green@redhat.com>
1240 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
1243 2003-09-20 <green@redhat.com>
1245 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1246 check for __arm__ or __thumb__.
1248 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1250 * configure: Regenerate.
1252 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1253 Roger Sayle <roger@eyesopen.com>
1255 * configure.in: Set INCLUDES to absolute path.
1256 Save $INCLUDES in boehm-cflags, too.
1257 Set INCLUDES so it's available to config.status.
1258 * configure: Regenerate.
1260 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
1262 * include/gc.h (GC_CreateThread): Declare with WINAPI
1264 * win32_threads.c (GC_CreateThread): Make definitions consistent
1265 with declaration. Cast &thread_table[i].handle to PHANDLE
1266 in call to DuplicateHandle
1267 (thread_start): Declare as static.
1269 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
1271 * dyn_load.c: Define __private_extern__ to match Apple's system
1274 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
1276 * os_dep.c: Remove redundancy introduced in last merge.
1278 2003-07-28 Jeff Sturm <jsturm@one-point.com>
1280 Import GC 6.3alpha1.
1281 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
1282 * ChangeLog: Likewise.
1283 * Makefile.am: Likewise.
1284 * Makefile.direct: Likewise.
1285 * Makefile.dj: Likewise.
1286 * allchblk.c: Likewise.
1287 * alloc.c: Likewise.
1288 * backgraph.c: Likewise.
1289 * configure.host: Likewise.
1290 * configure.in: Likewise.
1291 * dbg_mlc.c: Likewise.
1292 * dyn_load.c: Likewise.
1293 * finalize.c: Likewise.
1294 * gc_cpp.cc: Likewise.
1295 * gc_dlopen.c: Likewise.
1296 * gcj_mlc.c: Likewise.
1297 * if_mach.c: Likewise.
1298 * mach_dep.c: Likewise.
1299 * malloc.c: Likewise.
1300 * mallocx.c: Likewise.
1302 * mark_rts.c: Likewise.
1304 * os_dep.c: Likewise.
1305 * ptr_chck.c: Likewise.
1306 * reclaim.c: Likewise.
1307 * solaris_pthreads.c: Likewise.
1308 * solaris_threads.c: Likewise.
1309 * sparc_mach_dep.S: Likewise.
1310 * threadlibs.c: Likewise.
1311 * typd_mlc.c: Likewise.
1312 * version.h: Likewise.
1313 * win32_threads.c: Likewise.
1314 * Mac_files/MacOS_Test_config.h: Likewise.
1315 * Mac_files/MacOS_config.h: Likewise.
1316 * cord/cordbscs.c: Likewise.
1317 * cord/cordprnt.c: Likewise.
1318 * cord/de_win.c: Likewise.
1319 * doc/README: Likewise.
1320 * doc/README.MacOSX: Likewise.
1321 * doc/README.changes: Likewise.
1322 * doc/README.environment: Likewise.
1323 * doc/README.ews4800: Likewise.
1324 * doc/README.linux: Likewise.
1325 * doc/README.macros: Likewise.
1326 * doc/README.win32: Likewise.
1327 * doc/debugging.html: Likewise.
1328 * doc/gcdescr.html: Likewise.
1329 * doc/tree.html: Likewise.
1330 * include/Makefile.in: Likewise.
1331 * include/gc.h: Likewise.
1332 * include/gc_cpp.h: Likewise.
1333 * include/gc_local_alloc.h: Likewise.
1334 * include/gc_mark.h: Likewise.
1335 * include/gc_pthread_redirects.h: Likewise.
1336 * include/gc_typed.h: Likewise.
1337 * include/new_gc_alloc.h: Likewise.
1338 * include/private/dbg_mlc.h: Likewise.
1339 * include/private/gc_hdrs.h: Likewise.
1340 * include/private/gc_locks.h: Likewise.
1341 * include/private/gc_pmark.h: Likewise.
1342 * include/private/gc_priv.h: Likewise.
1343 * include/private/gcconfig.h: Likewise.
1344 * include/private/solaris_threads.h: Likewise.
1345 * include/private/specific.h: Likewise.
1346 * tests/test.c: Likewise.
1347 * tests/test_cpp.cc: Likewise.
1349 * configure: Rebuild.
1350 * Makefile.in: Rebuild.
1352 * mips_sgi_mach_dep.s: Add.
1354 * alpha_mach_dep.s: Remove.
1355 * irix_threads.c: Remove.
1356 * linux_threads.c: Remove.
1357 * mips_sgi_mach_dep.S: Remove.
1359 * powerpc_macosx_mach_dep.s: Remove.
1360 * doc/Makefile.am: Remove.
1361 * doc/Makefile.in: Remove.
1363 2003-07-25 Roger Sayle <roger@eyesopen.com>
1365 * configure.host: Only use +ESdbgasm when using the HPUX native
1366 compiler on PA-Risc. It isn't recognized by GCC and is silently
1367 ignored by HP's compilers on ia64.
1369 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
1371 * configure.in: define GC_DLL under mingw if --enable-shared
1372 * configure: rebuilt
1373 * win32_threads.c: add #ifdef GC_DLL around DllMain
1375 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
1377 * include/private/gcconfig.h: Add support for arm-netbsdelf.
1379 2003-04-09 Tom Tromey <tromey@redhat.com>
1381 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1383 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1385 2003-03-22 Richard Henderson <rth@redhat.com>
1387 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1388 (GC_test_and_set): Use __sync_lock_test_and_set.
1389 (GC_clear): Use volatile assignment.
1390 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1391 (GC_memory_write_barrier): Use __sync_synchronize.
1393 2003-03-12 Andreas Schwab <schwab@suse.de>
1395 * configure.in: Avoid trailing /. in toolexeclibdir.
1396 * configure: Rebuilt.
1398 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
1399 * include/private/gcconfig.h (GC_data_start): declare when needed.
1400 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1402 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1403 GC_register_dynlib_callback): Register main data for static
1404 executable if dl_iterate_phdr() didn't.
1405 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1406 if we don't expect to register main static data.
1408 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
1409 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1410 (GC_push_roots): explicitly mark free list headers, register
1411 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1412 * alloc.c (GC_stopped_mark): Conditionally call
1413 GC_cond_register_dynamic_libraries().
1414 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1415 * dyn_load.c (GC_register_main_static_data): define.
1416 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1417 no longer skip main data.
1418 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1419 (GC_init_inner): Make main data registration conditional.
1420 * include/private/gc_priv.h (GC_register_main_static_data): declare.
1421 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1424 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1426 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1428 * configure: Rebuilt.
1430 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
1432 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1434 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1436 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1437 Remove USE_LIBDIR conditional.
1438 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1439 * Makefile.in, configure: Rebuilt.
1441 2002-12-31 Tom Tromey <tromey@redhat.com>
1444 * include/Makefile.in: Rebuilt.
1445 * include/Makefile.am (noinst_HEADERS): Renamed from
1448 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1450 * ltconfig (osf[345]): Append $major to soname_spec.
1451 Reflect this in library_names_spec.
1452 * ltmain.sh (osf): Prefix $major with . for use as extension.
1454 2002-10-02 Andreas Jaeger <aj@suse.de>
1456 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1458 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
1460 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1461 check for __arm__ or __thumb__.
1463 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
1465 * include/private/gcconfig: Add machine type S390. Add s390x support.
1466 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1467 (GC_compare_and_exchange): Likewise.
1469 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
1471 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1473 2002-08-23 Adam Megacz <adam@xwt.org>
1475 * win32_threads.cc: Removed extraneous ABORT()
1477 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1479 * Makefile.am (all-multi): Fix multilib parallel build.
1481 2002-07-18 Bo Thorsen <bo@suse.de>
1483 * include/private/gcconfig.h: Add x86-64 definitions.
1484 * os_dep.c: Add x86-64 support.
1485 * configure.in: Likewise.
1486 * configure: Regenerate.
1488 2002-07-18 H.J. Lu <hjl@gnu.org>
1490 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1492 2002-07-18 H.J. Lu (hjl@gnu.org)
1494 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1497 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
1500 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1502 2002-06-09 H.J. Lu (hjl@gnu.org)
1504 * include/private/gc_locks.h (GC_test_and_set): Support
1506 (GC_TEST_AND_SET_DEFINED): Likewise.
1508 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1510 (DATAEND): Likewise.
1511 (LINUX_STACKBOTTOM): Likewise.
1512 (STACKBOTTOM): Removed for Linux/mips.
1514 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
1516 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1517 (GC_pthread_create): Fix typo.
1518 (GC_TRY_LOCK): Likewise.
1519 * include/private/gc_locks.h (GC_test_and_set): Only take one
1521 (LOCK): Adjust appropriately.
1522 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1523 _SIGRTMIN is unavailable.
1525 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1527 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1528 * aclocal.m4: Regenerate.
1529 * configure: Regenerate.
1531 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1533 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1534 script entry, and set LD to it when configuring multilibs.
1535 * configure: Rebuilt.
1537 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1539 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1540 (noinst_LTLIBRARIES): Add libgcjgc.la.
1542 * Makefile.in: Rebuild.
1544 2002-04-22 David S. Miller <davem@redhat.com>
1546 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1547 64-bit SPARC Linux, the __libc_stack_end technique does
1548 not work in this case.
1550 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1552 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1554 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
1556 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1559 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
1561 * include/private/gcconfig.h (DATAEND): Update comment example
1564 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
1566 * include/private/gcconfig.h (DATAEND): Clarify comment.
1568 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1570 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1571 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1573 * allchblk.c (GC_allchblk_nth): Change text and support reduced
1574 frequency for blacklist warning message.
1575 * misc.c (GC_large_alloc_warn_interval,
1576 GC_large_alloc_warn_suppressed): define.
1577 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1578 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1579 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1580 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1582 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1584 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
1586 * include/private/gcconfig.h: Add support for an unmapped
1587 memory hole between the end of the initialized data segment
1588 and the start of the BSS on FreeBSD/i386.
1590 2002-03-30 Krister Walfridsson <cato@df.lth.se>
1592 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1595 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
1597 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1598 (GC_local_gcj_malloc): Add assertion.
1599 (start_mark_threads): Fix abort message.
1600 * mark.c (GC_mark_from): Generalize assertion.
1601 * reclaim.c (GC_clear_fl_links): New function.
1602 (GC_start_reclaim): Must clear some freelist links.
1603 * include/private/specific.h, specific.c: Add assertions.
1604 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
1605 Rearrange tse fields.
1607 2002-03-27 Richard Henderson <rth@redhat.com>
1609 * os_dep.c (GC_init_linux_data_start): Fix references to
1610 __data_start and _end.
1612 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
1614 * include/private/gcconfig.h: Change all likely references
1615 to linker script synthesized symbols to use this idiom:
1616 extern int etext[]; etext
1618 2002-03-25 Jeff Sturm <jsturm@one-point.com>
1620 * linux_threads.c (GC_get_nprocs): Close file descriptor.
1622 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
1624 * include/private/gcconfig.h: Add unified test for FreeBSD.
1625 Support FreeBSD/alpha.
1626 * os_dep.c: Do not include <machine/trap.h> unless available.
1627 (GC_freebsd_stack_base): Fix types.
1629 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1631 * Makefile.am: Make a convenience library.
1632 * Makefile.in: Rebuilt.
1634 2002-03-15 Anthony Green <green@redhat.com>
1636 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1637 * configure.in: Disable use of getenv for win32 targets (some of
1638 which have broken implementations).
1639 * configure: Rebuilt.
1641 2002-03-12 Adam Megacz <adam@xwt.org>
1643 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1644 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1645 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1646 statically initialized it to TRUE if compiling with GCC.
1647 * win32_threads.c (thread_start): We no longer use SEH if
1649 * mark.c (GC_mark_some): We no longer use SEH if
1652 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1654 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1655 support is enabled, for hash synchronization.
1657 2002-02-24 Adam Megacz <adam@xwt.org>
1659 * Makefile.am: Added win32_threads.c to sources list.
1660 * win32_threads.c: Added two */'s which I had neglected.
1662 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1664 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1665 * Makefile.in: Rebuilt.
1667 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1669 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1671 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1673 * mips_sgi_mach_dep.S: Likewise.
1674 * Makefile.am: Update for above changes.
1675 * Makefile.in: Rebuilt.
1677 2002-02-12 Richard Henderson <rth@redhat.com>
1679 * configure.in: Re-apply 2001-06-26 configure change.
1680 * configure: Rebuild.
1682 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1684 Imported GC 6.1 Alpha 3.
1686 * sparc_mach_dep.S: Delete incorrectly named file.
1688 2001-02-11 Adam Megacz <adam@xwt.org
1690 * configure.in: support for win32, saner
1691 cross-compile options
1693 2001-02-08 Anthony Green <green@redhat.com>
1695 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1696 board embedded targets.
1697 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1698 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
1699 redundant uses of ECOS.
1700 * misc.c: Use NOSYS where ECOS is being used.
1701 Don't define GC_write twice for ECOS systems.
1702 (GC_write): New function for NOSYS targets.
1704 2002-02-06 Adam Megacz <adam@xwt.org>
1706 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1707 now exposed on all Win32 platforms.
1708 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1709 compiles on Win32; it invokes CreateThread() if GC is built
1710 as a DLL; otherwise it registers the thread.
1711 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1712 libgcjgc was not built as a DLL.
1714 2002-02-01 Adam Megacz <adam@xwt.org>
1716 * boehm-gc on win32 now automatically detects if it is being built
1717 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1719 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1721 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1722 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1723 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
1724 DATASTART and DATAEND roots.
1725 * rs6000_mach_dep.s: Add function descriptor and traceback table.
1727 2001-12-16 Jeff Sturm <jsturm@one-point.com>
1729 * dyn_load.c: Define ElfW (if needed) for all targets,
1731 (GC_FirstDLOpenedLinkMap): Use it.
1732 (GC_register_dynamic_libraries_dl): Use it.
1733 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1736 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1739 * configure.in: Add AC_SUBST(target_alias).
1740 * configure: Regenerated.
1742 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1744 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1745 case for GC_FREEBSD_THREADS.
1746 * configure.in (*-*-freebsd*): Clarify warning.
1747 * configure: Rebuilt.
1749 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
1750 Andreas Tobler <toa@pop.agri.ch>
1752 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1754 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1756 * linux_threads.c (GC_init_parallel): Do not declare as a static
1758 * include/gc.h (GC_init): Declare here. Add description.
1759 * include/private/gc_priv.h (GC_init): Remove declaration.
1761 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1763 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1764 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1765 GC_FREEBSD_THREADS, handle strange interaction between system
1766 pthread implementation and boehm-gc signal-handler architecture.
1767 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1769 * include/private/gcconfig.h (configuration keyed off FREEBSD):
1770 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
1771 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1773 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1775 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1776 * Makefile.in: Rebuilt.
1778 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1780 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1781 merged local changes.
1783 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1785 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1786 Solaris 2/Intel definition.
1788 * configure.in (i?86-*-solaris2.[89]*): Define
1789 SOLARIS25_PROC_VDB_BUG_FIXED.
1790 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1791 * configure: Regenerate.
1793 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1794 (DATAEND): Define using _end.
1796 2001-09-11 Per Bothner <per@bothner.com>
1798 * include/Makefile.am: New file. It defines include_HEADERS.
1799 * Makefile.am (SUBDIRS): New macro, set to include.
1800 * configure.in (AC_OUTPUT): Add include/Makefile.
1802 2001-08-20 Tom Tromey <tromey@redhat.com>
1804 * configure: Rebuilt.
1805 * configure.in: Always ask gcc for threads package.
1807 2001-08-17 Tom Tromey <tromey@redhat.com>
1809 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1810 merged local changes.
1812 2001-08-02 David Billinghurst <David.Billinghurst>
1814 * configure: Rebuilt.
1815 * configure.in: POSIX threads on cygwin does not link with
1818 2001-07-03 Tom Tromey <tromey@redhat.com>
1820 Fix for PR bootstrap/3281:
1821 * aclocal.m4, configure, Makefile.in: Rebuilt.
1822 * acinclude.m4: Set mkinstalldirs for in-tree build.
1824 2001-06-26 Richard Henderson <rth@redhat.com>
1826 * alpha_mach_dep.s: Mark call-saved FP registers.
1827 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1828 * configure.in (alpha*): Re-enable alpha_mach_dep.s
1829 * configure: Rebuild.
1831 2001-06-12 Tom Tromey <tromey@redhat.com>
1833 * aclocal.m4, configure: Rebuilt.
1834 * acinclude.m4: Find configure.host in srcdir.
1836 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1838 * configure.in (AC_EXEEXT): Work around in case it expands to
1839 nothing, as in autoconf 2.50.
1840 * acinclude.m4: Likewise.
1841 * aclocal.m4, configure: Rebuilt.
1843 2001-06-07 Tom Tromey <tromey@redhat.com>
1845 For PR bootstrap/3075:
1846 * configure, aclocal.m4, Makefile.in: Rebuilt.
1847 * configure.in: Don't call AC_CONFIG_AUX_DIR or
1848 AC_CANONICAL_SYSTEM.
1849 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1850 AC_CANONICAL_SYSTEM here.
1851 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1854 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1856 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1857 (libgcjgc_la_SOURCES): Remove typo.
1858 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1859 * Makefile.in: Rebuilt.
1861 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1863 Imported version version 6.0alpha7.
1865 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1866 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1867 README.rs6000, README.sgi, README.solaris2, README.uts,
1868 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1869 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1870 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1871 hpux_irix_threads.c, makefile.depend, nursery.c,
1872 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1873 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1874 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1875 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1878 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1880 * configure.host: Build with -fexceptions.
1881 * linux_threads.c: Remember which thread stopped world for
1883 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1884 with final tuning by Bryce McKinlay
1886 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1887 * configure: Rebuilt.
1889 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1891 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1892 (GC_noop1): Change declaration to take one argument.
1894 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1896 * configure.in: Obtain THREADS with `gcc -v'.
1897 * configure: Rebuilt.
1899 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1901 * misc.c: Back out buggy changes to stack clearing code.
1902 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1903 spent clearing memory.
1905 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1908 - Accomodate finalization requests for static objects.
1909 (Will be required by hash synchronization. May be needed
1910 in some configurations now.)
1913 - Define MIN_WORDS. All allocation requests are rounded
1914 up to at least this size. Removes a subtle assumption that
1915 Java objects have a 2 word header.
1918 - Adjust Linux/IA64 configuration for non-ancient kernels.
1919 (Necessary fix for IA64.)
1922 - Fix syntax error in currently unused code. Will be needed
1930 - Change stack cleaning code to typically clear about one tenth
1931 the memory it used to in the threads configuration. Occasionally
1932 still clear more. (This is really a fix for a long-standing
1933 and fairly significant performance bug with threads.)
1936 - Fix the code for finding the beginning of the data segment under
1937 Linux. I believe this is necessary for some IA64 Linux
1938 distributions. It will also helo other platforms, though those
1939 may additionally require a gcconfig.h adjustment. (This basically
1940 works around the absence of a data_start or __data_start
1941 definition in glibc.)
1944 - Handle rounding due to MIN_WORDS.
1946 2001-03-22 Tom Tromey <tromey@redhat.com>
1948 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1950 2001-03-19 Tom Tromey <tromey@redhat.com>
1952 * Makefile.in: Rebuilt.
1953 * Makefile.am (gctest_LDFLAGS): new macro.
1955 2001-03-16 Tom Tromey <tromey@redhat.com>
1957 * Makefile.in: Rebuilt.
1958 * Makefile.am (TESTS_ENVIRONMENT): New macro.
1960 2001-01-23 Rod Stewart <stewart@lab43.org>
1962 * gcconfig.h: Check for `__arm__', not `arm'.
1964 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
1966 * configure.in: Rename THREADLIB to THREADLIBS.
1967 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1968 ensures that we link the correct version of the linuxthreads semaphore
1970 * Makefile.in: Rebuilt.
1971 * configure: Rebuilt.
1973 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1974 list of signals which are not blocked during suspend in the NO_SIGNALS
1977 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
1979 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1981 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
1983 * Makefile.dist: Renamed from Makefile.orig.
1985 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1987 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1988 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1990 * Makefile.in: Rebuilt.
1991 * configure: Likewise.
1993 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
1995 * gcconfig.h: Add new case for powerpc EABI.
1996 [PPC]: Handle embedded OS for powerpc simulator.
1998 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
2000 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
2001 cross-compile configuration only.
2002 * Makefile.am: Build gcj_mlc.c.
2003 * configure, Makefile.in: Rebuilt.
2005 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
2007 * acinclude.m4: Include libtool macros from the top level.
2008 * aclocal.m4, configure: Rebuilt.
2010 2000-09-04 Anthony Green <green@redhat.com>
2012 Fix for PR libgcj/230:
2013 * mark.c (GC_mark_from_mark_stack): Remove call to
2014 GC_debug_object_start.
2015 * gc_priv.h (GC_debug_object_start): Remove prototype.
2017 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2019 * gcconfig.h [OSF1] (_end): Declare as `int'.
2021 2000-08-02 Tom Tromey <tromey@cygnus.com>
2023 * gc_priv.h (GC_generic_malloc_inner): Prototype.
2024 (GC_generic_malloc): Likewise.
2025 (GC_add_to_black_list_normal): Likewise.
2026 (GC_find_header): Likewise.
2027 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
2028 * gc_mark.h (GC_find_start): Prototype.
2029 (GC_signal_mark_stack_overflow): Likewise.
2031 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
2033 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
2034 * configure: Rebuilt.
2036 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
2038 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
2040 Imported version 5.1.
2041 * acinclude.m4: Push version to 5.1.
2043 2000-06-19 Andrew Haley <aph@cygnus.com>
2045 * os_dep.c (read): Pass two dummy args to syscall().
2047 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
2049 Imported 5.0 release version.
2050 * acinclude.m4: Increment version to 5.0.
2052 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
2054 Imported version 5.0alpha7.
2055 * acinclude.m4: Update version to 5.0a7.
2057 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2059 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
2060 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
2061 - sparc glibc does not provide it.
2062 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
2063 Make STACKBOTTOM depend on the wordsize.
2064 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
2065 (struct frame): Declare on sparc*-linux*.
2066 (GC_save_callers): Bias the frame pointers if needed (sparc64).
2067 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
2068 Implement on sparc64.
2069 (GC_clear_stack_inner): Implement on sparc64.
2070 * gc_priv.h (GC_test_and_set): Implement for sparc.
2071 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
2072 GC_save_regs_in_stack on sparc.
2074 2000-04-23 Tom Tromey <tromey@cygnus.com>
2076 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
2078 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
2080 Imported version version 5.0alpha6.
2081 * acinclude.m4: Bump version to 5.0a6.
2082 * configure.in: Don't use alpha_mach_dep.s.
2083 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
2085 * Makefile.am, Makefile.in: irix_threads.c is now
2086 hpux_irix_threads.c.
2087 * Makefile.orig: Updated from gc distribution Makefile.
2089 2000-03-26 Anthony Green <green@redhat.com>
2091 * misc.c (GC_enable): Always define GC_enable and GC_disable.
2093 2000-02-14 Tom Tromey <tromey@cygnus.com>
2095 * gc.h (dlopen): Define as GC_dlopen on Linux.
2096 (GC_dlopen): Declare on Linux.
2097 * dyn_load.c (GC_dlopen): Define for Linux.
2099 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
2101 * gcconfig.h (DATASTART): Add missing extern declaration
2102 for data_start on powerpc.
2104 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
2106 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
2109 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
2111 * gcconfig.h: Define DATASTART for Alpha Linux.
2113 1999-12-19 Anthony Green <green@cygnus.com>
2115 * gcconfig.h: Use libgcj hack for Alpha Linux.
2116 Undefine MPROTEXT_VDB (from Jeff Sturm).
2117 * os_dep.c: Remove Alpha Linux hacks.
2120 1999-12-13 Tom Tromey <tromey@cygnus.com>
2122 * aclocal.m4, configure: Rebuilt.
2123 * acinclude.m4: Changed version to 5.0a4.
2124 * Makefile.in: Rebuilt.
2125 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
2127 1999-12-12 Anthony Green <green@cygnus.com>
2129 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
2131 (DYNAMIC_LOADING): Define for PowerPC Linux.
2132 * os_dep.c: Remove some special cases for PowerPC Linux.
2133 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
2136 1999-11-04 Tom Tromey <tromey@cygnus.com>
2138 * Makefile.in: Rebuilt.
2139 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
2141 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
2142 (GC_thr_init): Don't declare.
2144 * configure: Rebuilt.
2145 * configure.in: Removed qt threads case.
2146 * dyn_load.c: Don't mention QUICK_THREADS.
2147 * os_dep.c: Don't mention QUICK_THREADS.
2148 * misc.c: Don't mention QUICK_THREADS.
2149 * gcconfig.h: Don't mention QUICK_THREADS.
2150 * gc_priv.h: Removed QUICK_THREADS code.
2151 * quick_threads.c: Removed.
2153 1999-11-03 Tom Tromey <tromey@cygnus.com>
2155 * gcconfig.h: Merged in local changes from old config.h.
2157 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
2159 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
2161 1999-11-02 Tom Tromey <tromey@cygnus.com>
2163 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
2165 * configure: Rebuilt.
2166 * configure.in: Don't create boehm-config.h.
2167 * Makefile.in: Rebuilt.
2168 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
2170 ($(all_objs)): Depend on gcconfig.h.
2171 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
2172 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
2173 * config.h: Removed.
2175 1999-11-01 Tom Tromey <tromey@cygnus.com>
2177 * Makefile.in: Rebuilt.
2178 * Makefile.am (gctest_LDADD): Added THREADLIB.
2180 * configure: Rebuilt.
2181 * configure.in (INCLUDES): New subst.
2183 1999-09-29 Steve Chamberlain <sac@pobox.com>
2185 * config.h: Added picoJava target.
2186 * mach_dep.h (GC_push_regs): New code for picoJava.
2188 1999-09-28 Tom Tromey <tromey@cygnus.com>
2190 * aclocal.m4, configure: Rebuilt.
2191 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
2192 appropriate AC_PROG_ symbol.
2194 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2196 * gc_priv.h: IRIX thread changes from
2197 include/private/gc_priv.h.
2199 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2201 * Makefile.in: Rebuilt.
2202 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
2205 * configure: Rebuilt.
2206 * configure.in: Properly align --help output, fix capitalization
2208 * acinclude.m4: Likewise.
2210 1999-08-04 Tom Tromey <tromey@cygnus.com>
2212 * configure.in: Added missing `;;'. From Anthony Green.
2214 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2216 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
2218 1999-08-03 Tom Tromey <tromey@cygnus.com>
2220 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
2221 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2223 1999-08-02 Tom Tromey <tromey@cygnus.com>
2225 * aclocal.m4, configure: Rebuilt for new libtool.
2227 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
2229 * mips_sgi_mach_dep.s: Enable PIC option.
2231 1999-07-19 Tom Tromey <tromey@cygnus.com>
2233 * config.h (MPROTECT_VDB): Don't define on Linux.
2235 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2237 * Makefile.am (.s.lo): Avoid `#line' directives.
2238 * Makefile.in: Rebuilt.
2240 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2242 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
2243 generate *-recursive for this Makefile, use *-am instead.
2244 * Makefile.in: Rebuilt.
2246 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
2248 * Makefile.am (.s.lo): Renamed from `.s.o'.
2249 * Makefile.in: Rebuilt.
2251 1999-06-21 Tom Tromey <tromey@cygnus.com>
2253 Alpha patch from Jeff Sturm:
2254 * os_dep.c (GC_init_linuxalpha): New function.
2255 * misc.c: Initialize for alpha linux.
2256 * gc_priv.h (GC_test_and_set): Define for alpha.
2257 * config.h: Don't assume __data_start on alpha.
2259 * Makefile.in: Rebuilt.
2260 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
2263 * Makefile.in: Rebuilt.
2264 * Makefile.am (toolexeclibdir): Define as libdir when
2266 * configure: Rebuilt.
2267 * configure.in (USE_LIBDIR): New conditional.
2269 * configure: Rebuilt.
2270 * configure.in: Recognize all forms of alpha.
2272 1999-06-17 Anthony Green <green@cygnus.com>
2274 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
2275 Carlo Dapor <carlo@vis.ethz.ch>).
2277 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
2279 * configure.in: Switch from irix threads to posix threads
2280 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
2281 for mips architecture.
2282 * configure: Regenerate.
2284 1999-04-30 Tom Tromey <tromey@cygnus.com>
2286 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
2288 1999-04-26 Tom Tromey <tromey@cygnus.com>
2290 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2293 1999-04-23 Tom Tromey <tromey@cygnus.com>
2295 * Makefile.in, configure: Rebuilt.
2296 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2297 (libgcjgc_la_SOURCES): Renamed.
2298 (libgcjgc_la_LIBADD): Likewise.
2299 (libgcjgc_la_DEPENDENCIES): Likewise.
2300 (EXTRA_libgcjgc_la_SOURCES): Likewise.
2301 (gctest_LDADD): Use libgcjgc.la.
2302 (all_objs): Mention libgcj_la_OBJECTS.
2303 (EXTRA_LTLIBRARIES): Renamed.
2304 (toollib_LTLIBRARIES): Likewise.
2305 (libgcjgc_la_LDFLAGS): New macro
2306 (toolexecdir): Renamed.
2307 (toolexeclibdir): Likewise.
2308 (toolexeclib_LTLIBRARIES): Likewise.
2309 (LTCOMPILE): Renamed; added libtool invocation.
2310 (LINK): Added libtool invocation.
2311 (.s.o): use LTCOMPILE.
2312 * configure.in: Call AM_PROG_LIBTOOL.
2313 (target_all): Set to libgcjgc.la.
2314 Mention `.lo' forms of object files.
2316 1999-04-21 Tom Tromey <tromey@cygnus.com>
2318 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2321 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2322 sigcontext.h. From Matthias Klose <doko@itso.de>.
2324 1999-04-16 Tom Tromey <tromey@cygnus.com>
2326 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
2327 David Pettersson <dapet@mai.liu.se>
2329 1999-04-14 Tom Tromey <tromey@cygnus.com>
2331 * configure: Rebuilt.
2332 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
2333 incorrect patch of 199-04-09.
2335 * configure: Rebuilt.
2336 * configure.in: Added support for alpha.
2337 From David Pettersson <dapet@mai.liu.se>.
2339 1999-04-13 Tom Tromey <tromey@cygnus.com>
2341 * Makefile.in: Rebuilt.
2342 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2345 1999-04-09 Tom Tromey <tromey@cygnus.com>
2347 * configure: Rebuilt.
2348 * configure.in: Use sparc_mach_dep.s when building on Solaris.
2350 1999-02-23 Tom Tromey <tromey@cygnus.com>
2352 * configure: Rebuilt.
2353 * configure.in: For Linux, define _REENTRANT. For Solaris, define
2354 SOLARIS_THREADS and _SOLARIS_PTHREADS.
2356 1999-02-18 Tom Tromey <tromey@cygnus.com>
2358 * quick_threads.c (GC_push_all_stacks): Change order of arguments
2359 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
2360 for case where LO is NULL.
2362 1999-02-10 Tom Tromey <tromey@cygnus.com>
2364 * aclocal.m4, configure, Makefile.in: Rebuilt.
2365 * acinclude.m4: Updated to be used with automake 1.4.
2366 * configure.in: Renamed libgc to libgcjgc. Updated to be used
2368 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2369 (libgcjgc_a_SOURCES): Likewise.
2370 (libgcjgc_a_LIBADD): Likewise.
2371 (libgcjgc_a_DEPENDENCIES): Likewise.
2372 (EXTRA_libgcjgc_a_SOURCES): Likewise.
2373 (gctest_LDADD): Likewise.
2374 (all_objs): Likewise.
2376 1999-01-08 Tom Tromey <tromey@cygnus.com>
2378 * configure: Rebuilt.
2379 * configure.in: Define LINUX_THREADS if using POSIX threads on
2382 * gc_priv.h (GC_test_and_set): Put return type into definition.
2384 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
2386 * Makefile.am: add support for eCos. In particular, add C++
2387 support for compiling the file ecos.cc.
2388 * ecos.cc: new file.
2389 * acinclude.m4: add C++ support.
2390 * aclocal.m4: likewise
2391 * config.h: add eCos support.
2392 * configure: likewise
2393 * configure.in: likewise
2394 * misc.c (GC_write): add eCos support.
2395 * os_dep.c (tiny_sbrk): add eCos support.
2397 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
2399 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2400 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2402 1998-11-23 Tom Tromey <tromey@cygnus.com>
2404 * configure.host (boehm_gc_cflags): Don't add `-O2'.
2406 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
2408 * Makefile.am, Makefile.in, configure.host: tx39 build option
2411 1998-11-17 Tom Tromey <tromey@cygnus.com>
2413 * configure: Rebuilt.
2414 * configure.in: Switch on host, not target.
2416 1998-11-16 Tom Tromey <tromey@cygnus.com>
2418 * gc_priv.h (GC_debug_object_start): Declare.
2419 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2420 * gc.h (GC_debug_register_finalizer_no_order,
2421 GC_register_finalizer_no_order): Declare.
2422 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2423 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2424 (GC_debug_generic_malloc): Likewise.
2425 (GC_debug_object_start): new function.
2427 1998-11-11 Tom Tromey <tromey@cygnus.com>
2429 * configure: Rebuilt.
2430 * configure.in: Recognize --enable-java-gc, not --enable-gc.
2432 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2434 * dyn_load.c: Handle QUICK_THREADS case.
2436 1998-10-21 Tom Tromey <tromey@cygnus.com>
2438 * configure: Rebuilt.
2439 * configure.in: Put cpp defines here, not in config.h. Recognize
2440 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
2441 define PACKAGE or VERSION.
2442 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2445 * os_dep.c (GC_default_push_other_roots): Define when
2446 QUICK_THREADS defined.
2447 * misc.c: Added QUICK_THREADS case.
2448 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2449 * config.h (THREADS): Define if QUICK_THREADS defined.
2450 * Makefile.in: Rebuilt.
2451 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2453 * quick_threads.c: New file.
2455 1998-10-20 Tom Tromey <tromey@cygnus.com>
2457 * aclocal.m4, configure: Rebuilt.
2458 * acinclude.m4: Don't subst machine_dir or sys_dir.
2459 * configure.host: Removed unused code.
2461 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
2463 * configure: Rebuilt.
2464 * configure.in: Fix typo in previous patch.
2466 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
2468 * Makefile.in, aclocal.m4, configure: Rebuilt.
2469 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2470 * configure.host: Created.
2472 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
2474 * Makefile.in: Rebuilt.
2475 * Makefile.am (lib_LIBRARIES): Use target_all.
2476 (EXTRA_LIBRARIES): New macro.
2477 * configure: Rebuilt.
2478 * configure.in: Recognize --enable-gc.
2480 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
2482 * Makefile.in: Rebuilt.
2483 * Makefile.am (COMPILE): Define.
2485 (.s.o): Use MY_CFLAGS.
2486 * configure: Rebuilt.
2487 * configure.in (MY_CFLAGS): Define and subst.
2489 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
2491 * configure: Rebuilt.
2492 * configure.in: Added --with-cross-host argument. Use
2493 $with_cross_host to determine when cross-compiling.
2495 * config.h (SMALL_CONFIG): Don't define.
2496 * configure: Rebuilt.
2497 * configure.in: Define SMALL_CONFIG when cross-compiling.
2499 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
2501 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2502 allchblk.c: Merged with 4.13a2 while preserving local changes.
2504 * Makefile.orig: Updated from Makefile in 4.13a2.
2506 * configure: Rebuilt.
2507 * configure.in: Updated version number to 4.13a2. On Solaris,
2508 don't build with -O when using gcc.
2510 Merged in version 4.13alpha2:
2511 * config.h (USE_MMAP): Re-enable on Solaris.
2512 * solaris_pthreads.c: Removed RCS Id line.
2513 * alpha_mach_dep.s: Removed RCS Id line.
2515 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
2517 * config.h (USE_MMAP): Don't define for Solaris.
2519 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
2521 * Makefile.in: Rebuilt.
2522 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2524 * Makefile.in: Rebuilt.
2525 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2527 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
2529 * Makefile.in: Rebuilt.
2530 * Makefile.am ($(all_objs)): Depend on config.h.
2532 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2533 DATASTART as &_etext.
2534 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2535 * configure: Rebuilt.
2536 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2539 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
2541 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2542 (GC_maybe_gc): Likewise.
2543 * os_dep.c: If NO_SIGSET defined, then have empty
2544 GC_disable_signals and GC_enable_signals.
2545 * configure: Rebuilt.
2546 * configure.in: Added --with-target-subdir option. If
2547 cross-compiling, define NO_SIGSET and NO_CLOCK.
2549 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
2551 * Makefile.in: Rebuilt.
2552 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2554 * aclocal.m4, configure: Rebuilt.
2555 * acinclude.m4: New file.
2556 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
2558 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
2560 * configure: Rebuilt.
2561 * configure.in: Link boehm-config.h to config.h.
2562 * Makefile.in: Rebuilt.
2563 * Makefile.am (INCLUDES): Removed.
2564 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2565 JAVA_FINALIZATION): Define
2567 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
2569 * Many files: Use GC_bool, not bool.
2570 * gc_priv.h: Define GC_bool, not bool.
2572 * misc.c (GC_dont_gc): Define as int.
2573 (GC_quiet): Likewise.
2574 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2575 * alloc.c (GC_dont_expand): Define as int.
2576 * gc_priv.h: For gcc, define bool as char.
2578 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
2580 * Makefile.in: Rebuilt.
2581 * Makefile.am (check_PROGRAMS): New macro.
2582 (gctest_SOURCES): Likewise.
2583 (gctest_LDADD): Likewise.
2585 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
2587 * Makefile.in: Rebuilt.
2588 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2589 * configure: Rebuilt.
2590 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2592 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2594 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2596 * Makefile.orig: Renamed from Makefile.