1 2016-11-15 Matthias Klose <doko@ubuntu.com>
3 * configure: Regenerate.
5 2016-03-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7 * configure.host: Set gc_use_mmap on *-kfreebsd-gnu* and *-gnu*.
8 * include/private/gcconfig.h [HURD && USE_MMAP]: Define
11 2016-03-16 Andreas Schwab <schwab@suse.de>
13 * include/private/gcconfig.h [AARCH64] (ALIGNMENT, CPP_WORDSZ):
16 2015-10-09 David Malcolm <dmalcolm@redhat.com>
18 * testsuite/lib/boehm-gc.exp: Load multiline.exp before
19 prune.exp, using load_gcc_lib.
21 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
23 * os_dep.c [GC_SOLARIS_THREADS] (GC_dirty_init): Use
24 /proc/<pid>/pagedata instead of PIOCOPENPD.
26 2015-07-24 Michael Darling <darlingm@gmail.com>
29 * Makefile.direct: Reflects renaming of configure.in to configure.ac
30 * Makefile.dist: Likewise
32 * doc/README: Likewise
34 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
36 * Makefile.in: Regenerated with automake-1.11.6.
37 * aclocal.m4: Likewise.
38 * configure: Likewise.
39 * include/Makefile.in: Likewise.
40 * include/gc_config.h.in: Likewise.
41 * testsuite/Makefile.in: Likewise.
43 2014-12-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
45 * testsuite/lib/boehm-gc.exp: Load target-utils.exp.
47 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
50 * configure: Regenerated.
52 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
55 * configure: Regenerate.
57 2014-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
59 * include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove
60 comment and definition.
62 2014-10-06 Marek Polacek <polacek@redhat.com>
64 * testsuite/boehm-gc.c/gctest.c: Fix defaulting to int.
66 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
68 Fix current cygwin-64 build problems.
69 * include/gc_config_macros.h (GC_PTHREADS): Use __CYGWIN__ instead
71 * win32_threads.c (GC_push_all_stacks): Push all X86_64 registers.
72 (GC_get_thread_stack_base): Get the stack base for X86_64.
74 2014-04-22 Jakub Jelinek <jakub@redhat.com>
77 * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist.
78 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
79 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
80 * Makefile.in: Regenerated.
81 * include/Makefile.in: Regenerated.
82 * testsuite/Makefile.in: Regenerated.
84 2013-12-21 Andreas Tobler <andreast@gcc.gnu.org>
86 * include/private/gcconfig.h: Add FreeBSD powerpc64 defines.
88 2013-09-20 Alan Modra <amodra@gmail.com>
90 * configure: Regenerate.
92 2013-09-04 Matthias Klose <doko@ubuntu.com>
94 * Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS.
95 * Makefile.in: Regenerate.
97 2013-03-16 Yvan Roux <yvan.roux@linaro.org>
99 * include/private/gcconfig.h (AARCH64): New macro (defined only if
101 (CPP_WORDSZ): Define for AArch64.
102 (MACH_TYPE): Likewise.
103 (ALIGNMENT): Likewise.
104 (HBLKSIZE): Likewise.
106 (LINUX_STACKBOTTOM): Likewise.
107 (USE_GENERIC_PUSH_REGS): Likewise.
108 (DYNAMIC_LOADING): Likewise.
109 (DATASTART): Likewise.
111 (STACKBOTTOM): Likewise.
113 (mach_type_known): Define for AArch64 and comment update.
115 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
117 * os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New
119 [!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS &&
120 !ECOS] (GC_get_stack_base): Use it.
121 * include/private/gcconfig.h [SPARC && SUNOS5]
122 (SOLARIS_STACKBOTTOM): Define.
123 (STACKBOTTOM, HEURISTIC2): Remove.
125 (SOLARIS_STACKBOTTOM): Define.
126 (STACKBOTTOM): Remove.
128 2012-11-04 Samuel Thibault <samuel.thibault@gnu.org>
130 * configure.ac: Add stanza for *-*-gnu* threads configuration.
131 * configure: Regenerate.
132 * include/gc_config.h.in: Likewise.
133 * dyn_load.c (_GNU_SOURCE): Define for __GNU__.
134 * include/gc_config_macros.h (_REENTRANT, GC_PTHREADS): Define for
136 * include/private/gcconfig.h (DATASTART): Don't define for I386 &&
138 (SIG_SUSPEND, SIG_THR_RESTART, SEARCH_FOR_DATA_START): Define for
140 (UNIX_LIKE, REGISTER_LIBRARIES_EARLY): Define for HURD.
141 * os_dep.c (GC_init_linux_data_start): Handle for HURD.
142 * pthread_support.c (GC_thr_init): Add case for GC_GNU_THREADS.
143 * specific.c: Use for GC_GNU_THREADS.
144 * threadlibs.c: Add case for GC_GNU_THREADS.
146 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
148 * configure: Regenerated.
150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
152 * configure: Regenerated.
154 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
156 Merge upstream changes
157 * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
158 (CPP_WORDSZ): Set to 32 for x32.
160 2012-02-27 Jack Howarth <howarth@bromo.med.uc.edu>
161 Patrick Marlier <patrick.marlier@gmail.com>
164 * testsuite/boehm-gc.c/thread_leak_test.c: Merge upstream changes.
166 2012-02-23 Patrick Marlier <patrick.marlier@gmail.com>
167 Jack Howarth <howarth@bromo.med.uc.edu>
170 * include/gc_config.h.in: Undefine HAVE_PTHREAD_GET_STACKADDR_NP.
171 * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with
172 pthread_get_stackaddr_np when available.
173 * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np.
174 * configure: Regenerate.
176 2012-02-10 Kai Tietz <ktietz@redhat.com>
179 * include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
180 only, if we are actual in boehm-gc's build and DLL_EXPORT
183 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
185 * configure: Regenerate.
187 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
189 * configure.ac (THREADS): Remove posix95.
190 * configure: Regenerate.
192 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
195 * configure.ac (i?86-*-solaris2.[89]): Also accept
196 x86_64-*-solaris2.1?.
197 * configure: Regenerate.
199 2011-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
202 * include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
204 * dyn_load.c [IRIX5]: Include <elf.h>.
205 Include <obj.h> for O32, <objlist.h> for N32, N64.
206 [SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
207 [SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
208 [IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
209 (__rld_obj_head): Declare.
210 (l_next, l_addr, obj_offset): Define.
211 (GC_FirstDLOpenedLinkMap): New function.
212 [SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
215 [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
216 (GC_register_dynamic_libraries): Don't use /proc version on IRIX5.
218 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
220 * configure.ac (THREADS): Remove decosf1, irix, mach, os2.
221 * configure: Regenerate
223 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
226 * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
229 2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
232 * configure.ac (THREADCFLAGS): New variable.
233 Use it instead of INCLUDES, AM_CPPFLAGS.
234 <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
235 Remove DG/UX support.
236 (AC_CONFIG_FILES): Add testsuite/Makefile.
237 * Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
238 (SUBDIRS): Add testsuite.
239 (libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
240 (AM_CXXFLAGS): Add $(THREADCFLAGS).
241 (AM_CFLAGS): Likewise.
242 Remove TESTS related variables.
243 * Makefile.in: Regenerate.
244 * configure: Regenerate.
245 * testsuite/Makefile.am: New file.
246 * testsuite/Makefile.in: New file.
247 * testsuite/lib/boehm-gc.exp: New file.
248 * testsuite/config/default.exp: New file.
249 * testsuite/boehm-gc.c/c.exp: New file.
250 * testsuite/boehm-gc.lib/lib.exp: New file.
251 * tests/test.c: Move ...
252 * testsuite/boehm-gc.c/gctest.c: ... here.
253 * tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
254 tests/trace_test.c: Move ...
255 * testsuite/boehm-gc.c: ... here.
256 * testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
257 * tests/staticrootslib.c, tests/staticrootstest.c: Move ...
258 * testsuite/boehm-gc.lib: ... here.
259 * testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
261 * tests/test_cpp.cc: Move ...
262 * testsuite/boehm-gc.c++: ... here.
264 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266 * configure.ac (THREADS): Remove solaris.
267 * configure: Regenerate.
269 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271 * configure: Regenerate.
273 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
275 * configure.ac: Don't use libdl on mips-sgi-irix6*.
276 * configure: Regenerate.
278 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
280 * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
281 * configure: Regenerate.
283 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
285 * powerpc_darwin_mach_dep.s: Update for m64. Add eh frames.
286 Do not build or use the picsymbol stub for Darwin >= 9.
287 * tests/test.c (reverse_test): Modify count for ppc64-darwin.
288 * pthread_support.c (GC_get_thread_stack_base): Correct a debug
291 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
292 Mike Stump <mrs@gcc.gnu.org>
297 * dyn_load.c (GC_register_dynamic_libraries/DARWIN): Add new writable
299 (GC_dyld_name_for_hdr): Adjust layout.
300 (GC_dyld_image_add): Adjust layout, add new Darwin sections, adjust
301 debug to name the sections.
302 (GC_dyld_image_remove): Adjust layout, remove new Darwin sections,
303 adjust debug to name the sections.
304 (GC_register_dynamic_libraries): Adjust layout.
305 (GC_init_dyld): Likewise.
306 (GC_register_main_static_data): Likewise.
308 2010-10-29 Paolo Bonzini <bonzini@gnu.org>
310 * configure: Regenerate.
312 2010-10-28 Paolo Bonzini <bonzini@gnu.org>
314 * configure.ac: Rewrite DGUX check to use GC_CFLAGS, and -O0 check
315 to remove the need for MY_CFLAGS.
316 * Makefile.am: Do not use @...@ substitutions. Use AM_CXXFLAGS,
317 AM_CFLAGS and AM_LDFLAGS instead of redefining LTCOMPILE and LINK.
318 Use "override" to disable -O2 when required.
319 * configure: Regenerate.
320 * Makefile.in: Regenerate.
321 * include/Makefile.in: Regenerate.
323 2010-10-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
325 * dyn_load.c: Fix typo.
326 * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
329 2010-06-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
331 * configure.ac (*-*-solaris2.8*): Only usr alternate thread
332 library on Solaris 8.
333 (*-*-solaris2*): Use regular thread library otherwise.
334 * configure: Regenerate.
336 2010-05-13 Uros Bizjak <ubizjak@gmail.com>
338 * tests/leak_test.c (main): Declare as int. Return 0.
339 * tests/thread_leak_test.c (main): Ditto.
340 * tests/trace_test.c (main): Ditto.
342 2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com>
345 * tests/staticrootstest.c: New test source file.
346 * tests/staticrootslib.c: New test library source file.
347 * Makefile.am (test_ldadd): New variable.
348 (gctest_LDADD): Use it.
349 (TESTS): Add leaktest, middletest and staticrootstest.
350 (check_PROGRAMS): Likewise.
351 (leaktest_SOURCES): New libtool variable definition.
352 (leaktest_LDADD): Likewise.
353 (leaktest_LDFLAGS): Likewise.
354 (leaktest_LINK): Likewise.
355 (middletest_SOURCES): Likewise.
356 (middletest_LDADD): Likewise.
357 (middletest_LDFLAGS): Likewise.
358 (middletest_LINK): Likewise.
359 (staticrootstest_SOURCES): Likewise.
360 (staticrootstest_LDADD): Likewise.
361 (staticrootstest_LDFLAGS): Likewise.
362 (staticrootstest_LINK): Likewise.
363 (check_LTLIBRARIES): Likewise.
364 (libstaticrootslib_la_SOURCES): Likewise.
365 (libstaticrootslib_la_LIBADD): Likewise.
366 (libstaticrootslib_la_LDFLAGS): Likewise.
367 (libstaticrootslib_la_DEPENDENCIES): Likewise.
368 * Makefile.in: Regenerate.
370 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
372 * Makefile.in: Regenerate.
373 * aclocal.m4: Regenerate.
374 * include/Makefile.in: Regenerate.
376 2010-03-21 Dave Korn <dave.korn.cygwin@gmail.com>
378 PR target/42811 (prerequisite)
379 * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
380 declare r_next member on Cygwin as on other windows hosts.
381 (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
382 (RT_SIZE) [CYGWIN32]: Likewise.
383 (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
385 (GC_heap_bases) [CYGWIN32]: Do define likewise.
386 (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
387 (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
388 (GC_n_heap_bases) [CYGWIN32]: Likewise.
389 (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
390 * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
391 (GET_MEM) [CYGWIN32]: Do define likewise.
392 * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
393 registration likewise.
394 * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
395 (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
397 (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
398 (GC_n_heap_bases) [CYGWIN32]: Likewise.
399 (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
400 (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
401 rather than GlobalAlloc/VirtualAlloc.
402 (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
403 of GlobalFree (even though the function body is optimised away).
404 * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
406 (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
408 (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
409 (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
410 (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
411 (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
412 (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
413 (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
414 roots and dynamic registration likewise.
415 * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
417 (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
418 (GC_cond_add_roots) [CYGWIN32]: Likewise.
419 (GC_register_main_static_data) [CYGWIN32]: Define to always return
421 (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
423 (GC_warn_fb) [CYGWIN32]: Likewise.
424 (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
425 (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
426 (GC_ignore_fb) [CYGWIN32]: Likewise.
427 (is_frame_buffer) [CYGWIN32]: Likewise.
428 (GC_dump_meminfo) [CYGWIN32]: Likewise.
429 (GC_wnt) [CYGWIN32]: Define to constant true.
430 (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
433 2009-12-09 Matthias Klose <doko@ubuntu.com>
435 * include/private/gc_locks.h: For __ARM_EABI__ define
436 GC_test_and_set GC_clear to use the atomic builtins.
438 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
440 * Makefile.in: Regenerate.
441 * configure: Regenerate.
442 * include/Makefile.in: Regenerate.
444 2009-11-30 Ben Elliston <bje@au.ibm.com>
446 * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
447 compiling with GCC rather than taking the address of a local
450 2009-11-30 Ben Elliston <bje@au.ibm.com>
452 * os_dep.c: Use the POSIX signal API in preference to the BSD API.
453 Generate a compilation error if neither the POSIX nor BSD APIs can
456 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
458 * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
459 (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
460 so that library dependency resolution works with portable make.
461 * Makefile.in: Regenerate.
463 2009-09-08 Alexandre Oliva <aoliva@redhat.com>
465 * configure: Rebuilt with modified libtool.m4.
467 2009-09-03 Loren J. Rittle <ljrittle@acm.org>
469 * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
470 Define for FreeBSD 7.0+.
472 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
474 * configure.ac (AC_PREREQ): Bump to 2.64.
476 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
478 * Makefile.am (install-html, install-pdf): Remove.
479 * Makefile.in: Regenerate.
481 * Makefile.in: Regenerate.
482 * aclocal.m4: Regenerate.
483 * configure: Regenerate.
484 * include/Makefile.in: Regenerate.
485 * include/gc_config.h.in: Regenerate.
487 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
489 * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
491 * Makefile.in: Regenerate.
493 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
495 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
497 2009-07-17 Michael Meissner <meissner@linux.vnet.ibm.com>
500 * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
501 the __sync_lock_test_and _set and __sync_lock_release builtins on
502 the powerpc. If not GCC 4.4, fix up the constraints so that it
503 builds without error.
506 2009-07-17 Kai Tietz <kai.tietz@onevision.com>
508 * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
510 * configure: Regenerated.
512 2009-05-17 Dave Korn <dave.korn.cygwin@gmail.com>
514 * win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin.
516 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 * configure: Regenerate.
520 2009-02-09 Mark Mitchell <mark@codesourcery.com>
522 * Makefile.am (LTLDFLAGS): New variable.
524 * Makefile.in: Regenerated.
526 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
528 * configure: Regenerate.
530 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
531 Steve Ellcey <sje@cup.hp.com>
533 * configure: Regenerate for new libtool.
534 * Makefile.in: Ditto.
535 * include/Makefile.in: Ditto.
538 2008-07-18 Matthias Klose <doko@ubuntu.com>
540 * configure.ac (AC_CONFIG_FILES): Add threads.mk.
541 * threads.mk.in: New.
542 * Makefile.in, configure: Regenerate.
544 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
546 * Makefile.in: Regenerate.
547 * configure: Regenerate.
548 * include/Makefile.in: Regenerate.
549 * include/gc_config.h.in: Regenerate.
551 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
554 * aclocal.m4: Regenerate.
555 * configure: Regenerate.
557 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
559 * aclocal.m4: Regenerate.
560 * configure: Likewise.
561 * Makefile.in: Likewise.
562 * include/Makefile.in: Likewise.
564 2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
566 * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
567 GC_GETSECTBYNAME instead.
568 * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
569 architecture (Darwin).
571 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
573 * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
575 2008-01-24 David Edelsohn <edelsohn@gnu.org>
577 * configure: Regenerate.
579 2007-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
582 * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
583 up, return stack_addr instead of stack_addr - stack_size.
585 2007-08-14 David Daney <ddaney@avtrex.com>
587 * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
589 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
591 * aclocal.m4: Regenerated.
593 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
597 * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
598 Use alternate thread library in /usr/lib/lwp.
599 * configure: Regenerate.
600 * dyn_load.c: Use GC_SOLARIS_PTHREADS.
601 * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
602 * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
603 (GC_SOLARIS_THREADS): Don't define.
604 * include/private/solaris_threads.h: Remove.
605 * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
606 GC_nprocs via sysconf().
607 * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
609 (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
610 * Makefile.in: Regenerate.
611 * solaris_pthreads.c: Remove.
612 * solaris_threads.c: Remove.
614 2007-06-22 Jakub Jelinek <jakub@redhat.com>
616 * pthread_support.c (GC_get_thread_stack_base): Handle
617 pthread_getattr_np failures.
619 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
621 * configure: Regenerate.
623 2007-05-23 Steve Ellcey <sje@cup.hp.com>
625 * Makefile.in: Regenerate.
626 * configure: Regenerate.
627 * aclocal.m4: Regenerate.
628 * include/Makefile.in: Regenerate.
630 2007-05-20 Andreas Tobler <a.tobler@schweiz.org>
632 * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
633 * configure: Regenerate.
634 * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
635 * Makefile.in: Regenerate.
636 * include/Makefile.in: Regenerate.
637 * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
638 targets. Remove comments. Prepare ppc64 support for Darwin.
640 2007-04-23 Keith Seitz <keiths@redhat.com>
642 * include/gc.h (GC_is_thread_suspended): Declare.
643 * pthread_stop_world.c (GC_is_thread_suspended): New function.
645 2007-04-03 Jakub Jelinek <jakub@redhat.com>
647 * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
648 * configure: Rebuilt.
650 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
652 * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
653 (GC_register_finalizer_unreachable): Declare.
654 (GC_debug_register_finalizer_unreachable): Declare.
655 * finalize.c (GC_unreachable_finalize_mark_proc): New.
656 (GC_register_finalizer_unreachable): New.
657 (GC_finalize): Handle it.
658 * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
659 (GC_debug_register_finalizer_no_order): Fix whitespace.
661 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
663 * Makefile.am: Add dummy install-pdf target.
664 * Makefile.in: Regenerate
666 2007-02-05 Roman Zippel <zippel@linux-m68k.org>
668 * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
669 it works with Linux 2.6, reactivate MPROTECT_VDB
670 * boehm-gc/pthread_stop_world.c: save all register
673 2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
675 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
676 added defines to include/private/gc_priv.h
677 (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
678 * darwin_stop_world.c: Removed the above defines.
679 * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
680 and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
682 2007-01-17 David Daney <ddaney@avtrex.com>
684 * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
686 * configure: Regenerated.
687 * include/gc_config.h.in: Regenerated.
689 2007-01-17 Mike Stump <mrs@apple.com>
691 * os_dep.c: Fix i686-apple-darwin9 builds.
693 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
695 * aclocal.m4: Regenerate to use multi.m4.
696 * configure: Regenerate.
697 * Makefile.in: Regenerate.
699 2007-01-17 Andreas Tobler <a.tobler@schweiz.org>
701 * include/gc_config.h.in: Regenerate.
703 2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
705 * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
707 * os_dep.c: Likewise.
709 2007-01-15 Andreas Tobler <a.tobler@schweiz.org>
711 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
713 (catch_exception_raise): Fix typo in the I386 exc_state.
715 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
717 * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
718 HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
719 * configure: Regenerated.
720 * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
721 Added base definitions for the X86_64 Darwin port.
722 * include/private/gc_priv.h: Added definitions for Darwin MACH thread
723 operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
724 * darwin_stop_world.c: Removed THREAD_STATE info. Added
725 HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
726 with HAS_X86_THREAD_STATE32___EAX.
727 (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
729 * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
730 (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
731 Distinguish between getsectbynamefromheader_64 and
732 getsectbynamefromheader.
733 (GC_dyld_image_remove): Likewise.
734 * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
735 (catch_exception_raise): Introduce exception information for I386 and
736 X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
738 2006-12-08 Mike Stump <mrs@apple.com>
740 * configure.ac: Fix x86 darwin builds.
741 * darwin_stop_world.c: Likewise.
742 * include/private/gcconfig.h: Likewise.
743 * connfigure: Regenerate.
745 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
748 * darwin_stop_world.c: Make stack_start unsigned long.
750 2006-09-21 Sandro Tolaini <tolaini@libero.it>
752 * os_dep.c: Port to Darwin/i386
753 * darwin_stop_world.c: Likewise
754 * include/private/gcconfig.h: Likewise
756 2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
758 * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
760 * dyn_load.c: Likewise.
761 * include/gc.h: Likewise.
762 * private/gcconfig.h: Likewise.
763 * configure: Regenerate.
764 * include/gc_config.h.in: Regenerate.
766 2006-09-14 Tom Tromey <tromey@redhat.com>
769 * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
772 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
775 * configure.ac: Check for pthread_getattr_np(). Remove
776 GC_PTHREAD_SYM_VERSION detection.
777 * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
778 GC_get_thread_stack_base): New declarations.
779 * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
780 GC_get_thread_stack_base): New functions.
781 (GC_delete_thread): Don't try to free the first_thread.
782 * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
783 (pthread_create_, constr): Removed.
784 (pthread_create): Don't rename.
785 * include/gc_ext_config.h.in: Rebuilt.
786 * include/gc_pthread_redirects.h (pthread_create): Define
788 * include/gc_config.h.in: Rebuilt.
789 * configure: Rebuilt.
791 2006-06-21 Keith Seitz <keiths@redhat.com>
793 * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
794 routine if signal is received and thread is flagged SUSPENDED.
795 (suspend_self): New function.
796 (GC_suspend_thread): New function.
797 (GC_resume_thread): New function.
798 * include/gc.h (GC_suspend_thread): Declare.
799 (GC_resumet_thread): Declare.
800 * include/private/pthread_support.h (SUSPENDED): New GC_thread
803 2006-06-20 Ranjit Mathew <rmathew@gcc.gnu.org>
805 Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
806 * os_dep.c (GC_wnt): Define.
807 (GC_init_win32): Set GC_wnt.
808 * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
809 sections also on Windows 9x/ME.
811 2006-06-02 Geoffrey Keating <geoffk@apple.com>
813 * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
814 HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
815 HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
816 HAS_I386_THREAD_STATE___EAX.
817 * configure: Regenerate.
818 * include/gc_config.h.in: Regenerate.
819 * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
820 macro names to determine value.
823 (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
825 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
827 * Makefile.am: Add install-html target.
828 * Makefile.in: Regenerate.
829 * aclocal.m4: Regenerate.
830 * include/Makefile.in: Regenerate.
832 2006-03-07 Andrew Haley <aph@redhat.com>
834 * dyn_load.c (GC_has_static_roots): Declare.
835 (GC_register_dynlib_callback): Call GC_has_static_roots.
837 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
839 * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
840 GC_start_world): Call vm_deallocate to free act_list. Fix from
843 2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>
844 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
846 * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
847 Warn about POSIX threads not being supported for *-*-hpux10*.
848 * configure: Regenerate.
850 2006-02-09 Tom Tromey <tromey@redhat.com>
852 * pthread_support.c: Conditionally include dlfcn.h.
854 2006-02-06 Jakub Jelinek <jakub@redhat.com>
855 Anthony Green <green@redhat.com>
856 Tom Tromey <tromey@redhat.com>
858 * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
859 * include/gc_config.h.in: Rebuilt.
860 * include/gc_pthread_redirects.h (pthread_create): Conditionally
862 * pthread_support.c (pthread_create_): New global.
863 (constr): New function.
864 (pthread_create): Conditionally renamed.
865 * configure: Rebuilt.
866 * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
868 2006-02-04 Alan Modra <amodra@bigpond.net.au>
870 * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
871 use broken 64-bit version.
873 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
875 * darwin_stop_world.c: Change inline asm instruction to ld as ldz
878 * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
879 * Makefile.in: Regenerate.
881 2006-01-25 Bryce McKinlay <mckinlay@redhat.com>
883 * include/private/gcconfig.h: Revert to GC 6.6 version, removing
886 2006-01-24 Bryce McKinlay <mckinlay@redhat.com>
888 Import Boehm GC version 6.6.
890 2006-01-24 David Ayers <d.ayers@inode.at>
893 * include/gc.h: Fix prototype declarations for bootstrap.
895 2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
897 * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
899 2005-09-15 Kazu Hirata <kazu@codesourcery.com>
901 * include/private/gc_locks.h (GC_test_and_set): Change the
902 constraint of the first operand to '0'.
904 2005-09-06 Tom Tromey <tromey@redhat.com>
907 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
910 2005-07-17 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
912 * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
914 2005-06-15 Andreas Tobler <a.tobler@schweiz.ch>
916 * os_dep.c: Add FreeBSD/PowerPC bits.
917 (GC_SysVGetDataStart): Likewise.
918 * include/private/gcconfig.h: Likewise.
920 2005-05-25 Andrew Haley <aph@redhat.com>
922 * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
925 2005-05-09 Mike Stump <mrs@apple.com>
927 * configure: Regenerate.
929 2005-04-19 Hans-Peter Nilsson <hp@axis.com>
931 * os_dep.c, include/private/gc_locks.h: Import CRIS port by
932 Simon Posnjak from gc6.4.
933 * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
935 2005-04-17 David S. Miller <davem@davemloft.net>
937 * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
938 * os_dep.c (GC_linux_stack_base): Check for bug present in some
939 Sparc glibc variants where __libc_stack_end is erroneously set
940 to "1". Fallback to procfs code in that case.
942 2005-04-12 Mike Stump <mrs@apple.com>
944 * configure: Regenerate.
946 2005-04-12 Richard Henderson <rth@redhat.com>
948 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
950 2005-03-23 Mike Stump <mrs@apple.com>
952 * darwin_stop_world.c: Update for -m64 multilib.
953 * include/private/gcconfig.h: Likewise.
954 * powerpc_darwin_mach_dep.s: Likewise.
956 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
958 * Makefile.in, include/Makefile.in: Regenerate.
960 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
962 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
963 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
965 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
968 * configure.host: Set gc_use_mmap on *-linux*.
969 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
970 * include/private/gc_priv.h: Include gc_config.h.
971 * configure, include/gc_config.h.in: Rebuilt.
973 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
975 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
976 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
978 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
980 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
981 and indent appropriately.
982 * mark_rts.c (GC_approx_sp): Access stack.
983 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
984 callee-saves registers when appropriate.
985 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
987 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
989 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
990 and include/gc_ext_config.h.
991 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
992 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
994 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
996 * configure: Regenerate.
998 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
1001 Revert patches of 2004-11-26 and 2004-11-27.
1003 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1005 * configure: Regenerate for libtool change.
1007 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
1009 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
1011 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
1013 Fix "PACKAGE_NAME redefined" errors.
1014 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
1015 and include/gc_config.h.
1016 * configure: Regenerated.
1017 * include/gc_config.h.in: No longer auto-generated. Define only the
1018 macros needed by libjava.
1019 * include/config.h.in: Generated by autoheader.
1020 * include/gc.h: Include config.h, not gc_config.h.
1022 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1024 * configure: Regenerate for libtool reversion.
1026 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1028 * configure: Regenerate for libtool change.
1030 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1032 * configure.ac (machdep): Use sparc_mach_dep.lo on
1033 sparc64-sun-solaris2.* too.
1034 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
1035 * configure: Regenerate.
1037 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
1040 * configure.ac (threading): Accept 'posix95'.
1041 * configure: Regenerate.
1043 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
1045 * Makefile.am: Define ACLOCAL_AMFLAGS.
1046 * configure.ac: Remove redundant sinclude.
1047 * acinclude.m4: Delete file.
1048 * aclocal.m4: Regenerate.
1049 * Makefile.in, include/Makefile.in: Regenerate.
1050 * configure: Regenerate.
1052 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1054 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
1057 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1059 * include/private/gcconfig.h: Add m32r-linux target.
1061 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
1063 * configure.ac: Update all AC_DEFINEs to newer style.
1064 * configure: Regenerate.
1065 * include/gc_config.h.in: Regenerate.
1067 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1069 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
1070 GC_print_back_graph_stats): split GC_traverse_back_graph.
1071 * backgraph.c: Dynamically grow in_progress_space.
1072 * finalize.c (GC_notify_or_invoke_finalizers): also call
1073 GC_print_back_graph_stats.
1074 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
1075 GC_print_back_height): Move delarations to header file.
1076 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
1077 * configure: Regenerate.
1079 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
1081 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
1082 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
1084 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1086 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
1087 Reported by Danny Smith.
1089 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
1091 * misc.c (GC_init): Replace lhs cast with rhs cast.
1093 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
1095 * specific.c: Check GC_LINUX_THREADS before including
1096 private/specific.h. From Richard Earnshaw.
1098 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
1100 * aclocal.m4: Remove obsolete construct for old automake.
1101 * acinclude.m4: Regenerate with aclocal 1.9.1.
1102 * configure.ac: Remove duplicate AC_WITH calls. Replace
1103 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
1104 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
1105 Remove now-redundant subst of target_noncanonical. Remove
1106 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
1107 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
1108 Use slightly more modern form of AC_INIT.
1109 * configure: Rebuild with autoconf 2.59.
1110 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
1112 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
1114 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
1115 since they're not known at this time.
1116 * solaris_pthreads.c: Likewise.
1118 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
1121 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
1123 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1125 * configure.ac (gc_cflags): Add -Iinclude.
1126 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
1127 Don't write DEFS to boehm-cflags file.
1128 * configure: Rebuilt.
1129 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
1130 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
1131 * include/gc_config_macros.h: Remove backward-compatibility
1132 redefinitions of GC_ names.
1133 * include/gc.h: Include <gc_config.h>.
1135 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1137 Import Boehm GC version 6.3.
1139 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
1141 * include/Makefile.in: Regenerate
1143 2004-07-06 Andrew Pinski <apinski@apple.com>
1145 * os-dep.c (GC_task_self): Declare as static
1146 and remove the second declaration.
1148 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
1150 * Makefile.am: Add rule for .S files to fix bootstrap on
1152 * Makefile.in: Regenerate.
1154 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
1156 * boehm-gc/configure.ac: New name of configure.in.
1157 Remove useless multilib stuff. Change uses of
1158 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
1159 * boehm-gc/configure.in: New name of configure.in.
1160 * boehm-gc/Makefile.am: Update for automake 1.8.5.
1161 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
1162 * boehm-gc/aclocal.m4: Regenerate.
1163 * boehm-gc/configure: Regenerate.
1164 * boehm-gc/Makefile.in: Regenerate.
1166 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
1168 * .cvsignore: New file.
1170 2004-04-25 Andreas Jaeger <aj@suse.de>
1172 * mark.c (GC_mark_from): Use pointer as prefetch argument.
1174 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
1176 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
1178 (PREFETCH_FOR_WRITE): Likewise.
1180 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
1182 * configure.ac: Bump AC_PREREQ to 2.59.
1183 * configure: Regenerate.
1184 * config.in: Regenerate.
1186 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
1188 * ltconfig, ltmain.sh: Remove unused files.
1189 * configure.in: Remove bogus extra early invocation of
1191 * configure: Regenerate.
1192 * mkinstalldirs, install-sh, config.sub, config.guess:
1193 Remove (now) unused files.
1194 * Makefile.in: Regenerate (losing references to vanished
1197 * configure.in: Add CCAS, CCASFLAGS for future automakes.
1198 * configure, Makefile.in, include/Makefile.in: Regenerate.
1200 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
1201 * Makefile.in: Regenerate.
1203 * configure.in: Remove bogus duplicate invocation of
1204 AM_MAINTAINER_MODE. Remove obsolete comment.
1205 * configure: Regenerate.
1207 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
1209 * aclocal.m4: Regenerate.
1210 * configure.in: Receive contents of GC_CONFIGURE macro.
1211 * configure: Regenerate.
1213 * configure.in: Remove more obsolete, bogus code.
1214 * configure: Regenerate.
1216 * acinclude.m4: Remove obsolete and bogus constructs.
1217 * aclocal.m4: Regenerate.
1218 * configure: Regnerate.
1220 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1222 * acinclude.m4: De-precious CC and CXX so that the right flags
1223 are passed down to multilibs.
1224 * aclocal.m4: Regenerate.
1225 * configure: Regenerate.
1227 2004-02-22 Zack Weinberg <zack@codesourcery.com>
1228 Nathanael Nerode <neroden@twcny.rr.com>
1229 Alexandre Oliva <aoliva@redhat.com>
1231 * config.sub, config.guess: Replace with forwarding scripts
1232 which invoke the master copies in the top level.
1234 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1236 * acinclude.m4: Remove old no-executables workaround;
1237 add new no-executables workaround.
1238 * aclocal.m4: Regenerate.
1239 * configure.in: Change prereqs to autoconf 2.57.
1240 * configure: Regenerate with autoconf 2.57.
1242 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
1243 * configure: Regenerate.
1244 * Makefile.am: Use target_noncanonical variable from configure.
1245 * Makefile.in: Regenerate.
1246 * include/Makefile.in: Regenerate.
1248 2004-02-20 Andrew Cagney <cagney@redhat.com>
1250 * config.guess: Update from version 2002-01-10 to 2004-02-16.
1251 * config.sub: Update from version 2002-01-02 to 2004-02-16.
1253 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
1255 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
1256 * aclocal.m4: Rebuild.
1257 * configure: Regenerate.
1259 * acinclude.m4: Move certain code to configure.in.
1260 * configure.in: Receive code from acinclude.m4.
1261 * aclocal.m4: Rebuild.
1262 * configure: Regenerate.
1264 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
1266 2004-01-20 Andrew Haley <aph@redhat.com>
1268 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
1270 * configure.in: Comment change.
1272 2004-01-16 Andrew Haley <aph@redhat.com>
1274 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
1275 add for ia64; remove for MIPS.
1276 * configure: Regnerated.
1278 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
1280 * configure.in: Add in AC_PREREQ(2.13)
1282 2004-01-07 Dave Jones <davej@redhat.com>
1284 * malloc.c (GC_generic_malloc): Correct initialization typo.
1285 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
1287 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
1289 * include/private/gcconfig.h: Re-install change of 2003-04-16.
1291 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1293 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
1296 2003-10-18 Alan Modra <amodra@bigpond.net.au>
1298 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
1301 2003-10-03 Jeff Sturm <jsturm@one-point.com>
1303 * configure: Rebuild.
1305 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
1307 * configure.in: Remove NO_GETENV definition for win32.
1308 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
1309 * misc.c (GC_init_inner): Call GC_thr_init for win32.
1310 (GC_set_warn_proc): Add assertion.
1311 * win32_threads.c: Import 6.3alpha2 version.
1312 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
1314 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1316 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
1317 2.3/SPARC, there are no micro versions.
1318 Treat Solaris 10 and up alike.
1319 * configure: Regenerate.
1321 2003-09-22 Anthony Green <green@redhat.com>
1323 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
1326 2003-09-20 <green@redhat.com>
1328 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1329 check for __arm__ or __thumb__.
1331 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1333 * configure: Regenerate.
1335 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1336 Roger Sayle <roger@eyesopen.com>
1338 * configure.in: Set INCLUDES to absolute path.
1339 Save $INCLUDES in boehm-cflags, too.
1340 Set INCLUDES so it's available to config.status.
1341 * configure: Regenerate.
1343 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
1345 * include/gc.h (GC_CreateThread): Declare with WINAPI
1347 * win32_threads.c (GC_CreateThread): Make definitions consistent
1348 with declaration. Cast &thread_table[i].handle to PHANDLE
1349 in call to DuplicateHandle
1350 (thread_start): Declare as static.
1352 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
1354 * dyn_load.c: Define __private_extern__ to match Apple's system
1357 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
1359 * os_dep.c: Remove redundancy introduced in last merge.
1361 2003-07-28 Jeff Sturm <jsturm@one-point.com>
1363 Import GC 6.3alpha1.
1364 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
1365 * ChangeLog: Likewise.
1366 * Makefile.am: Likewise.
1367 * Makefile.direct: Likewise.
1368 * Makefile.dj: Likewise.
1369 * allchblk.c: Likewise.
1370 * alloc.c: Likewise.
1371 * backgraph.c: Likewise.
1372 * configure.host: Likewise.
1373 * configure.in: Likewise.
1374 * dbg_mlc.c: Likewise.
1375 * dyn_load.c: Likewise.
1376 * finalize.c: Likewise.
1377 * gc_cpp.cc: Likewise.
1378 * gc_dlopen.c: Likewise.
1379 * gcj_mlc.c: Likewise.
1380 * if_mach.c: Likewise.
1381 * mach_dep.c: Likewise.
1382 * malloc.c: Likewise.
1383 * mallocx.c: Likewise.
1385 * mark_rts.c: Likewise.
1387 * os_dep.c: Likewise.
1388 * ptr_chck.c: Likewise.
1389 * reclaim.c: Likewise.
1390 * solaris_pthreads.c: Likewise.
1391 * solaris_threads.c: Likewise.
1392 * sparc_mach_dep.S: Likewise.
1393 * threadlibs.c: Likewise.
1394 * typd_mlc.c: Likewise.
1395 * version.h: Likewise.
1396 * win32_threads.c: Likewise.
1397 * Mac_files/MacOS_Test_config.h: Likewise.
1398 * Mac_files/MacOS_config.h: Likewise.
1399 * cord/cordbscs.c: Likewise.
1400 * cord/cordprnt.c: Likewise.
1401 * cord/de_win.c: Likewise.
1402 * doc/README: Likewise.
1403 * doc/README.MacOSX: Likewise.
1404 * doc/README.changes: Likewise.
1405 * doc/README.environment: Likewise.
1406 * doc/README.ews4800: Likewise.
1407 * doc/README.linux: Likewise.
1408 * doc/README.macros: Likewise.
1409 * doc/README.win32: Likewise.
1410 * doc/debugging.html: Likewise.
1411 * doc/gcdescr.html: Likewise.
1412 * doc/tree.html: Likewise.
1413 * include/Makefile.in: Likewise.
1414 * include/gc.h: Likewise.
1415 * include/gc_cpp.h: Likewise.
1416 * include/gc_local_alloc.h: Likewise.
1417 * include/gc_mark.h: Likewise.
1418 * include/gc_pthread_redirects.h: Likewise.
1419 * include/gc_typed.h: Likewise.
1420 * include/new_gc_alloc.h: Likewise.
1421 * include/private/dbg_mlc.h: Likewise.
1422 * include/private/gc_hdrs.h: Likewise.
1423 * include/private/gc_locks.h: Likewise.
1424 * include/private/gc_pmark.h: Likewise.
1425 * include/private/gc_priv.h: Likewise.
1426 * include/private/gcconfig.h: Likewise.
1427 * include/private/solaris_threads.h: Likewise.
1428 * include/private/specific.h: Likewise.
1429 * tests/test.c: Likewise.
1430 * tests/test_cpp.cc: Likewise.
1432 * configure: Rebuild.
1433 * Makefile.in: Rebuild.
1435 * mips_sgi_mach_dep.s: Add.
1437 * alpha_mach_dep.s: Remove.
1438 * irix_threads.c: Remove.
1439 * linux_threads.c: Remove.
1440 * mips_sgi_mach_dep.S: Remove.
1442 * powerpc_macosx_mach_dep.s: Remove.
1443 * doc/Makefile.am: Remove.
1444 * doc/Makefile.in: Remove.
1446 2003-07-25 Roger Sayle <roger@eyesopen.com>
1448 * configure.host: Only use +ESdbgasm when using the HPUX native
1449 compiler on PA-Risc. It isn't recognized by GCC and is silently
1450 ignored by HP's compilers on ia64.
1452 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
1454 * configure.in: define GC_DLL under mingw if --enable-shared
1455 * configure: rebuilt
1456 * win32_threads.c: add #ifdef GC_DLL around DllMain
1458 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
1460 * include/private/gcconfig.h: Add support for arm-netbsdelf.
1462 2003-04-09 Tom Tromey <tromey@redhat.com>
1464 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1466 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1468 2003-03-22 Richard Henderson <rth@redhat.com>
1470 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1471 (GC_test_and_set): Use __sync_lock_test_and_set.
1472 (GC_clear): Use volatile assignment.
1473 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1474 (GC_memory_write_barrier): Use __sync_synchronize.
1476 2003-03-12 Andreas Schwab <schwab@suse.de>
1478 * configure.in: Avoid trailing /. in toolexeclibdir.
1479 * configure: Rebuilt.
1481 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
1482 * include/private/gcconfig.h (GC_data_start): declare when needed.
1483 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1485 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1486 GC_register_dynlib_callback): Register main data for static
1487 executable if dl_iterate_phdr() didn't.
1488 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1489 if we don't expect to register main static data.
1491 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
1492 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1493 (GC_push_roots): explicitly mark free list headers, register
1494 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1495 * alloc.c (GC_stopped_mark): Conditionally call
1496 GC_cond_register_dynamic_libraries().
1497 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1498 * dyn_load.c (GC_register_main_static_data): define.
1499 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1500 no longer skip main data.
1501 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1502 (GC_init_inner): Make main data registration conditional.
1503 * include/private/gc_priv.h (GC_register_main_static_data): declare.
1504 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1507 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1509 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1511 * configure: Rebuilt.
1513 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
1515 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1517 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1519 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1520 Remove USE_LIBDIR conditional.
1521 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1522 * Makefile.in, configure: Rebuilt.
1524 2002-12-31 Tom Tromey <tromey@redhat.com>
1527 * include/Makefile.in: Rebuilt.
1528 * include/Makefile.am (noinst_HEADERS): Renamed from
1531 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1533 * ltconfig (osf[345]): Append $major to soname_spec.
1534 Reflect this in library_names_spec.
1535 * ltmain.sh (osf): Prefix $major with . for use as extension.
1537 2002-10-02 Andreas Jaeger <aj@suse.de>
1539 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1541 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
1543 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1544 check for __arm__ or __thumb__.
1546 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
1548 * include/private/gcconfig: Add machine type S390. Add s390x support.
1549 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1550 (GC_compare_and_exchange): Likewise.
1552 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
1554 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1556 2002-08-23 Adam Megacz <adam@xwt.org>
1558 * win32_threads.cc: Removed extraneous ABORT()
1560 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1562 * Makefile.am (all-multi): Fix multilib parallel build.
1564 2002-07-18 Bo Thorsen <bo@suse.de>
1566 * include/private/gcconfig.h: Add x86-64 definitions.
1567 * os_dep.c: Add x86-64 support.
1568 * configure.in: Likewise.
1569 * configure: Regenerate.
1571 2002-07-18 H.J. Lu <hjl@gnu.org>
1573 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1575 2002-07-18 H.J. Lu (hjl@gnu.org)
1577 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1580 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
1583 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1585 2002-06-09 H.J. Lu (hjl@gnu.org)
1587 * include/private/gc_locks.h (GC_test_and_set): Support
1589 (GC_TEST_AND_SET_DEFINED): Likewise.
1591 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1593 (DATAEND): Likewise.
1594 (LINUX_STACKBOTTOM): Likewise.
1595 (STACKBOTTOM): Removed for Linux/mips.
1597 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
1599 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1600 (GC_pthread_create): Fix typo.
1601 (GC_TRY_LOCK): Likewise.
1602 * include/private/gc_locks.h (GC_test_and_set): Only take one
1604 (LOCK): Adjust appropriately.
1605 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1606 _SIGRTMIN is unavailable.
1608 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1610 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1611 * aclocal.m4: Regenerate.
1612 * configure: Regenerate.
1614 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1616 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1617 script entry, and set LD to it when configuring multilibs.
1618 * configure: Rebuilt.
1620 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1622 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1623 (noinst_LTLIBRARIES): Add libgcjgc.la.
1625 * Makefile.in: Rebuild.
1627 2002-04-22 David S. Miller <davem@redhat.com>
1629 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1630 64-bit SPARC Linux, the __libc_stack_end technique does
1631 not work in this case.
1633 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1635 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1637 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
1639 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1642 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
1644 * include/private/gcconfig.h (DATAEND): Update comment example
1647 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
1649 * include/private/gcconfig.h (DATAEND): Clarify comment.
1651 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1653 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1654 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1656 * allchblk.c (GC_allchblk_nth): Change text and support reduced
1657 frequency for blacklist warning message.
1658 * misc.c (GC_large_alloc_warn_interval,
1659 GC_large_alloc_warn_suppressed): define.
1660 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1661 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1662 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1663 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1665 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1667 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
1669 * include/private/gcconfig.h: Add support for an unmapped
1670 memory hole between the end of the initialized data segment
1671 and the start of the BSS on FreeBSD/i386.
1673 2002-03-30 Krister Walfridsson <cato@df.lth.se>
1675 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1678 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
1680 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1681 (GC_local_gcj_malloc): Add assertion.
1682 (start_mark_threads): Fix abort message.
1683 * mark.c (GC_mark_from): Generalize assertion.
1684 * reclaim.c (GC_clear_fl_links): New function.
1685 (GC_start_reclaim): Must clear some freelist links.
1686 * include/private/specific.h, specific.c: Add assertions.
1687 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
1688 Rearrange tse fields.
1690 2002-03-27 Richard Henderson <rth@redhat.com>
1692 * os_dep.c (GC_init_linux_data_start): Fix references to
1693 __data_start and _end.
1695 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
1697 * include/private/gcconfig.h: Change all likely references
1698 to linker script synthesized symbols to use this idiom:
1699 extern int etext[]; etext
1701 2002-03-25 Jeff Sturm <jsturm@one-point.com>
1703 * linux_threads.c (GC_get_nprocs): Close file descriptor.
1705 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
1707 * include/private/gcconfig.h: Add unified test for FreeBSD.
1708 Support FreeBSD/alpha.
1709 * os_dep.c: Do not include <machine/trap.h> unless available.
1710 (GC_freebsd_stack_base): Fix types.
1712 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1714 * Makefile.am: Make a convenience library.
1715 * Makefile.in: Rebuilt.
1717 2002-03-15 Anthony Green <green@redhat.com>
1719 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1720 * configure.in: Disable use of getenv for win32 targets (some of
1721 which have broken implementations).
1722 * configure: Rebuilt.
1724 2002-03-12 Adam Megacz <adam@xwt.org>
1726 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1727 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1728 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1729 statically initialized it to TRUE if compiling with GCC.
1730 * win32_threads.c (thread_start): We no longer use SEH if
1732 * mark.c (GC_mark_some): We no longer use SEH if
1735 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1737 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1738 support is enabled, for hash synchronization.
1740 2002-02-24 Adam Megacz <adam@xwt.org>
1742 * Makefile.am: Added win32_threads.c to sources list.
1743 * win32_threads.c: Added two */'s which I had neglected.
1745 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1747 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1748 * Makefile.in: Rebuilt.
1750 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1752 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1754 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1756 * mips_sgi_mach_dep.S: Likewise.
1757 * Makefile.am: Update for above changes.
1758 * Makefile.in: Rebuilt.
1760 2002-02-12 Richard Henderson <rth@redhat.com>
1762 * configure.in: Re-apply 2001-06-26 configure change.
1763 * configure: Rebuild.
1765 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1767 Imported GC 6.1 Alpha 3.
1769 * sparc_mach_dep.S: Delete incorrectly named file.
1771 2001-02-11 Adam Megacz <adam@xwt.org
1773 * configure.in: support for win32, saner
1774 cross-compile options
1776 2001-02-08 Anthony Green <green@redhat.com>
1778 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1779 board embedded targets.
1780 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1781 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
1782 redundant uses of ECOS.
1783 * misc.c: Use NOSYS where ECOS is being used.
1784 Don't define GC_write twice for ECOS systems.
1785 (GC_write): New function for NOSYS targets.
1787 2002-02-06 Adam Megacz <adam@xwt.org>
1789 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1790 now exposed on all Win32 platforms.
1791 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1792 compiles on Win32; it invokes CreateThread() if GC is built
1793 as a DLL; otherwise it registers the thread.
1794 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1795 libgcjgc was not built as a DLL.
1797 2002-02-01 Adam Megacz <adam@xwt.org>
1799 * boehm-gc on win32 now automatically detects if it is being built
1800 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1802 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1804 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1805 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1806 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
1807 DATASTART and DATAEND roots.
1808 * rs6000_mach_dep.s: Add function descriptor and traceback table.
1810 2001-12-16 Jeff Sturm <jsturm@one-point.com>
1812 * dyn_load.c: Define ElfW (if needed) for all targets,
1814 (GC_FirstDLOpenedLinkMap): Use it.
1815 (GC_register_dynamic_libraries_dl): Use it.
1816 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1819 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1822 * configure.in: Add AC_SUBST(target_alias).
1823 * configure: Regenerated.
1825 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1827 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1828 case for GC_FREEBSD_THREADS.
1829 * configure.in (*-*-freebsd*): Clarify warning.
1830 * configure: Rebuilt.
1832 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
1833 Andreas Tobler <toa@pop.agri.ch>
1835 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1837 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1839 * linux_threads.c (GC_init_parallel): Do not declare as a static
1841 * include/gc.h (GC_init): Declare here. Add description.
1842 * include/private/gc_priv.h (GC_init): Remove declaration.
1844 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1846 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1847 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1848 GC_FREEBSD_THREADS, handle strange interaction between system
1849 pthread implementation and boehm-gc signal-handler architecture.
1850 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1852 * include/private/gcconfig.h (configuration keyed off FREEBSD):
1853 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
1854 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1856 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1858 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1859 * Makefile.in: Rebuilt.
1861 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1863 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1864 merged local changes.
1866 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1868 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1869 Solaris 2/Intel definition.
1871 * configure.in (i?86-*-solaris2.[89]*): Define
1872 SOLARIS25_PROC_VDB_BUG_FIXED.
1873 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1874 * configure: Regenerate.
1876 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1877 (DATAEND): Define using _end.
1879 2001-09-11 Per Bothner <per@bothner.com>
1881 * include/Makefile.am: New file. It defines include_HEADERS.
1882 * Makefile.am (SUBDIRS): New macro, set to include.
1883 * configure.in (AC_OUTPUT): Add include/Makefile.
1885 2001-08-20 Tom Tromey <tromey@redhat.com>
1887 * configure: Rebuilt.
1888 * configure.in: Always ask gcc for threads package.
1890 2001-08-17 Tom Tromey <tromey@redhat.com>
1892 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1893 merged local changes.
1895 2001-08-02 David Billinghurst <David.Billinghurst>
1897 * configure: Rebuilt.
1898 * configure.in: POSIX threads on cygwin does not link with
1901 2001-07-03 Tom Tromey <tromey@redhat.com>
1903 Fix for PR bootstrap/3281:
1904 * aclocal.m4, configure, Makefile.in: Rebuilt.
1905 * acinclude.m4: Set mkinstalldirs for in-tree build.
1907 2001-06-26 Richard Henderson <rth@redhat.com>
1909 * alpha_mach_dep.s: Mark call-saved FP registers.
1910 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1911 * configure.in (alpha*): Re-enable alpha_mach_dep.s
1912 * configure: Rebuild.
1914 2001-06-12 Tom Tromey <tromey@redhat.com>
1916 * aclocal.m4, configure: Rebuilt.
1917 * acinclude.m4: Find configure.host in srcdir.
1919 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1921 * configure.in (AC_EXEEXT): Work around in case it expands to
1922 nothing, as in autoconf 2.50.
1923 * acinclude.m4: Likewise.
1924 * aclocal.m4, configure: Rebuilt.
1926 2001-06-07 Tom Tromey <tromey@redhat.com>
1928 For PR bootstrap/3075:
1929 * configure, aclocal.m4, Makefile.in: Rebuilt.
1930 * configure.in: Don't call AC_CONFIG_AUX_DIR or
1931 AC_CANONICAL_SYSTEM.
1932 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1933 AC_CANONICAL_SYSTEM here.
1934 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1937 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1939 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1940 (libgcjgc_la_SOURCES): Remove typo.
1941 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1942 * Makefile.in: Rebuilt.
1944 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1946 Imported version version 6.0alpha7.
1948 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1949 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1950 README.rs6000, README.sgi, README.solaris2, README.uts,
1951 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1952 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1953 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1954 hpux_irix_threads.c, makefile.depend, nursery.c,
1955 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1956 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1957 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1958 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1961 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1963 * configure.host: Build with -fexceptions.
1964 * linux_threads.c: Remember which thread stopped world for
1966 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1967 with final tuning by Bryce McKinlay
1969 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1970 * configure: Rebuilt.
1972 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1974 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1975 (GC_noop1): Change declaration to take one argument.
1977 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1979 * configure.in: Obtain THREADS with `gcc -v'.
1980 * configure: Rebuilt.
1982 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1984 * misc.c: Back out buggy changes to stack clearing code.
1985 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1986 spent clearing memory.
1988 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1991 - Accomodate finalization requests for static objects.
1992 (Will be required by hash synchronization. May be needed
1993 in some configurations now.)
1996 - Define MIN_WORDS. All allocation requests are rounded
1997 up to at least this size. Removes a subtle assumption that
1998 Java objects have a 2 word header.
2001 - Adjust Linux/IA64 configuration for non-ancient kernels.
2002 (Necessary fix for IA64.)
2005 - Fix syntax error in currently unused code. Will be needed
2013 - Change stack cleaning code to typically clear about one tenth
2014 the memory it used to in the threads configuration. Occasionally
2015 still clear more. (This is really a fix for a long-standing
2016 and fairly significant performance bug with threads.)
2019 - Fix the code for finding the beginning of the data segment under
2020 Linux. I believe this is necessary for some IA64 Linux
2021 distributions. It will also helo other platforms, though those
2022 may additionally require a gcconfig.h adjustment. (This basically
2023 works around the absence of a data_start or __data_start
2024 definition in glibc.)
2027 - Handle rounding due to MIN_WORDS.
2029 2001-03-22 Tom Tromey <tromey@redhat.com>
2031 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
2033 2001-03-19 Tom Tromey <tromey@redhat.com>
2035 * Makefile.in: Rebuilt.
2036 * Makefile.am (gctest_LDFLAGS): new macro.
2038 2001-03-16 Tom Tromey <tromey@redhat.com>
2040 * Makefile.in: Rebuilt.
2041 * Makefile.am (TESTS_ENVIRONMENT): New macro.
2043 2001-01-23 Rod Stewart <stewart@lab43.org>
2045 * gcconfig.h: Check for `__arm__', not `arm'.
2047 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
2049 * configure.in: Rename THREADLIB to THREADLIBS.
2050 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
2051 ensures that we link the correct version of the linuxthreads semaphore
2053 * Makefile.in: Rebuilt.
2054 * configure: Rebuilt.
2056 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
2057 list of signals which are not blocked during suspend in the NO_SIGNALS
2060 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
2062 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
2064 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
2066 * Makefile.dist: Renamed from Makefile.orig.
2068 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
2070 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
2071 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
2073 * Makefile.in: Rebuilt.
2074 * configure: Likewise.
2076 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
2078 * gcconfig.h: Add new case for powerpc EABI.
2079 [PPC]: Handle embedded OS for powerpc simulator.
2081 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
2083 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
2084 cross-compile configuration only.
2085 * Makefile.am: Build gcj_mlc.c.
2086 * configure, Makefile.in: Rebuilt.
2088 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
2090 * acinclude.m4: Include libtool macros from the top level.
2091 * aclocal.m4, configure: Rebuilt.
2093 2000-09-04 Anthony Green <green@redhat.com>
2095 Fix for PR libgcj/230:
2096 * mark.c (GC_mark_from_mark_stack): Remove call to
2097 GC_debug_object_start.
2098 * gc_priv.h (GC_debug_object_start): Remove prototype.
2100 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2102 * gcconfig.h [OSF1] (_end): Declare as `int'.
2104 2000-08-02 Tom Tromey <tromey@cygnus.com>
2106 * gc_priv.h (GC_generic_malloc_inner): Prototype.
2107 (GC_generic_malloc): Likewise.
2108 (GC_add_to_black_list_normal): Likewise.
2109 (GC_find_header): Likewise.
2110 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
2111 * gc_mark.h (GC_find_start): Prototype.
2112 (GC_signal_mark_stack_overflow): Likewise.
2114 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
2116 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
2117 * configure: Rebuilt.
2119 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
2121 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
2123 Imported version 5.1.
2124 * acinclude.m4: Push version to 5.1.
2126 2000-06-19 Andrew Haley <aph@cygnus.com>
2128 * os_dep.c (read): Pass two dummy args to syscall().
2130 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
2132 Imported 5.0 release version.
2133 * acinclude.m4: Increment version to 5.0.
2135 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
2137 Imported version 5.0alpha7.
2138 * acinclude.m4: Update version to 5.0a7.
2140 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2142 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
2143 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
2144 - sparc glibc does not provide it.
2145 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
2146 Make STACKBOTTOM depend on the wordsize.
2147 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
2148 (struct frame): Declare on sparc*-linux*.
2149 (GC_save_callers): Bias the frame pointers if needed (sparc64).
2150 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
2151 Implement on sparc64.
2152 (GC_clear_stack_inner): Implement on sparc64.
2153 * gc_priv.h (GC_test_and_set): Implement for sparc.
2154 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
2155 GC_save_regs_in_stack on sparc.
2157 2000-04-23 Tom Tromey <tromey@cygnus.com>
2159 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
2161 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
2163 Imported version version 5.0alpha6.
2164 * acinclude.m4: Bump version to 5.0a6.
2165 * configure.in: Don't use alpha_mach_dep.s.
2166 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
2168 * Makefile.am, Makefile.in: irix_threads.c is now
2169 hpux_irix_threads.c.
2170 * Makefile.orig: Updated from gc distribution Makefile.
2172 2000-03-26 Anthony Green <green@redhat.com>
2174 * misc.c (GC_enable): Always define GC_enable and GC_disable.
2176 2000-02-14 Tom Tromey <tromey@cygnus.com>
2178 * gc.h (dlopen): Define as GC_dlopen on Linux.
2179 (GC_dlopen): Declare on Linux.
2180 * dyn_load.c (GC_dlopen): Define for Linux.
2182 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
2184 * gcconfig.h (DATASTART): Add missing extern declaration
2185 for data_start on powerpc.
2187 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
2189 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
2192 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
2194 * gcconfig.h: Define DATASTART for Alpha Linux.
2196 1999-12-19 Anthony Green <green@cygnus.com>
2198 * gcconfig.h: Use libgcj hack for Alpha Linux.
2199 Undefine MPROTEXT_VDB (from Jeff Sturm).
2200 * os_dep.c: Remove Alpha Linux hacks.
2203 1999-12-13 Tom Tromey <tromey@cygnus.com>
2205 * aclocal.m4, configure: Rebuilt.
2206 * acinclude.m4: Changed version to 5.0a4.
2207 * Makefile.in: Rebuilt.
2208 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
2210 1999-12-12 Anthony Green <green@cygnus.com>
2212 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
2214 (DYNAMIC_LOADING): Define for PowerPC Linux.
2215 * os_dep.c: Remove some special cases for PowerPC Linux.
2216 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
2219 1999-11-04 Tom Tromey <tromey@cygnus.com>
2221 * Makefile.in: Rebuilt.
2222 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
2224 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
2225 (GC_thr_init): Don't declare.
2227 * configure: Rebuilt.
2228 * configure.in: Removed qt threads case.
2229 * dyn_load.c: Don't mention QUICK_THREADS.
2230 * os_dep.c: Don't mention QUICK_THREADS.
2231 * misc.c: Don't mention QUICK_THREADS.
2232 * gcconfig.h: Don't mention QUICK_THREADS.
2233 * gc_priv.h: Removed QUICK_THREADS code.
2234 * quick_threads.c: Removed.
2236 1999-11-03 Tom Tromey <tromey@cygnus.com>
2238 * gcconfig.h: Merged in local changes from old config.h.
2240 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
2242 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
2244 1999-11-02 Tom Tromey <tromey@cygnus.com>
2246 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
2248 * configure: Rebuilt.
2249 * configure.in: Don't create boehm-config.h.
2250 * Makefile.in: Rebuilt.
2251 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
2253 ($(all_objs)): Depend on gcconfig.h.
2254 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
2255 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
2256 * config.h: Removed.
2258 1999-11-01 Tom Tromey <tromey@cygnus.com>
2260 * Makefile.in: Rebuilt.
2261 * Makefile.am (gctest_LDADD): Added THREADLIB.
2263 * configure: Rebuilt.
2264 * configure.in (INCLUDES): New subst.
2266 1999-09-29 Steve Chamberlain <sac@pobox.com>
2268 * config.h: Added picoJava target.
2269 * mach_dep.h (GC_push_regs): New code for picoJava.
2271 1999-09-28 Tom Tromey <tromey@cygnus.com>
2273 * aclocal.m4, configure: Rebuilt.
2274 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
2275 appropriate AC_PROG_ symbol.
2277 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2279 * gc_priv.h: IRIX thread changes from
2280 include/private/gc_priv.h.
2282 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2284 * Makefile.in: Rebuilt.
2285 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
2288 * configure: Rebuilt.
2289 * configure.in: Properly align --help output, fix capitalization
2291 * acinclude.m4: Likewise.
2293 1999-08-04 Tom Tromey <tromey@cygnus.com>
2295 * configure.in: Added missing `;;'. From Anthony Green.
2297 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2299 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
2301 1999-08-03 Tom Tromey <tromey@cygnus.com>
2303 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
2304 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2306 1999-08-02 Tom Tromey <tromey@cygnus.com>
2308 * aclocal.m4, configure: Rebuilt for new libtool.
2310 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
2312 * mips_sgi_mach_dep.s: Enable PIC option.
2314 1999-07-19 Tom Tromey <tromey@cygnus.com>
2316 * config.h (MPROTECT_VDB): Don't define on Linux.
2318 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2320 * Makefile.am (.s.lo): Avoid `#line' directives.
2321 * Makefile.in: Rebuilt.
2323 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2325 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
2326 generate *-recursive for this Makefile, use *-am instead.
2327 * Makefile.in: Rebuilt.
2329 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
2331 * Makefile.am (.s.lo): Renamed from `.s.o'.
2332 * Makefile.in: Rebuilt.
2334 1999-06-21 Tom Tromey <tromey@cygnus.com>
2336 Alpha patch from Jeff Sturm:
2337 * os_dep.c (GC_init_linuxalpha): New function.
2338 * misc.c: Initialize for alpha linux.
2339 * gc_priv.h (GC_test_and_set): Define for alpha.
2340 * config.h: Don't assume __data_start on alpha.
2342 * Makefile.in: Rebuilt.
2343 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
2346 * Makefile.in: Rebuilt.
2347 * Makefile.am (toolexeclibdir): Define as libdir when
2349 * configure: Rebuilt.
2350 * configure.in (USE_LIBDIR): New conditional.
2352 * configure: Rebuilt.
2353 * configure.in: Recognize all forms of alpha.
2355 1999-06-17 Anthony Green <green@cygnus.com>
2357 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
2358 Carlo Dapor <carlo@vis.ethz.ch>).
2360 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
2362 * configure.in: Switch from irix threads to posix threads
2363 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
2364 for mips architecture.
2365 * configure: Regenerate.
2367 1999-04-30 Tom Tromey <tromey@cygnus.com>
2369 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
2371 1999-04-26 Tom Tromey <tromey@cygnus.com>
2373 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2376 1999-04-23 Tom Tromey <tromey@cygnus.com>
2378 * Makefile.in, configure: Rebuilt.
2379 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2380 (libgcjgc_la_SOURCES): Renamed.
2381 (libgcjgc_la_LIBADD): Likewise.
2382 (libgcjgc_la_DEPENDENCIES): Likewise.
2383 (EXTRA_libgcjgc_la_SOURCES): Likewise.
2384 (gctest_LDADD): Use libgcjgc.la.
2385 (all_objs): Mention libgcj_la_OBJECTS.
2386 (EXTRA_LTLIBRARIES): Renamed.
2387 (toollib_LTLIBRARIES): Likewise.
2388 (libgcjgc_la_LDFLAGS): New macro
2389 (toolexecdir): Renamed.
2390 (toolexeclibdir): Likewise.
2391 (toolexeclib_LTLIBRARIES): Likewise.
2392 (LTCOMPILE): Renamed; added libtool invocation.
2393 (LINK): Added libtool invocation.
2394 (.s.o): use LTCOMPILE.
2395 * configure.in: Call AM_PROG_LIBTOOL.
2396 (target_all): Set to libgcjgc.la.
2397 Mention `.lo' forms of object files.
2399 1999-04-21 Tom Tromey <tromey@cygnus.com>
2401 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2404 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2405 sigcontext.h. From Matthias Klose <doko@itso.de>.
2407 1999-04-16 Tom Tromey <tromey@cygnus.com>
2409 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
2410 David Pettersson <dapet@mai.liu.se>
2412 1999-04-14 Tom Tromey <tromey@cygnus.com>
2414 * configure: Rebuilt.
2415 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
2416 incorrect patch of 199-04-09.
2418 * configure: Rebuilt.
2419 * configure.in: Added support for alpha.
2420 From David Pettersson <dapet@mai.liu.se>.
2422 1999-04-13 Tom Tromey <tromey@cygnus.com>
2424 * Makefile.in: Rebuilt.
2425 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2428 1999-04-09 Tom Tromey <tromey@cygnus.com>
2430 * configure: Rebuilt.
2431 * configure.in: Use sparc_mach_dep.s when building on Solaris.
2433 1999-02-23 Tom Tromey <tromey@cygnus.com>
2435 * configure: Rebuilt.
2436 * configure.in: For Linux, define _REENTRANT. For Solaris, define
2437 SOLARIS_THREADS and _SOLARIS_PTHREADS.
2439 1999-02-18 Tom Tromey <tromey@cygnus.com>
2441 * quick_threads.c (GC_push_all_stacks): Change order of arguments
2442 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
2443 for case where LO is NULL.
2445 1999-02-10 Tom Tromey <tromey@cygnus.com>
2447 * aclocal.m4, configure, Makefile.in: Rebuilt.
2448 * acinclude.m4: Updated to be used with automake 1.4.
2449 * configure.in: Renamed libgc to libgcjgc. Updated to be used
2451 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2452 (libgcjgc_a_SOURCES): Likewise.
2453 (libgcjgc_a_LIBADD): Likewise.
2454 (libgcjgc_a_DEPENDENCIES): Likewise.
2455 (EXTRA_libgcjgc_a_SOURCES): Likewise.
2456 (gctest_LDADD): Likewise.
2457 (all_objs): Likewise.
2459 1999-01-08 Tom Tromey <tromey@cygnus.com>
2461 * configure: Rebuilt.
2462 * configure.in: Define LINUX_THREADS if using POSIX threads on
2465 * gc_priv.h (GC_test_and_set): Put return type into definition.
2467 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
2469 * Makefile.am: add support for eCos. In particular, add C++
2470 support for compiling the file ecos.cc.
2471 * ecos.cc: new file.
2472 * acinclude.m4: add C++ support.
2473 * aclocal.m4: likewise
2474 * config.h: add eCos support.
2475 * configure: likewise
2476 * configure.in: likewise
2477 * misc.c (GC_write): add eCos support.
2478 * os_dep.c (tiny_sbrk): add eCos support.
2480 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
2482 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2483 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2485 1998-11-23 Tom Tromey <tromey@cygnus.com>
2487 * configure.host (boehm_gc_cflags): Don't add `-O2'.
2489 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
2491 * Makefile.am, Makefile.in, configure.host: tx39 build option
2494 1998-11-17 Tom Tromey <tromey@cygnus.com>
2496 * configure: Rebuilt.
2497 * configure.in: Switch on host, not target.
2499 1998-11-16 Tom Tromey <tromey@cygnus.com>
2501 * gc_priv.h (GC_debug_object_start): Declare.
2502 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2503 * gc.h (GC_debug_register_finalizer_no_order,
2504 GC_register_finalizer_no_order): Declare.
2505 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2506 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2507 (GC_debug_generic_malloc): Likewise.
2508 (GC_debug_object_start): new function.
2510 1998-11-11 Tom Tromey <tromey@cygnus.com>
2512 * configure: Rebuilt.
2513 * configure.in: Recognize --enable-java-gc, not --enable-gc.
2515 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2517 * dyn_load.c: Handle QUICK_THREADS case.
2519 1998-10-21 Tom Tromey <tromey@cygnus.com>
2521 * configure: Rebuilt.
2522 * configure.in: Put cpp defines here, not in config.h. Recognize
2523 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
2524 define PACKAGE or VERSION.
2525 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2528 * os_dep.c (GC_default_push_other_roots): Define when
2529 QUICK_THREADS defined.
2530 * misc.c: Added QUICK_THREADS case.
2531 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2532 * config.h (THREADS): Define if QUICK_THREADS defined.
2533 * Makefile.in: Rebuilt.
2534 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2536 * quick_threads.c: New file.
2538 1998-10-20 Tom Tromey <tromey@cygnus.com>
2540 * aclocal.m4, configure: Rebuilt.
2541 * acinclude.m4: Don't subst machine_dir or sys_dir.
2542 * configure.host: Removed unused code.
2544 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
2546 * configure: Rebuilt.
2547 * configure.in: Fix typo in previous patch.
2549 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
2551 * Makefile.in, aclocal.m4, configure: Rebuilt.
2552 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2553 * configure.host: Created.
2555 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
2557 * Makefile.in: Rebuilt.
2558 * Makefile.am (lib_LIBRARIES): Use target_all.
2559 (EXTRA_LIBRARIES): New macro.
2560 * configure: Rebuilt.
2561 * configure.in: Recognize --enable-gc.
2563 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
2565 * Makefile.in: Rebuilt.
2566 * Makefile.am (COMPILE): Define.
2568 (.s.o): Use MY_CFLAGS.
2569 * configure: Rebuilt.
2570 * configure.in (MY_CFLAGS): Define and subst.
2572 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
2574 * configure: Rebuilt.
2575 * configure.in: Added --with-cross-host argument. Use
2576 $with_cross_host to determine when cross-compiling.
2578 * config.h (SMALL_CONFIG): Don't define.
2579 * configure: Rebuilt.
2580 * configure.in: Define SMALL_CONFIG when cross-compiling.
2582 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
2584 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2585 allchblk.c: Merged with 4.13a2 while preserving local changes.
2587 * Makefile.orig: Updated from Makefile in 4.13a2.
2589 * configure: Rebuilt.
2590 * configure.in: Updated version number to 4.13a2. On Solaris,
2591 don't build with -O when using gcc.
2593 Merged in version 4.13alpha2:
2594 * config.h (USE_MMAP): Re-enable on Solaris.
2595 * solaris_pthreads.c: Removed RCS Id line.
2596 * alpha_mach_dep.s: Removed RCS Id line.
2598 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
2600 * config.h (USE_MMAP): Don't define for Solaris.
2602 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
2604 * Makefile.in: Rebuilt.
2605 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2607 * Makefile.in: Rebuilt.
2608 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2610 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
2612 * Makefile.in: Rebuilt.
2613 * Makefile.am ($(all_objs)): Depend on config.h.
2615 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2616 DATASTART as &_etext.
2617 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2618 * configure: Rebuilt.
2619 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2622 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
2624 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2625 (GC_maybe_gc): Likewise.
2626 * os_dep.c: If NO_SIGSET defined, then have empty
2627 GC_disable_signals and GC_enable_signals.
2628 * configure: Rebuilt.
2629 * configure.in: Added --with-target-subdir option. If
2630 cross-compiling, define NO_SIGSET and NO_CLOCK.
2632 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
2634 * Makefile.in: Rebuilt.
2635 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2637 * aclocal.m4, configure: Rebuilt.
2638 * acinclude.m4: New file.
2639 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
2641 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
2643 * configure: Rebuilt.
2644 * configure.in: Link boehm-config.h to config.h.
2645 * Makefile.in: Rebuilt.
2646 * Makefile.am (INCLUDES): Removed.
2647 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2648 JAVA_FINALIZATION): Define
2650 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
2652 * Many files: Use GC_bool, not bool.
2653 * gc_priv.h: Define GC_bool, not bool.
2655 * misc.c (GC_dont_gc): Define as int.
2656 (GC_quiet): Likewise.
2657 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2658 * alloc.c (GC_dont_expand): Define as int.
2659 * gc_priv.h: For gcc, define bool as char.
2661 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
2663 * Makefile.in: Rebuilt.
2664 * Makefile.am (check_PROGRAMS): New macro.
2665 (gctest_SOURCES): Likewise.
2666 (gctest_LDADD): Likewise.
2668 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
2670 * Makefile.in: Rebuilt.
2671 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2672 * configure: Rebuilt.
2673 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2675 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2677 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2679 * Makefile.orig: Renamed from Makefile.