1 2013-09-04 Matthias Klose <doko@ubuntu.com>
3 * Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS.
4 * Makefile.in: Regenerate.
6 2013-03-16 Yvan Roux <yvan.roux@linaro.org>
8 * include/private/gcconfig.h (AARCH64): New macro (defined only if
10 (CPP_WORDSZ): Define for AArch64.
11 (MACH_TYPE): Likewise.
12 (ALIGNMENT): Likewise.
15 (LINUX_STACKBOTTOM): Likewise.
16 (USE_GENERIC_PUSH_REGS): Likewise.
17 (DYNAMIC_LOADING): Likewise.
18 (DATASTART): Likewise.
20 (STACKBOTTOM): Likewise.
22 (mach_type_known): Define for AArch64 and comment update.
24 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
26 * os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New
28 [!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS &&
29 !ECOS] (GC_get_stack_base): Use it.
30 * include/private/gcconfig.h [SPARC && SUNOS5]
31 (SOLARIS_STACKBOTTOM): Define.
32 (STACKBOTTOM, HEURISTIC2): Remove.
34 (SOLARIS_STACKBOTTOM): Define.
35 (STACKBOTTOM): Remove.
37 2012-11-04 Samuel Thibault <samuel.thibault@gnu.org>
39 * configure.ac: Add stanza for *-*-gnu* threads configuration.
40 * configure: Regenerate.
41 * include/gc_config.h.in: Likewise.
42 * dyn_load.c (_GNU_SOURCE): Define for __GNU__.
43 * include/gc_config_macros.h (_REENTRANT, GC_PTHREADS): Define for
45 * include/private/gcconfig.h (DATASTART): Don't define for I386 &&
47 (SIG_SUSPEND, SIG_THR_RESTART, SEARCH_FOR_DATA_START): Define for
49 (UNIX_LIKE, REGISTER_LIBRARIES_EARLY): Define for HURD.
50 * os_dep.c (GC_init_linux_data_start): Handle for HURD.
51 * pthread_support.c (GC_thr_init): Add case for GC_GNU_THREADS.
52 * specific.c: Use for GC_GNU_THREADS.
53 * threadlibs.c: Add case for GC_GNU_THREADS.
55 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
57 * configure: Regenerated.
59 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
61 * configure: Regenerated.
63 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
65 Merge upstream changes
66 * include/private/gcconfig.h: (ALIGNMENT): Set to 4 for x32.
67 (CPP_WORDSZ): Set to 32 for x32.
69 2012-02-27 Jack Howarth <howarth@bromo.med.uc.edu>
70 Patrick Marlier <patrick.marlier@gmail.com>
73 * testsuite/boehm-gc.c/thread_leak_test.c: Merge upstream changes.
75 2012-02-23 Patrick Marlier <patrick.marlier@gmail.com>
76 Jack Howarth <howarth@bromo.med.uc.edu>
79 * include/gc_config.h.in: Undefine HAVE_PTHREAD_GET_STACKADDR_NP.
80 * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with
81 pthread_get_stackaddr_np when available.
82 * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np.
83 * configure: Regenerate.
85 2012-02-10 Kai Tietz <ktietz@redhat.com>
88 * include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
89 only, if we are actual in boehm-gc's build and DLL_EXPORT
92 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
94 * configure: Regenerate.
96 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
98 * configure.ac (THREADS): Remove posix95.
99 * configure: Regenerate.
101 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
104 * configure.ac (i?86-*-solaris2.[89]): Also accept
105 x86_64-*-solaris2.1?.
106 * configure: Regenerate.
108 2011-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
111 * include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
113 * dyn_load.c [IRIX5]: Include <elf.h>.
114 Include <obj.h> for O32, <objlist.h> for N32, N64.
115 [SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
116 [SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
117 [IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
118 (__rld_obj_head): Declare.
119 (l_next, l_addr, obj_offset): Define.
120 (GC_FirstDLOpenedLinkMap): New function.
121 [SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
124 [IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
125 (GC_register_dynamic_libraries): Don't use /proc version on IRIX5.
127 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
129 * configure.ac (THREADS): Remove decosf1, irix, mach, os2.
130 * configure: Regenerate
132 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
135 * testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune): Allow for path
138 2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
141 * configure.ac (THREADCFLAGS): New variable.
142 Use it instead of INCLUDES, AM_CPPFLAGS.
143 <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
144 Remove DG/UX support.
145 (AC_CONFIG_FILES): Add testsuite/Makefile.
146 * Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
147 (SUBDIRS): Add testsuite.
148 (libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
149 (AM_CXXFLAGS): Add $(THREADCFLAGS).
150 (AM_CFLAGS): Likewise.
151 Remove TESTS related variables.
152 * Makefile.in: Regenerate.
153 * configure: Regenerate.
154 * testsuite/Makefile.am: New file.
155 * testsuite/Makefile.in: New file.
156 * testsuite/lib/boehm-gc.exp: New file.
157 * testsuite/config/default.exp: New file.
158 * testsuite/boehm-gc.c/c.exp: New file.
159 * testsuite/boehm-gc.lib/lib.exp: New file.
160 * tests/test.c: Move ...
161 * testsuite/boehm-gc.c/gctest.c: ... here.
162 * tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
163 tests/trace_test.c: Move ...
164 * testsuite/boehm-gc.c: ... here.
165 * testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
166 * tests/staticrootslib.c, tests/staticrootstest.c: Move ...
167 * testsuite/boehm-gc.lib: ... here.
168 * testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
170 * tests/test_cpp.cc: Move ...
171 * testsuite/boehm-gc.c++: ... here.
173 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
175 * configure.ac (THREADS): Remove solaris.
176 * configure: Regenerate.
178 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180 * configure: Regenerate.
182 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
184 * configure.ac: Don't use libdl on mips-sgi-irix6*.
185 * configure: Regenerate.
187 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
189 * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
190 * configure: Regenerate.
192 2010-12-10 Iain Sandoe <iains@gcc.gnu.org>
194 * powerpc_darwin_mach_dep.s: Update for m64. Add eh frames.
195 Do not build or use the picsymbol stub for Darwin >= 9.
196 * tests/test.c (reverse_test): Modify count for ppc64-darwin.
197 * pthread_support.c (GC_get_thread_stack_base): Correct a debug
200 2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
201 Mike Stump <mrs@gcc.gnu.org>
206 * dyn_load.c (GC_register_dynamic_libraries/DARWIN): Add new writable
208 (GC_dyld_name_for_hdr): Adjust layout.
209 (GC_dyld_image_add): Adjust layout, add new Darwin sections, adjust
210 debug to name the sections.
211 (GC_dyld_image_remove): Adjust layout, remove new Darwin sections,
212 adjust debug to name the sections.
213 (GC_register_dynamic_libraries): Adjust layout.
214 (GC_init_dyld): Likewise.
215 (GC_register_main_static_data): Likewise.
217 2010-10-29 Paolo Bonzini <bonzini@gnu.org>
219 * configure: Regenerate.
221 2010-10-28 Paolo Bonzini <bonzini@gnu.org>
223 * configure.ac: Rewrite DGUX check to use GC_CFLAGS, and -O0 check
224 to remove the need for MY_CFLAGS.
225 * Makefile.am: Do not use @...@ substitutions. Use AM_CXXFLAGS,
226 AM_CFLAGS and AM_LDFLAGS instead of redefining LTCOMPILE and LINK.
227 Use "override" to disable -O2 when required.
228 * configure: Regenerate.
229 * Makefile.in: Regenerate.
230 * include/Makefile.in: Regenerate.
232 2010-10-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
234 * dyn_load.c: Fix typo.
235 * pthread_support.c (GC_get_thread_stack_base) [DEBUG_THREADS]:
238 2010-06-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
240 * configure.ac (*-*-solaris2.8*): Only usr alternate thread
241 library on Solaris 8.
242 (*-*-solaris2*): Use regular thread library otherwise.
243 * configure: Regenerate.
245 2010-05-13 Uros Bizjak <ubizjak@gmail.com>
247 * tests/leak_test.c (main): Declare as int. Return 0.
248 * tests/thread_leak_test.c (main): Ditto.
249 * tests/trace_test.c (main): Ditto.
251 2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com>
254 * tests/staticrootstest.c: New test source file.
255 * tests/staticrootslib.c: New test library source file.
256 * Makefile.am (test_ldadd): New variable.
257 (gctest_LDADD): Use it.
258 (TESTS): Add leaktest, middletest and staticrootstest.
259 (check_PROGRAMS): Likewise.
260 (leaktest_SOURCES): New libtool variable definition.
261 (leaktest_LDADD): Likewise.
262 (leaktest_LDFLAGS): Likewise.
263 (leaktest_LINK): Likewise.
264 (middletest_SOURCES): Likewise.
265 (middletest_LDADD): Likewise.
266 (middletest_LDFLAGS): Likewise.
267 (middletest_LINK): Likewise.
268 (staticrootstest_SOURCES): Likewise.
269 (staticrootstest_LDADD): Likewise.
270 (staticrootstest_LDFLAGS): Likewise.
271 (staticrootstest_LINK): Likewise.
272 (check_LTLIBRARIES): Likewise.
273 (libstaticrootslib_la_SOURCES): Likewise.
274 (libstaticrootslib_la_LIBADD): Likewise.
275 (libstaticrootslib_la_LDFLAGS): Likewise.
276 (libstaticrootslib_la_DEPENDENCIES): Likewise.
277 * Makefile.in: Regenerate.
279 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
281 * Makefile.in: Regenerate.
282 * aclocal.m4: Regenerate.
283 * include/Makefile.in: Regenerate.
285 2010-03-21 Dave Korn <dave.korn.cygwin@gmail.com>
287 PR target/42811 (prerequisite)
288 * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
289 declare r_next member on Cygwin as on other windows hosts.
290 (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
291 (RT_SIZE) [CYGWIN32]: Likewise.
292 (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
294 (GC_heap_bases) [CYGWIN32]: Do define likewise.
295 (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
296 (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
297 (GC_n_heap_bases) [CYGWIN32]: Likewise.
298 (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
299 * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
300 (GET_MEM) [CYGWIN32]: Do define likewise.
301 * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
302 registration likewise.
303 * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
304 (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
306 (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
307 (GC_n_heap_bases) [CYGWIN32]: Likewise.
308 (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
309 (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
310 rather than GlobalAlloc/VirtualAlloc.
311 (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
312 of GlobalFree (even though the function body is optimised away).
313 * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
315 (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
317 (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
318 (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
319 (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
320 (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
321 (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
322 (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
323 roots and dynamic registration likewise.
324 * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
326 (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
327 (GC_cond_add_roots) [CYGWIN32]: Likewise.
328 (GC_register_main_static_data) [CYGWIN32]: Define to always return
330 (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
332 (GC_warn_fb) [CYGWIN32]: Likewise.
333 (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
334 (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
335 (GC_ignore_fb) [CYGWIN32]: Likewise.
336 (is_frame_buffer) [CYGWIN32]: Likewise.
337 (GC_dump_meminfo) [CYGWIN32]: Likewise.
338 (GC_wnt) [CYGWIN32]: Define to constant true.
339 (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
342 2009-12-09 Matthias Klose <doko@ubuntu.com>
344 * include/private/gc_locks.h: For __ARM_EABI__ define
345 GC_test_and_set GC_clear to use the atomic builtins.
347 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349 * Makefile.in: Regenerate.
350 * configure: Regenerate.
351 * include/Makefile.in: Regenerate.
353 2009-11-30 Ben Elliston <bje@au.ibm.com>
355 * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
356 compiling with GCC rather than taking the address of a local
359 2009-11-30 Ben Elliston <bje@au.ibm.com>
361 * os_dep.c: Use the POSIX signal API in preference to the BSD API.
362 Generate a compilation error if neither the POSIX nor BSD APIs can
365 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
367 * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
368 (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
369 so that library dependency resolution works with portable make.
370 * Makefile.in: Regenerate.
372 2009-09-08 Alexandre Oliva <aoliva@redhat.com>
374 * configure: Rebuilt with modified libtool.m4.
376 2009-09-03 Loren J. Rittle <ljrittle@acm.org>
378 * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
379 Define for FreeBSD 7.0+.
381 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 * configure.ac (AC_PREREQ): Bump to 2.64.
385 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
387 * Makefile.am (install-html, install-pdf): Remove.
388 * Makefile.in: Regenerate.
390 * Makefile.in: Regenerate.
391 * aclocal.m4: Regenerate.
392 * configure: Regenerate.
393 * include/Makefile.in: Regenerate.
394 * include/gc_config.h.in: Regenerate.
396 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
398 * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
400 * Makefile.in: Regenerate.
402 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
404 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
406 2009-07-17 Michael Meissner <meissner@linux.vnet.ibm.com>
409 * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
410 the __sync_lock_test_and _set and __sync_lock_release builtins on
411 the powerpc. If not GCC 4.4, fix up the constraints so that it
412 builds without error.
415 2009-07-17 Kai Tietz <kai.tietz@onevision.com>
417 * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
419 * configure: Regenerated.
421 2009-05-17 Dave Korn <dave.korn.cygwin@gmail.com>
423 * win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin.
425 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
427 * configure: Regenerate.
429 2009-02-09 Mark Mitchell <mark@codesourcery.com>
431 * Makefile.am (LTLDFLAGS): New variable.
433 * Makefile.in: Regenerated.
435 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
437 * configure: Regenerate.
439 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
440 Steve Ellcey <sje@cup.hp.com>
442 * configure: Regenerate for new libtool.
443 * Makefile.in: Ditto.
444 * include/Makefile.in: Ditto.
447 2008-07-18 Matthias Klose <doko@ubuntu.com>
449 * configure.ac (AC_CONFIG_FILES): Add threads.mk.
450 * threads.mk.in: New.
451 * Makefile.in, configure: Regenerate.
453 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
455 * Makefile.in: Regenerate.
456 * configure: Regenerate.
457 * include/Makefile.in: Regenerate.
458 * include/gc_config.h.in: Regenerate.
460 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
463 * aclocal.m4: Regenerate.
464 * configure: Regenerate.
466 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
468 * aclocal.m4: Regenerate.
469 * configure: Likewise.
470 * Makefile.in: Likewise.
471 * include/Makefile.in: Likewise.
473 2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
475 * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
476 GC_GETSECTBYNAME instead.
477 * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
478 architecture (Darwin).
480 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk>
482 * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
484 2008-01-24 David Edelsohn <edelsohn@gnu.org>
486 * configure: Regenerate.
488 2007-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
491 * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
492 up, return stack_addr instead of stack_addr - stack_size.
494 2007-08-14 David Daney <ddaney@avtrex.com>
496 * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
498 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
500 * aclocal.m4: Regenerated.
502 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
506 * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
507 Use alternate thread library in /usr/lib/lwp.
508 * configure: Regenerate.
509 * dyn_load.c: Use GC_SOLARIS_PTHREADS.
510 * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
511 * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
512 (GC_SOLARIS_THREADS): Don't define.
513 * include/private/solaris_threads.h: Remove.
514 * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
515 GC_nprocs via sysconf().
516 * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
518 (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
519 * Makefile.in: Regenerate.
520 * solaris_pthreads.c: Remove.
521 * solaris_threads.c: Remove.
523 2007-06-22 Jakub Jelinek <jakub@redhat.com>
525 * pthread_support.c (GC_get_thread_stack_base): Handle
526 pthread_getattr_np failures.
528 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
530 * configure: Regenerate.
532 2007-05-23 Steve Ellcey <sje@cup.hp.com>
534 * Makefile.in: Regenerate.
535 * configure: Regenerate.
536 * aclocal.m4: Regenerate.
537 * include/Makefile.in: Regenerate.
539 2007-05-20 Andreas Tobler <a.tobler@schweiz.org>
541 * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
542 * configure: Regenerate.
543 * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
544 * Makefile.in: Regenerate.
545 * include/Makefile.in: Regenerate.
546 * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
547 targets. Remove comments. Prepare ppc64 support for Darwin.
549 2007-04-23 Keith Seitz <keiths@redhat.com>
551 * include/gc.h (GC_is_thread_suspended): Declare.
552 * pthread_stop_world.c (GC_is_thread_suspended): New function.
554 2007-04-03 Jakub Jelinek <jakub@redhat.com>
556 * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
557 * configure: Rebuilt.
559 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
561 * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
562 (GC_register_finalizer_unreachable): Declare.
563 (GC_debug_register_finalizer_unreachable): Declare.
564 * finalize.c (GC_unreachable_finalize_mark_proc): New.
565 (GC_register_finalizer_unreachable): New.
566 (GC_finalize): Handle it.
567 * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
568 (GC_debug_register_finalizer_no_order): Fix whitespace.
570 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
572 * Makefile.am: Add dummy install-pdf target.
573 * Makefile.in: Regenerate
575 2007-02-05 Roman Zippel <zippel@linux-m68k.org>
577 * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
578 it works with Linux 2.6, reactivate MPROTECT_VDB
579 * boehm-gc/pthread_stop_world.c: save all register
582 2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
584 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
585 added defines to include/private/gc_priv.h
586 (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
587 * darwin_stop_world.c: Removed the above defines.
588 * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
589 and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
591 2007-01-17 David Daney <ddaney@avtrex.com>
593 * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
595 * configure: Regenerated.
596 * include/gc_config.h.in: Regenerated.
598 2007-01-17 Mike Stump <mrs@apple.com>
600 * os_dep.c: Fix i686-apple-darwin9 builds.
602 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
604 * aclocal.m4: Regenerate to use multi.m4.
605 * configure: Regenerate.
606 * Makefile.in: Regenerate.
608 2007-01-17 Andreas Tobler <a.tobler@schweiz.org>
610 * include/gc_config.h.in: Regenerate.
612 2007-01-16 Petr Salinger <Petr.Salinger@seznam.cz>
614 * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
616 * os_dep.c: Likewise.
618 2007-01-15 Andreas Tobler <a.tobler@schweiz.org>
620 * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
622 (catch_exception_raise): Fix typo in the I386 exc_state.
624 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
626 * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
627 HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
628 * configure: Regenerated.
629 * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
630 Added base definitions for the X86_64 Darwin port.
631 * include/private/gc_priv.h: Added definitions for Darwin MACH thread
632 operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
633 * darwin_stop_world.c: Removed THREAD_STATE info. Added
634 HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
635 with HAS_X86_THREAD_STATE32___EAX.
636 (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
638 * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
639 (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
640 Distinguish between getsectbynamefromheader_64 and
641 getsectbynamefromheader.
642 (GC_dyld_image_remove): Likewise.
643 * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
644 (catch_exception_raise): Introduce exception information for I386 and
645 X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
647 2006-12-08 Mike Stump <mrs@apple.com>
649 * configure.ac: Fix x86 darwin builds.
650 * darwin_stop_world.c: Likewise.
651 * include/private/gcconfig.h: Likewise.
652 * connfigure: Regenerate.
654 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
657 * darwin_stop_world.c: Make stack_start unsigned long.
659 2006-09-21 Sandro Tolaini <tolaini@libero.it>
661 * os_dep.c: Port to Darwin/i386
662 * darwin_stop_world.c: Likewise
663 * include/private/gcconfig.h: Likewise
665 2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
667 * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
669 * dyn_load.c: Likewise.
670 * include/gc.h: Likewise.
671 * private/gcconfig.h: Likewise.
672 * configure: Regenerate.
673 * include/gc_config.h.in: Regenerate.
675 2006-09-14 Tom Tromey <tromey@redhat.com>
678 * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
681 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
684 * configure.ac: Check for pthread_getattr_np(). Remove
685 GC_PTHREAD_SYM_VERSION detection.
686 * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
687 GC_get_thread_stack_base): New declarations.
688 * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
689 GC_get_thread_stack_base): New functions.
690 (GC_delete_thread): Don't try to free the first_thread.
691 * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
692 (pthread_create_, constr): Removed.
693 (pthread_create): Don't rename.
694 * include/gc_ext_config.h.in: Rebuilt.
695 * include/gc_pthread_redirects.h (pthread_create): Define
697 * include/gc_config.h.in: Rebuilt.
698 * configure: Rebuilt.
700 2006-06-21 Keith Seitz <keiths@redhat.com>
702 * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
703 routine if signal is received and thread is flagged SUSPENDED.
704 (suspend_self): New function.
705 (GC_suspend_thread): New function.
706 (GC_resume_thread): New function.
707 * include/gc.h (GC_suspend_thread): Declare.
708 (GC_resumet_thread): Declare.
709 * include/private/pthread_support.h (SUSPENDED): New GC_thread
712 2006-06-20 Ranjit Mathew <rmathew@gcc.gnu.org>
714 Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
715 * os_dep.c (GC_wnt): Define.
716 (GC_init_win32): Set GC_wnt.
717 * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
718 sections also on Windows 9x/ME.
720 2006-06-02 Geoffrey Keating <geoffk@apple.com>
722 * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
723 HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
724 HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
725 HAS_I386_THREAD_STATE___EAX.
726 * configure: Regenerate.
727 * include/gc_config.h.in: Regenerate.
728 * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
729 macro names to determine value.
732 (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
734 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
736 * Makefile.am: Add install-html target.
737 * Makefile.in: Regenerate.
738 * aclocal.m4: Regenerate.
739 * include/Makefile.in: Regenerate.
741 2006-03-07 Andrew Haley <aph@redhat.com>
743 * dyn_load.c (GC_has_static_roots): Declare.
744 (GC_register_dynlib_callback): Call GC_has_static_roots.
746 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
748 * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
749 GC_start_world): Call vm_deallocate to free act_list. Fix from
752 2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>
753 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
755 * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
756 Warn about POSIX threads not being supported for *-*-hpux10*.
757 * configure: Regenerate.
759 2006-02-09 Tom Tromey <tromey@redhat.com>
761 * pthread_support.c: Conditionally include dlfcn.h.
763 2006-02-06 Jakub Jelinek <jakub@redhat.com>
764 Anthony Green <green@redhat.com>
765 Tom Tromey <tromey@redhat.com>
767 * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
768 * include/gc_config.h.in: Rebuilt.
769 * include/gc_pthread_redirects.h (pthread_create): Conditionally
771 * pthread_support.c (pthread_create_): New global.
772 (constr): New function.
773 (pthread_create): Conditionally renamed.
774 * configure: Rebuilt.
775 * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
777 2006-02-04 Alan Modra <amodra@bigpond.net.au>
779 * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
780 use broken 64-bit version.
782 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
784 * darwin_stop_world.c: Change inline asm instruction to ld as ldz
787 * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
788 * Makefile.in: Regenerate.
790 2006-01-25 Bryce McKinlay <mckinlay@redhat.com>
792 * include/private/gcconfig.h: Revert to GC 6.6 version, removing
795 2006-01-24 Bryce McKinlay <mckinlay@redhat.com>
797 Import Boehm GC version 6.6.
799 2006-01-24 David Ayers <d.ayers@inode.at>
802 * include/gc.h: Fix prototype declarations for bootstrap.
804 2005-11-01 Bryce McKinlay <mckinlay@redhat.com>
806 * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
808 2005-09-15 Kazu Hirata <kazu@codesourcery.com>
810 * include/private/gc_locks.h (GC_test_and_set): Change the
811 constraint of the first operand to '0'.
813 2005-09-06 Tom Tromey <tromey@redhat.com>
816 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
819 2005-07-17 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
821 * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
823 2005-06-15 Andreas Tobler <a.tobler@schweiz.ch>
825 * os_dep.c: Add FreeBSD/PowerPC bits.
826 (GC_SysVGetDataStart): Likewise.
827 * include/private/gcconfig.h: Likewise.
829 2005-05-25 Andrew Haley <aph@redhat.com>
831 * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
834 2005-05-09 Mike Stump <mrs@apple.com>
836 * configure: Regenerate.
838 2005-04-19 Hans-Peter Nilsson <hp@axis.com>
840 * os_dep.c, include/private/gc_locks.h: Import CRIS port by
841 Simon Posnjak from gc6.4.
842 * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
844 2005-04-17 David S. Miller <davem@davemloft.net>
846 * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
847 * os_dep.c (GC_linux_stack_base): Check for bug present in some
848 Sparc glibc variants where __libc_stack_end is erroneously set
849 to "1". Fallback to procfs code in that case.
851 2005-04-12 Mike Stump <mrs@apple.com>
853 * configure: Regenerate.
855 2005-04-12 Richard Henderson <rth@redhat.com>
857 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
859 2005-03-23 Mike Stump <mrs@apple.com>
861 * darwin_stop_world.c: Update for -m64 multilib.
862 * include/private/gcconfig.h: Likewise.
863 * powerpc_darwin_mach_dep.s: Likewise.
865 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
867 * Makefile.in, include/Makefile.in: Regenerate.
869 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
871 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
872 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
874 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
877 * configure.host: Set gc_use_mmap on *-linux*.
878 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
879 * include/private/gc_priv.h: Include gc_config.h.
880 * configure, include/gc_config.h.in: Rebuilt.
882 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
884 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
885 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
887 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
889 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
890 and indent appropriately.
891 * mark_rts.c (GC_approx_sp): Access stack.
892 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
893 callee-saves registers when appropriate.
894 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
896 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
898 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
899 and include/gc_ext_config.h.
900 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
901 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
903 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
905 * configure: Regenerate.
907 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
910 Revert patches of 2004-11-26 and 2004-11-27.
912 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
914 * configure: Regenerate for libtool change.
916 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
918 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
920 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
922 Fix "PACKAGE_NAME redefined" errors.
923 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
924 and include/gc_config.h.
925 * configure: Regenerated.
926 * include/gc_config.h.in: No longer auto-generated. Define only the
927 macros needed by libjava.
928 * include/config.h.in: Generated by autoheader.
929 * include/gc.h: Include config.h, not gc_config.h.
931 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
933 * configure: Regenerate for libtool reversion.
935 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
937 * configure: Regenerate for libtool change.
939 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
941 * configure.ac (machdep): Use sparc_mach_dep.lo on
942 sparc64-sun-solaris2.* too.
943 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
944 * configure: Regenerate.
946 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
949 * configure.ac (threading): Accept 'posix95'.
950 * configure: Regenerate.
952 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
954 * Makefile.am: Define ACLOCAL_AMFLAGS.
955 * configure.ac: Remove redundant sinclude.
956 * acinclude.m4: Delete file.
957 * aclocal.m4: Regenerate.
958 * Makefile.in, include/Makefile.in: Regenerate.
959 * configure: Regenerate.
961 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
963 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
966 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
968 * include/private/gcconfig.h: Add m32r-linux target.
970 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
972 * configure.ac: Update all AC_DEFINEs to newer style.
973 * configure: Regenerate.
974 * include/gc_config.h.in: Regenerate.
976 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
978 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
979 GC_print_back_graph_stats): split GC_traverse_back_graph.
980 * backgraph.c: Dynamically grow in_progress_space.
981 * finalize.c (GC_notify_or_invoke_finalizers): also call
982 GC_print_back_graph_stats.
983 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
984 GC_print_back_height): Move delarations to header file.
985 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
986 * configure: Regenerate.
988 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
990 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
991 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
993 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
995 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
996 Reported by Danny Smith.
998 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
1000 * misc.c (GC_init): Replace lhs cast with rhs cast.
1002 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
1004 * specific.c: Check GC_LINUX_THREADS before including
1005 private/specific.h. From Richard Earnshaw.
1007 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
1009 * aclocal.m4: Remove obsolete construct for old automake.
1010 * acinclude.m4: Regenerate with aclocal 1.9.1.
1011 * configure.ac: Remove duplicate AC_WITH calls. Replace
1012 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
1013 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
1014 Remove now-redundant subst of target_noncanonical. Remove
1015 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
1016 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
1017 Use slightly more modern form of AC_INIT.
1018 * configure: Rebuild with autoconf 2.59.
1019 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
1021 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
1023 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
1024 since they're not known at this time.
1025 * solaris_pthreads.c: Likewise.
1027 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
1030 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
1032 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1034 * configure.ac (gc_cflags): Add -Iinclude.
1035 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
1036 Don't write DEFS to boehm-cflags file.
1037 * configure: Rebuilt.
1038 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
1039 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
1040 * include/gc_config_macros.h: Remove backward-compatibility
1041 redefinitions of GC_ names.
1042 * include/gc.h: Include <gc_config.h>.
1044 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1046 Import Boehm GC version 6.3.
1048 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
1050 * include/Makefile.in: Regenerate
1052 2004-07-06 Andrew Pinski <apinski@apple.com>
1054 * os-dep.c (GC_task_self): Declare as static
1055 and remove the second declaration.
1057 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
1059 * Makefile.am: Add rule for .S files to fix bootstrap on
1061 * Makefile.in: Regenerate.
1063 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
1065 * boehm-gc/configure.ac: New name of configure.in.
1066 Remove useless multilib stuff. Change uses of
1067 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
1068 * boehm-gc/configure.in: New name of configure.in.
1069 * boehm-gc/Makefile.am: Update for automake 1.8.5.
1070 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
1071 * boehm-gc/aclocal.m4: Regenerate.
1072 * boehm-gc/configure: Regenerate.
1073 * boehm-gc/Makefile.in: Regenerate.
1075 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
1077 * .cvsignore: New file.
1079 2004-04-25 Andreas Jaeger <aj@suse.de>
1081 * mark.c (GC_mark_from): Use pointer as prefetch argument.
1083 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
1085 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
1087 (PREFETCH_FOR_WRITE): Likewise.
1089 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
1091 * configure.ac: Bump AC_PREREQ to 2.59.
1092 * configure: Regenerate.
1093 * config.in: Regenerate.
1095 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
1097 * ltconfig, ltmain.sh: Remove unused files.
1098 * configure.in: Remove bogus extra early invocation of
1100 * configure: Regenerate.
1101 * mkinstalldirs, install-sh, config.sub, config.guess:
1102 Remove (now) unused files.
1103 * Makefile.in: Regenerate (losing references to vanished
1106 * configure.in: Add CCAS, CCASFLAGS for future automakes.
1107 * configure, Makefile.in, include/Makefile.in: Regenerate.
1109 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
1110 * Makefile.in: Regenerate.
1112 * configure.in: Remove bogus duplicate invocation of
1113 AM_MAINTAINER_MODE. Remove obsolete comment.
1114 * configure: Regenerate.
1116 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
1118 * aclocal.m4: Regenerate.
1119 * configure.in: Receive contents of GC_CONFIGURE macro.
1120 * configure: Regenerate.
1122 * configure.in: Remove more obsolete, bogus code.
1123 * configure: Regenerate.
1125 * acinclude.m4: Remove obsolete and bogus constructs.
1126 * aclocal.m4: Regenerate.
1127 * configure: Regnerate.
1129 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1131 * acinclude.m4: De-precious CC and CXX so that the right flags
1132 are passed down to multilibs.
1133 * aclocal.m4: Regenerate.
1134 * configure: Regenerate.
1136 2004-02-22 Zack Weinberg <zack@codesourcery.com>
1137 Nathanael Nerode <neroden@twcny.rr.com>
1138 Alexandre Oliva <aoliva@redhat.com>
1140 * config.sub, config.guess: Replace with forwarding scripts
1141 which invoke the master copies in the top level.
1143 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
1145 * acinclude.m4: Remove old no-executables workaround;
1146 add new no-executables workaround.
1147 * aclocal.m4: Regenerate.
1148 * configure.in: Change prereqs to autoconf 2.57.
1149 * configure: Regenerate with autoconf 2.57.
1151 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
1152 * configure: Regenerate.
1153 * Makefile.am: Use target_noncanonical variable from configure.
1154 * Makefile.in: Regenerate.
1155 * include/Makefile.in: Regenerate.
1157 2004-02-20 Andrew Cagney <cagney@redhat.com>
1159 * config.guess: Update from version 2002-01-10 to 2004-02-16.
1160 * config.sub: Update from version 2002-01-02 to 2004-02-16.
1162 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
1164 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
1165 * aclocal.m4: Rebuild.
1166 * configure: Regenerate.
1168 * acinclude.m4: Move certain code to configure.in.
1169 * configure.in: Receive code from acinclude.m4.
1170 * aclocal.m4: Rebuild.
1171 * configure: Regenerate.
1173 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
1175 2004-01-20 Andrew Haley <aph@redhat.com>
1177 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
1179 * configure.in: Comment change.
1181 2004-01-16 Andrew Haley <aph@redhat.com>
1183 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
1184 add for ia64; remove for MIPS.
1185 * configure: Regnerated.
1187 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
1189 * configure.in: Add in AC_PREREQ(2.13)
1191 2004-01-07 Dave Jones <davej@redhat.com>
1193 * malloc.c (GC_generic_malloc): Correct initialization typo.
1194 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
1196 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
1198 * include/private/gcconfig.h: Re-install change of 2003-04-16.
1200 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1202 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
1205 2003-10-18 Alan Modra <amodra@bigpond.net.au>
1207 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
1210 2003-10-03 Jeff Sturm <jsturm@one-point.com>
1212 * configure: Rebuild.
1214 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
1216 * configure.in: Remove NO_GETENV definition for win32.
1217 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
1218 * misc.c (GC_init_inner): Call GC_thr_init for win32.
1219 (GC_set_warn_proc): Add assertion.
1220 * win32_threads.c: Import 6.3alpha2 version.
1221 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
1223 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1225 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
1226 2.3/SPARC, there are no micro versions.
1227 Treat Solaris 10 and up alike.
1228 * configure: Regenerate.
1230 2003-09-22 Anthony Green <green@redhat.com>
1232 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
1235 2003-09-20 <green@redhat.com>
1237 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1238 check for __arm__ or __thumb__.
1240 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1242 * configure: Regenerate.
1244 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1245 Roger Sayle <roger@eyesopen.com>
1247 * configure.in: Set INCLUDES to absolute path.
1248 Save $INCLUDES in boehm-cflags, too.
1249 Set INCLUDES so it's available to config.status.
1250 * configure: Regenerate.
1252 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
1254 * include/gc.h (GC_CreateThread): Declare with WINAPI
1256 * win32_threads.c (GC_CreateThread): Make definitions consistent
1257 with declaration. Cast &thread_table[i].handle to PHANDLE
1258 in call to DuplicateHandle
1259 (thread_start): Declare as static.
1261 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
1263 * dyn_load.c: Define __private_extern__ to match Apple's system
1266 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
1268 * os_dep.c: Remove redundancy introduced in last merge.
1270 2003-07-28 Jeff Sturm <jsturm@one-point.com>
1272 Import GC 6.3alpha1.
1273 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
1274 * ChangeLog: Likewise.
1275 * Makefile.am: Likewise.
1276 * Makefile.direct: Likewise.
1277 * Makefile.dj: Likewise.
1278 * allchblk.c: Likewise.
1279 * alloc.c: Likewise.
1280 * backgraph.c: Likewise.
1281 * configure.host: Likewise.
1282 * configure.in: Likewise.
1283 * dbg_mlc.c: Likewise.
1284 * dyn_load.c: Likewise.
1285 * finalize.c: Likewise.
1286 * gc_cpp.cc: Likewise.
1287 * gc_dlopen.c: Likewise.
1288 * gcj_mlc.c: Likewise.
1289 * if_mach.c: Likewise.
1290 * mach_dep.c: Likewise.
1291 * malloc.c: Likewise.
1292 * mallocx.c: Likewise.
1294 * mark_rts.c: Likewise.
1296 * os_dep.c: Likewise.
1297 * ptr_chck.c: Likewise.
1298 * reclaim.c: Likewise.
1299 * solaris_pthreads.c: Likewise.
1300 * solaris_threads.c: Likewise.
1301 * sparc_mach_dep.S: Likewise.
1302 * threadlibs.c: Likewise.
1303 * typd_mlc.c: Likewise.
1304 * version.h: Likewise.
1305 * win32_threads.c: Likewise.
1306 * Mac_files/MacOS_Test_config.h: Likewise.
1307 * Mac_files/MacOS_config.h: Likewise.
1308 * cord/cordbscs.c: Likewise.
1309 * cord/cordprnt.c: Likewise.
1310 * cord/de_win.c: Likewise.
1311 * doc/README: Likewise.
1312 * doc/README.MacOSX: Likewise.
1313 * doc/README.changes: Likewise.
1314 * doc/README.environment: Likewise.
1315 * doc/README.ews4800: Likewise.
1316 * doc/README.linux: Likewise.
1317 * doc/README.macros: Likewise.
1318 * doc/README.win32: Likewise.
1319 * doc/debugging.html: Likewise.
1320 * doc/gcdescr.html: Likewise.
1321 * doc/tree.html: Likewise.
1322 * include/Makefile.in: Likewise.
1323 * include/gc.h: Likewise.
1324 * include/gc_cpp.h: Likewise.
1325 * include/gc_local_alloc.h: Likewise.
1326 * include/gc_mark.h: Likewise.
1327 * include/gc_pthread_redirects.h: Likewise.
1328 * include/gc_typed.h: Likewise.
1329 * include/new_gc_alloc.h: Likewise.
1330 * include/private/dbg_mlc.h: Likewise.
1331 * include/private/gc_hdrs.h: Likewise.
1332 * include/private/gc_locks.h: Likewise.
1333 * include/private/gc_pmark.h: Likewise.
1334 * include/private/gc_priv.h: Likewise.
1335 * include/private/gcconfig.h: Likewise.
1336 * include/private/solaris_threads.h: Likewise.
1337 * include/private/specific.h: Likewise.
1338 * tests/test.c: Likewise.
1339 * tests/test_cpp.cc: Likewise.
1341 * configure: Rebuild.
1342 * Makefile.in: Rebuild.
1344 * mips_sgi_mach_dep.s: Add.
1346 * alpha_mach_dep.s: Remove.
1347 * irix_threads.c: Remove.
1348 * linux_threads.c: Remove.
1349 * mips_sgi_mach_dep.S: Remove.
1351 * powerpc_macosx_mach_dep.s: Remove.
1352 * doc/Makefile.am: Remove.
1353 * doc/Makefile.in: Remove.
1355 2003-07-25 Roger Sayle <roger@eyesopen.com>
1357 * configure.host: Only use +ESdbgasm when using the HPUX native
1358 compiler on PA-Risc. It isn't recognized by GCC and is silently
1359 ignored by HP's compilers on ia64.
1361 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
1363 * configure.in: define GC_DLL under mingw if --enable-shared
1364 * configure: rebuilt
1365 * win32_threads.c: add #ifdef GC_DLL around DllMain
1367 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
1369 * include/private/gcconfig.h: Add support for arm-netbsdelf.
1371 2003-04-09 Tom Tromey <tromey@redhat.com>
1373 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
1375 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
1377 2003-03-22 Richard Henderson <rth@redhat.com>
1379 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
1380 (GC_test_and_set): Use __sync_lock_test_and_set.
1381 (GC_clear): Use volatile assignment.
1382 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
1383 (GC_memory_write_barrier): Use __sync_synchronize.
1385 2003-03-12 Andreas Schwab <schwab@suse.de>
1387 * configure.in: Avoid trailing /. in toolexeclibdir.
1388 * configure: Rebuilt.
1390 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
1391 * include/private/gcconfig.h (GC_data_start): declare when needed.
1392 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
1394 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
1395 GC_register_dynlib_callback): Register main data for static
1396 executable if dl_iterate_phdr() didn't.
1397 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
1398 if we don't expect to register main static data.
1400 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
1401 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
1402 (GC_push_roots): explicitly mark free list headers, register
1403 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
1404 * alloc.c (GC_stopped_mark): Conditionally call
1405 GC_cond_register_dynamic_libraries().
1406 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
1407 * dyn_load.c (GC_register_main_static_data): define.
1408 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
1409 no longer skip main data.
1410 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
1411 (GC_init_inner): Make main data registration conditional.
1412 * include/private/gc_priv.h (GC_register_main_static_data): declare.
1413 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
1416 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1418 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1420 * configure: Rebuilt.
1422 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
1424 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
1426 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1428 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
1429 Remove USE_LIBDIR conditional.
1430 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
1431 * Makefile.in, configure: Rebuilt.
1433 2002-12-31 Tom Tromey <tromey@redhat.com>
1436 * include/Makefile.in: Rebuilt.
1437 * include/Makefile.am (noinst_HEADERS): Renamed from
1440 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1442 * ltconfig (osf[345]): Append $major to soname_spec.
1443 Reflect this in library_names_spec.
1444 * ltmain.sh (osf): Prefix $major with . for use as extension.
1446 2002-10-02 Andreas Jaeger <aj@suse.de>
1448 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
1450 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
1452 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
1453 check for __arm__ or __thumb__.
1455 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
1457 * include/private/gcconfig: Add machine type S390. Add s390x support.
1458 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
1459 (GC_compare_and_exchange): Likewise.
1461 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
1463 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
1465 2002-08-23 Adam Megacz <adam@xwt.org>
1467 * win32_threads.cc: Removed extraneous ABORT()
1469 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1471 * Makefile.am (all-multi): Fix multilib parallel build.
1473 2002-07-18 Bo Thorsen <bo@suse.de>
1475 * include/private/gcconfig.h: Add x86-64 definitions.
1476 * os_dep.c: Add x86-64 support.
1477 * configure.in: Likewise.
1478 * configure: Regenerate.
1480 2002-07-18 H.J. Lu <hjl@gnu.org>
1482 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
1484 2002-07-18 H.J. Lu (hjl@gnu.org)
1486 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
1489 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
1492 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
1494 2002-06-09 H.J. Lu (hjl@gnu.org)
1496 * include/private/gc_locks.h (GC_test_and_set): Support
1498 (GC_TEST_AND_SET_DEFINED): Likewise.
1500 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
1502 (DATAEND): Likewise.
1503 (LINUX_STACKBOTTOM): Likewise.
1504 (STACKBOTTOM): Removed for Linux/mips.
1506 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
1508 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
1509 (GC_pthread_create): Fix typo.
1510 (GC_TRY_LOCK): Likewise.
1511 * include/private/gc_locks.h (GC_test_and_set): Only take one
1513 (LOCK): Adjust appropriately.
1514 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
1515 _SIGRTMIN is unavailable.
1517 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1519 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
1520 * aclocal.m4: Regenerate.
1521 * configure: Regenerate.
1523 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1525 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1526 script entry, and set LD to it when configuring multilibs.
1527 * configure: Rebuilt.
1529 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1531 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
1532 (noinst_LTLIBRARIES): Add libgcjgc.la.
1534 * Makefile.in: Rebuild.
1536 2002-04-22 David S. Miller <davem@redhat.com>
1538 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
1539 64-bit SPARC Linux, the __libc_stack_end technique does
1540 not work in this case.
1542 2002-04-22 Jeff Sturm <jsturm@one-point.com>
1544 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
1546 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
1548 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
1551 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
1553 * include/private/gcconfig.h (DATAEND): Update comment example
1556 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
1558 * include/private/gcconfig.h (DATAEND): Clarify comment.
1560 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
1562 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
1563 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
1565 * allchblk.c (GC_allchblk_nth): Change text and support reduced
1566 frequency for blacklist warning message.
1567 * misc.c (GC_large_alloc_warn_interval,
1568 GC_large_alloc_warn_suppressed): define.
1569 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
1570 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
1571 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
1572 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
1574 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
1576 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
1578 * include/private/gcconfig.h: Add support for an unmapped
1579 memory hole between the end of the initialized data segment
1580 and the start of the BSS on FreeBSD/i386.
1582 2002-03-30 Krister Walfridsson <cato@df.lth.se>
1584 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
1587 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
1589 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
1590 (GC_local_gcj_malloc): Add assertion.
1591 (start_mark_threads): Fix abort message.
1592 * mark.c (GC_mark_from): Generalize assertion.
1593 * reclaim.c (GC_clear_fl_links): New function.
1594 (GC_start_reclaim): Must clear some freelist links.
1595 * include/private/specific.h, specific.c: Add assertions.
1596 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
1597 Rearrange tse fields.
1599 2002-03-27 Richard Henderson <rth@redhat.com>
1601 * os_dep.c (GC_init_linux_data_start): Fix references to
1602 __data_start and _end.
1604 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
1606 * include/private/gcconfig.h: Change all likely references
1607 to linker script synthesized symbols to use this idiom:
1608 extern int etext[]; etext
1610 2002-03-25 Jeff Sturm <jsturm@one-point.com>
1612 * linux_threads.c (GC_get_nprocs): Close file descriptor.
1614 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
1616 * include/private/gcconfig.h: Add unified test for FreeBSD.
1617 Support FreeBSD/alpha.
1618 * os_dep.c: Do not include <machine/trap.h> unless available.
1619 (GC_freebsd_stack_base): Fix types.
1621 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1623 * Makefile.am: Make a convenience library.
1624 * Makefile.in: Rebuilt.
1626 2002-03-15 Anthony Green <green@redhat.com>
1628 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
1629 * configure.in: Disable use of getenv for win32 targets (some of
1630 which have broken implementations).
1631 * configure: Rebuilt.
1633 2002-03-12 Adam Megacz <adam@xwt.org>
1635 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
1636 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
1637 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
1638 statically initialized it to TRUE if compiling with GCC.
1639 * win32_threads.c (thread_start): We no longer use SEH if
1641 * mark.c (GC_mark_some): We no longer use SEH if
1644 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1646 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
1647 support is enabled, for hash synchronization.
1649 2002-02-24 Adam Megacz <adam@xwt.org>
1651 * Makefile.am: Added win32_threads.c to sources list.
1652 * win32_threads.c: Added two */'s which I had neglected.
1654 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1656 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
1657 * Makefile.in: Rebuilt.
1659 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1661 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
1663 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
1665 * mips_sgi_mach_dep.S: Likewise.
1666 * Makefile.am: Update for above changes.
1667 * Makefile.in: Rebuilt.
1669 2002-02-12 Richard Henderson <rth@redhat.com>
1671 * configure.in: Re-apply 2001-06-26 configure change.
1672 * configure: Rebuild.
1674 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1676 Imported GC 6.1 Alpha 3.
1678 * sparc_mach_dep.S: Delete incorrectly named file.
1680 2001-02-11 Adam Megacz <adam@xwt.org
1682 * configure.in: support for win32, saner
1683 cross-compile options
1685 2001-02-08 Anthony Green <green@redhat.com>
1687 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
1688 board embedded targets.
1689 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
1690 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
1691 redundant uses of ECOS.
1692 * misc.c: Use NOSYS where ECOS is being used.
1693 Don't define GC_write twice for ECOS systems.
1694 (GC_write): New function for NOSYS targets.
1696 2002-02-06 Adam Megacz <adam@xwt.org>
1698 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
1699 now exposed on all Win32 platforms.
1700 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
1701 compiles on Win32; it invokes CreateThread() if GC is built
1702 as a DLL; otherwise it registers the thread.
1703 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
1704 libgcjgc was not built as a DLL.
1706 2002-02-01 Adam Megacz <adam@xwt.org>
1708 * boehm-gc on win32 now automatically detects if it is being built
1709 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
1711 2002-01-25 David Edelsohn <edelsohn@gnu.org>
1713 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
1714 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
1715 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
1716 DATASTART and DATAEND roots.
1717 * rs6000_mach_dep.s: Add function descriptor and traceback table.
1719 2001-12-16 Jeff Sturm <jsturm@one-point.com>
1721 * dyn_load.c: Define ElfW (if needed) for all targets,
1723 (GC_FirstDLOpenedLinkMap): Use it.
1724 (GC_register_dynamic_libraries_dl): Use it.
1725 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
1728 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1731 * configure.in: Add AC_SUBST(target_alias).
1732 * configure: Regenerated.
1734 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1736 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
1737 case for GC_FREEBSD_THREADS.
1738 * configure.in (*-*-freebsd*): Clarify warning.
1739 * configure: Rebuilt.
1741 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
1742 Andreas Tobler <toa@pop.agri.ch>
1744 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
1746 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1748 * linux_threads.c (GC_init_parallel): Do not declare as a static
1750 * include/gc.h (GC_init): Declare here. Add description.
1751 * include/private/gc_priv.h (GC_init): Remove declaration.
1753 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1755 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
1756 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
1757 GC_FREEBSD_THREADS, handle strange interaction between system
1758 pthread implementation and boehm-gc signal-handler architecture.
1759 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
1761 * include/private/gcconfig.h (configuration keyed off FREEBSD):
1762 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
1763 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
1765 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
1767 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
1768 * Makefile.in: Rebuilt.
1770 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1772 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
1773 merged local changes.
1775 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1777 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
1778 Solaris 2/Intel definition.
1780 * configure.in (i?86-*-solaris2.[89]*): Define
1781 SOLARIS25_PROC_VDB_BUG_FIXED.
1782 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
1783 * configure: Regenerate.
1785 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
1786 (DATAEND): Define using _end.
1788 2001-09-11 Per Bothner <per@bothner.com>
1790 * include/Makefile.am: New file. It defines include_HEADERS.
1791 * Makefile.am (SUBDIRS): New macro, set to include.
1792 * configure.in (AC_OUTPUT): Add include/Makefile.
1794 2001-08-20 Tom Tromey <tromey@redhat.com>
1796 * configure: Rebuilt.
1797 * configure.in: Always ask gcc for threads package.
1799 2001-08-17 Tom Tromey <tromey@redhat.com>
1801 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
1802 merged local changes.
1804 2001-08-02 David Billinghurst <David.Billinghurst>
1806 * configure: Rebuilt.
1807 * configure.in: POSIX threads on cygwin does not link with
1810 2001-07-03 Tom Tromey <tromey@redhat.com>
1812 Fix for PR bootstrap/3281:
1813 * aclocal.m4, configure, Makefile.in: Rebuilt.
1814 * acinclude.m4: Set mkinstalldirs for in-tree build.
1816 2001-06-26 Richard Henderson <rth@redhat.com>
1818 * alpha_mach_dep.s: Mark call-saved FP registers.
1819 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
1820 * configure.in (alpha*): Re-enable alpha_mach_dep.s
1821 * configure: Rebuild.
1823 2001-06-12 Tom Tromey <tromey@redhat.com>
1825 * aclocal.m4, configure: Rebuilt.
1826 * acinclude.m4: Find configure.host in srcdir.
1828 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1830 * configure.in (AC_EXEEXT): Work around in case it expands to
1831 nothing, as in autoconf 2.50.
1832 * acinclude.m4: Likewise.
1833 * aclocal.m4, configure: Rebuilt.
1835 2001-06-07 Tom Tromey <tromey@redhat.com>
1837 For PR bootstrap/3075:
1838 * configure, aclocal.m4, Makefile.in: Rebuilt.
1839 * configure.in: Don't call AC_CONFIG_AUX_DIR or
1840 AC_CANONICAL_SYSTEM.
1841 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
1842 AC_CANONICAL_SYSTEM here.
1843 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
1846 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1848 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
1849 (libgcjgc_la_SOURCES): Remove typo.
1850 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
1851 * Makefile.in: Rebuilt.
1853 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1855 Imported version version 6.0alpha7.
1857 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1858 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1859 README.rs6000, README.sgi, README.solaris2, README.uts,
1860 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1861 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1862 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1863 hpux_irix_threads.c, makefile.depend, nursery.c,
1864 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1865 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1866 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1867 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1870 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1872 * configure.host: Build with -fexceptions.
1873 * linux_threads.c: Remember which thread stopped world for
1875 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1876 with final tuning by Bryce McKinlay
1878 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1879 * configure: Rebuilt.
1881 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1883 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1884 (GC_noop1): Change declaration to take one argument.
1886 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1888 * configure.in: Obtain THREADS with `gcc -v'.
1889 * configure: Rebuilt.
1891 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1893 * misc.c: Back out buggy changes to stack clearing code.
1894 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1895 spent clearing memory.
1897 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1900 - Accomodate finalization requests for static objects.
1901 (Will be required by hash synchronization. May be needed
1902 in some configurations now.)
1905 - Define MIN_WORDS. All allocation requests are rounded
1906 up to at least this size. Removes a subtle assumption that
1907 Java objects have a 2 word header.
1910 - Adjust Linux/IA64 configuration for non-ancient kernels.
1911 (Necessary fix for IA64.)
1914 - Fix syntax error in currently unused code. Will be needed
1922 - Change stack cleaning code to typically clear about one tenth
1923 the memory it used to in the threads configuration. Occasionally
1924 still clear more. (This is really a fix for a long-standing
1925 and fairly significant performance bug with threads.)
1928 - Fix the code for finding the beginning of the data segment under
1929 Linux. I believe this is necessary for some IA64 Linux
1930 distributions. It will also helo other platforms, though those
1931 may additionally require a gcconfig.h adjustment. (This basically
1932 works around the absence of a data_start or __data_start
1933 definition in glibc.)
1936 - Handle rounding due to MIN_WORDS.
1938 2001-03-22 Tom Tromey <tromey@redhat.com>
1940 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1942 2001-03-19 Tom Tromey <tromey@redhat.com>
1944 * Makefile.in: Rebuilt.
1945 * Makefile.am (gctest_LDFLAGS): new macro.
1947 2001-03-16 Tom Tromey <tromey@redhat.com>
1949 * Makefile.in: Rebuilt.
1950 * Makefile.am (TESTS_ENVIRONMENT): New macro.
1952 2001-01-23 Rod Stewart <stewart@lab43.org>
1954 * gcconfig.h: Check for `__arm__', not `arm'.
1956 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
1958 * configure.in: Rename THREADLIB to THREADLIBS.
1959 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1960 ensures that we link the correct version of the linuxthreads semaphore
1962 * Makefile.in: Rebuilt.
1963 * configure: Rebuilt.
1965 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1966 list of signals which are not blocked during suspend in the NO_SIGNALS
1969 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
1971 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1973 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
1975 * Makefile.dist: Renamed from Makefile.orig.
1977 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1979 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1980 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1982 * Makefile.in: Rebuilt.
1983 * configure: Likewise.
1985 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
1987 * gcconfig.h: Add new case for powerpc EABI.
1988 [PPC]: Handle embedded OS for powerpc simulator.
1990 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
1992 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1993 cross-compile configuration only.
1994 * Makefile.am: Build gcj_mlc.c.
1995 * configure, Makefile.in: Rebuilt.
1997 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
1999 * acinclude.m4: Include libtool macros from the top level.
2000 * aclocal.m4, configure: Rebuilt.
2002 2000-09-04 Anthony Green <green@redhat.com>
2004 Fix for PR libgcj/230:
2005 * mark.c (GC_mark_from_mark_stack): Remove call to
2006 GC_debug_object_start.
2007 * gc_priv.h (GC_debug_object_start): Remove prototype.
2009 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2011 * gcconfig.h [OSF1] (_end): Declare as `int'.
2013 2000-08-02 Tom Tromey <tromey@cygnus.com>
2015 * gc_priv.h (GC_generic_malloc_inner): Prototype.
2016 (GC_generic_malloc): Likewise.
2017 (GC_add_to_black_list_normal): Likewise.
2018 (GC_find_header): Likewise.
2019 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
2020 * gc_mark.h (GC_find_start): Prototype.
2021 (GC_signal_mark_stack_overflow): Likewise.
2023 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
2025 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
2026 * configure: Rebuilt.
2028 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
2030 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
2032 Imported version 5.1.
2033 * acinclude.m4: Push version to 5.1.
2035 2000-06-19 Andrew Haley <aph@cygnus.com>
2037 * os_dep.c (read): Pass two dummy args to syscall().
2039 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
2041 Imported 5.0 release version.
2042 * acinclude.m4: Increment version to 5.0.
2044 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
2046 Imported version 5.0alpha7.
2047 * acinclude.m4: Update version to 5.0a7.
2049 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2051 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
2052 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
2053 - sparc glibc does not provide it.
2054 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
2055 Make STACKBOTTOM depend on the wordsize.
2056 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
2057 (struct frame): Declare on sparc*-linux*.
2058 (GC_save_callers): Bias the frame pointers if needed (sparc64).
2059 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
2060 Implement on sparc64.
2061 (GC_clear_stack_inner): Implement on sparc64.
2062 * gc_priv.h (GC_test_and_set): Implement for sparc.
2063 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
2064 GC_save_regs_in_stack on sparc.
2066 2000-04-23 Tom Tromey <tromey@cygnus.com>
2068 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
2070 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
2072 Imported version version 5.0alpha6.
2073 * acinclude.m4: Bump version to 5.0a6.
2074 * configure.in: Don't use alpha_mach_dep.s.
2075 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
2077 * Makefile.am, Makefile.in: irix_threads.c is now
2078 hpux_irix_threads.c.
2079 * Makefile.orig: Updated from gc distribution Makefile.
2081 2000-03-26 Anthony Green <green@redhat.com>
2083 * misc.c (GC_enable): Always define GC_enable and GC_disable.
2085 2000-02-14 Tom Tromey <tromey@cygnus.com>
2087 * gc.h (dlopen): Define as GC_dlopen on Linux.
2088 (GC_dlopen): Declare on Linux.
2089 * dyn_load.c (GC_dlopen): Define for Linux.
2091 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
2093 * gcconfig.h (DATASTART): Add missing extern declaration
2094 for data_start on powerpc.
2096 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
2098 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
2101 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
2103 * gcconfig.h: Define DATASTART for Alpha Linux.
2105 1999-12-19 Anthony Green <green@cygnus.com>
2107 * gcconfig.h: Use libgcj hack for Alpha Linux.
2108 Undefine MPROTEXT_VDB (from Jeff Sturm).
2109 * os_dep.c: Remove Alpha Linux hacks.
2112 1999-12-13 Tom Tromey <tromey@cygnus.com>
2114 * aclocal.m4, configure: Rebuilt.
2115 * acinclude.m4: Changed version to 5.0a4.
2116 * Makefile.in: Rebuilt.
2117 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
2119 1999-12-12 Anthony Green <green@cygnus.com>
2121 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
2123 (DYNAMIC_LOADING): Define for PowerPC Linux.
2124 * os_dep.c: Remove some special cases for PowerPC Linux.
2125 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
2128 1999-11-04 Tom Tromey <tromey@cygnus.com>
2130 * Makefile.in: Rebuilt.
2131 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
2133 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
2134 (GC_thr_init): Don't declare.
2136 * configure: Rebuilt.
2137 * configure.in: Removed qt threads case.
2138 * dyn_load.c: Don't mention QUICK_THREADS.
2139 * os_dep.c: Don't mention QUICK_THREADS.
2140 * misc.c: Don't mention QUICK_THREADS.
2141 * gcconfig.h: Don't mention QUICK_THREADS.
2142 * gc_priv.h: Removed QUICK_THREADS code.
2143 * quick_threads.c: Removed.
2145 1999-11-03 Tom Tromey <tromey@cygnus.com>
2147 * gcconfig.h: Merged in local changes from old config.h.
2149 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
2151 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
2153 1999-11-02 Tom Tromey <tromey@cygnus.com>
2155 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
2157 * configure: Rebuilt.
2158 * configure.in: Don't create boehm-config.h.
2159 * Makefile.in: Rebuilt.
2160 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
2162 ($(all_objs)): Depend on gcconfig.h.
2163 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
2164 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
2165 * config.h: Removed.
2167 1999-11-01 Tom Tromey <tromey@cygnus.com>
2169 * Makefile.in: Rebuilt.
2170 * Makefile.am (gctest_LDADD): Added THREADLIB.
2172 * configure: Rebuilt.
2173 * configure.in (INCLUDES): New subst.
2175 1999-09-29 Steve Chamberlain <sac@pobox.com>
2177 * config.h: Added picoJava target.
2178 * mach_dep.h (GC_push_regs): New code for picoJava.
2180 1999-09-28 Tom Tromey <tromey@cygnus.com>
2182 * aclocal.m4, configure: Rebuilt.
2183 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
2184 appropriate AC_PROG_ symbol.
2186 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2188 * gc_priv.h: IRIX thread changes from
2189 include/private/gc_priv.h.
2191 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2193 * Makefile.in: Rebuilt.
2194 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
2197 * configure: Rebuilt.
2198 * configure.in: Properly align --help output, fix capitalization
2200 * acinclude.m4: Likewise.
2202 1999-08-04 Tom Tromey <tromey@cygnus.com>
2204 * configure.in: Added missing `;;'. From Anthony Green.
2206 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2208 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
2210 1999-08-03 Tom Tromey <tromey@cygnus.com>
2212 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
2213 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2215 1999-08-02 Tom Tromey <tromey@cygnus.com>
2217 * aclocal.m4, configure: Rebuilt for new libtool.
2219 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
2221 * mips_sgi_mach_dep.s: Enable PIC option.
2223 1999-07-19 Tom Tromey <tromey@cygnus.com>
2225 * config.h (MPROTECT_VDB): Don't define on Linux.
2227 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2229 * Makefile.am (.s.lo): Avoid `#line' directives.
2230 * Makefile.in: Rebuilt.
2232 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
2234 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
2235 generate *-recursive for this Makefile, use *-am instead.
2236 * Makefile.in: Rebuilt.
2238 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
2240 * Makefile.am (.s.lo): Renamed from `.s.o'.
2241 * Makefile.in: Rebuilt.
2243 1999-06-21 Tom Tromey <tromey@cygnus.com>
2245 Alpha patch from Jeff Sturm:
2246 * os_dep.c (GC_init_linuxalpha): New function.
2247 * misc.c: Initialize for alpha linux.
2248 * gc_priv.h (GC_test_and_set): Define for alpha.
2249 * config.h: Don't assume __data_start on alpha.
2251 * Makefile.in: Rebuilt.
2252 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
2255 * Makefile.in: Rebuilt.
2256 * Makefile.am (toolexeclibdir): Define as libdir when
2258 * configure: Rebuilt.
2259 * configure.in (USE_LIBDIR): New conditional.
2261 * configure: Rebuilt.
2262 * configure.in: Recognize all forms of alpha.
2264 1999-06-17 Anthony Green <green@cygnus.com>
2266 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
2267 Carlo Dapor <carlo@vis.ethz.ch>).
2269 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
2271 * configure.in: Switch from irix threads to posix threads
2272 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
2273 for mips architecture.
2274 * configure: Regenerate.
2276 1999-04-30 Tom Tromey <tromey@cygnus.com>
2278 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
2280 1999-04-26 Tom Tromey <tromey@cygnus.com>
2282 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
2285 1999-04-23 Tom Tromey <tromey@cygnus.com>
2287 * Makefile.in, configure: Rebuilt.
2288 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
2289 (libgcjgc_la_SOURCES): Renamed.
2290 (libgcjgc_la_LIBADD): Likewise.
2291 (libgcjgc_la_DEPENDENCIES): Likewise.
2292 (EXTRA_libgcjgc_la_SOURCES): Likewise.
2293 (gctest_LDADD): Use libgcjgc.la.
2294 (all_objs): Mention libgcj_la_OBJECTS.
2295 (EXTRA_LTLIBRARIES): Renamed.
2296 (toollib_LTLIBRARIES): Likewise.
2297 (libgcjgc_la_LDFLAGS): New macro
2298 (toolexecdir): Renamed.
2299 (toolexeclibdir): Likewise.
2300 (toolexeclib_LTLIBRARIES): Likewise.
2301 (LTCOMPILE): Renamed; added libtool invocation.
2302 (LINK): Added libtool invocation.
2303 (.s.o): use LTCOMPILE.
2304 * configure.in: Call AM_PROG_LIBTOOL.
2305 (target_all): Set to libgcjgc.la.
2306 Mention `.lo' forms of object files.
2308 1999-04-21 Tom Tromey <tromey@cygnus.com>
2310 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
2313 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
2314 sigcontext.h. From Matthias Klose <doko@itso.de>.
2316 1999-04-16 Tom Tromey <tromey@cygnus.com>
2318 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
2319 David Pettersson <dapet@mai.liu.se>
2321 1999-04-14 Tom Tromey <tromey@cygnus.com>
2323 * configure: Rebuilt.
2324 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
2325 incorrect patch of 199-04-09.
2327 * configure: Rebuilt.
2328 * configure.in: Added support for alpha.
2329 From David Pettersson <dapet@mai.liu.se>.
2331 1999-04-13 Tom Tromey <tromey@cygnus.com>
2333 * Makefile.in: Rebuilt.
2334 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
2337 1999-04-09 Tom Tromey <tromey@cygnus.com>
2339 * configure: Rebuilt.
2340 * configure.in: Use sparc_mach_dep.s when building on Solaris.
2342 1999-02-23 Tom Tromey <tromey@cygnus.com>
2344 * configure: Rebuilt.
2345 * configure.in: For Linux, define _REENTRANT. For Solaris, define
2346 SOLARIS_THREADS and _SOLARIS_PTHREADS.
2348 1999-02-18 Tom Tromey <tromey@cygnus.com>
2350 * quick_threads.c (GC_push_all_stacks): Change order of arguments
2351 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
2352 for case where LO is NULL.
2354 1999-02-10 Tom Tromey <tromey@cygnus.com>
2356 * aclocal.m4, configure, Makefile.in: Rebuilt.
2357 * acinclude.m4: Updated to be used with automake 1.4.
2358 * configure.in: Renamed libgc to libgcjgc. Updated to be used
2360 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
2361 (libgcjgc_a_SOURCES): Likewise.
2362 (libgcjgc_a_LIBADD): Likewise.
2363 (libgcjgc_a_DEPENDENCIES): Likewise.
2364 (EXTRA_libgcjgc_a_SOURCES): Likewise.
2365 (gctest_LDADD): Likewise.
2366 (all_objs): Likewise.
2368 1999-01-08 Tom Tromey <tromey@cygnus.com>
2370 * configure: Rebuilt.
2371 * configure.in: Define LINUX_THREADS if using POSIX threads on
2374 * gc_priv.h (GC_test_and_set): Put return type into definition.
2376 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
2378 * Makefile.am: add support for eCos. In particular, add C++
2379 support for compiling the file ecos.cc.
2380 * ecos.cc: new file.
2381 * acinclude.m4: add C++ support.
2382 * aclocal.m4: likewise
2383 * config.h: add eCos support.
2384 * configure: likewise
2385 * configure.in: likewise
2386 * misc.c (GC_write): add eCos support.
2387 * os_dep.c (tiny_sbrk): add eCos support.
2389 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
2391 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
2392 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
2394 1998-11-23 Tom Tromey <tromey@cygnus.com>
2396 * configure.host (boehm_gc_cflags): Don't add `-O2'.
2398 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
2400 * Makefile.am, Makefile.in, configure.host: tx39 build option
2403 1998-11-17 Tom Tromey <tromey@cygnus.com>
2405 * configure: Rebuilt.
2406 * configure.in: Switch on host, not target.
2408 1998-11-16 Tom Tromey <tromey@cygnus.com>
2410 * gc_priv.h (GC_debug_object_start): Declare.
2411 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
2412 * gc.h (GC_debug_register_finalizer_no_order,
2413 GC_register_finalizer_no_order): Declare.
2414 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
2415 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
2416 (GC_debug_generic_malloc): Likewise.
2417 (GC_debug_object_start): new function.
2419 1998-11-11 Tom Tromey <tromey@cygnus.com>
2421 * configure: Rebuilt.
2422 * configure.in: Recognize --enable-java-gc, not --enable-gc.
2424 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2426 * dyn_load.c: Handle QUICK_THREADS case.
2428 1998-10-21 Tom Tromey <tromey@cygnus.com>
2430 * configure: Rebuilt.
2431 * configure.in: Put cpp defines here, not in config.h. Recognize
2432 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
2433 define PACKAGE or VERSION.
2434 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
2437 * os_dep.c (GC_default_push_other_roots): Define when
2438 QUICK_THREADS defined.
2439 * misc.c: Added QUICK_THREADS case.
2440 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
2441 * config.h (THREADS): Define if QUICK_THREADS defined.
2442 * Makefile.in: Rebuilt.
2443 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
2445 * quick_threads.c: New file.
2447 1998-10-20 Tom Tromey <tromey@cygnus.com>
2449 * aclocal.m4, configure: Rebuilt.
2450 * acinclude.m4: Don't subst machine_dir or sys_dir.
2451 * configure.host: Removed unused code.
2453 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
2455 * configure: Rebuilt.
2456 * configure.in: Fix typo in previous patch.
2458 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
2460 * Makefile.in, aclocal.m4, configure: Rebuilt.
2461 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
2462 * configure.host: Created.
2464 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
2466 * Makefile.in: Rebuilt.
2467 * Makefile.am (lib_LIBRARIES): Use target_all.
2468 (EXTRA_LIBRARIES): New macro.
2469 * configure: Rebuilt.
2470 * configure.in: Recognize --enable-gc.
2472 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
2474 * Makefile.in: Rebuilt.
2475 * Makefile.am (COMPILE): Define.
2477 (.s.o): Use MY_CFLAGS.
2478 * configure: Rebuilt.
2479 * configure.in (MY_CFLAGS): Define and subst.
2481 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
2483 * configure: Rebuilt.
2484 * configure.in: Added --with-cross-host argument. Use
2485 $with_cross_host to determine when cross-compiling.
2487 * config.h (SMALL_CONFIG): Don't define.
2488 * configure: Rebuilt.
2489 * configure.in: Define SMALL_CONFIG when cross-compiling.
2491 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
2493 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
2494 allchblk.c: Merged with 4.13a2 while preserving local changes.
2496 * Makefile.orig: Updated from Makefile in 4.13a2.
2498 * configure: Rebuilt.
2499 * configure.in: Updated version number to 4.13a2. On Solaris,
2500 don't build with -O when using gcc.
2502 Merged in version 4.13alpha2:
2503 * config.h (USE_MMAP): Re-enable on Solaris.
2504 * solaris_pthreads.c: Removed RCS Id line.
2505 * alpha_mach_dep.s: Removed RCS Id line.
2507 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
2509 * config.h (USE_MMAP): Don't define for Solaris.
2511 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
2513 * Makefile.in: Rebuilt.
2514 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
2516 * Makefile.in: Rebuilt.
2517 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
2519 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
2521 * Makefile.in: Rebuilt.
2522 * Makefile.am ($(all_objs)): Depend on config.h.
2524 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
2525 DATASTART as &_etext.
2526 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
2527 * configure: Rebuilt.
2528 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
2531 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
2533 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
2534 (GC_maybe_gc): Likewise.
2535 * os_dep.c: If NO_SIGSET defined, then have empty
2536 GC_disable_signals and GC_enable_signals.
2537 * configure: Rebuilt.
2538 * configure.in: Added --with-target-subdir option. If
2539 cross-compiling, define NO_SIGSET and NO_CLOCK.
2541 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
2543 * Makefile.in: Rebuilt.
2544 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
2546 * aclocal.m4, configure: Rebuilt.
2547 * acinclude.m4: New file.
2548 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
2550 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
2552 * configure: Rebuilt.
2553 * configure.in: Link boehm-config.h to config.h.
2554 * Makefile.in: Rebuilt.
2555 * Makefile.am (INCLUDES): Removed.
2556 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
2557 JAVA_FINALIZATION): Define
2559 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
2561 * Many files: Use GC_bool, not bool.
2562 * gc_priv.h: Define GC_bool, not bool.
2564 * misc.c (GC_dont_gc): Define as int.
2565 (GC_quiet): Likewise.
2566 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
2567 * alloc.c (GC_dont_expand): Define as int.
2568 * gc_priv.h: For gcc, define bool as char.
2570 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
2572 * Makefile.in: Rebuilt.
2573 * Makefile.am (check_PROGRAMS): New macro.
2574 (gctest_SOURCES): Likewise.
2575 (gctest_LDADD): Likewise.
2577 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
2579 * Makefile.in: Rebuilt.
2580 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
2581 * configure: Rebuilt.
2582 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
2584 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
2586 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
2588 * Makefile.orig: Renamed from Makefile.