1 2005-04-12 Richard Henderson <rth@redhat.com>
3 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
5 2005-03-23 Mike Stump <mrs@apple.com>
7 * darwin_stop_world.c: Update for -m64 multilib.
8 * include/private/gcconfig.h: Likewise.
9 * powerpc_darwin_mach_dep.s: Likewise.
11 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
13 * Makefile.in, include/Makefile.in: Regenerate.
15 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
17 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
18 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
20 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
23 * configure.host: Set gc_use_mmap on *-linux*.
24 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
25 * include/private/gc_priv.h: Include gc_config.h.
26 * configure, include/gc_config.h.in: Rebuilt.
28 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
30 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
31 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
33 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
35 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
36 and indent appropriately.
37 * mark_rts.c (GC_approx_sp): Access stack.
38 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
39 callee-saves registers when appropriate.
40 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
42 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
44 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
45 and include/gc_ext_config.h.
46 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
47 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
49 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
51 * configure: Regenerate.
53 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
56 Revert patches of 2004-11-26 and 2004-11-27.
58 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
60 * configure: Regenerate for libtool change.
62 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
64 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
66 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
68 Fix "PACKAGE_NAME redefined" errors.
69 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
70 and include/gc_config.h.
71 * configure: Regenerated.
72 * include/gc_config.h.in: No longer auto-generated. Define only the
73 macros needed by libjava.
74 * include/config.h.in: Generated by autoheader.
75 * include/gc.h: Include config.h, not gc_config.h.
77 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
79 * configure: Regenerate for libtool reversion.
81 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
83 * configure: Regenerate for libtool change.
85 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
87 * configure.ac (machdep): Use sparc_mach_dep.lo on
88 sparc64-sun-solaris2.* too.
89 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
90 * configure: Regenerate.
92 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
95 * configure.ac (threading): Accept 'posix95'.
96 * configure: Regenerate.
98 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
100 * Makefile.am: Define ACLOCAL_AMFLAGS.
101 * configure.ac: Remove redundant sinclude.
102 * acinclude.m4: Delete file.
103 * aclocal.m4: Regenerate.
104 * Makefile.in, include/Makefile.in: Regenerate.
105 * configure: Regenerate.
107 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
109 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
112 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
114 * include/private/gcconfig.h: Add m32r-linux target.
116 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
118 * configure.ac: Update all AC_DEFINEs to newer style.
119 * configure: Regenerate.
120 * include/gc_config.h.in: Regenerate.
122 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
124 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
125 GC_print_back_graph_stats): split GC_traverse_back_graph.
126 * backgraph.c: Dynamically grow in_progress_space.
127 * finalize.c (GC_notify_or_invoke_finalizers): also call
128 GC_print_back_graph_stats.
129 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
130 GC_print_back_height): Move delarations to header file.
131 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
132 * configure: Regenerate.
134 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
136 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
137 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
139 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
141 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
142 Reported by Danny Smith.
144 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
146 * misc.c (GC_init): Replace lhs cast with rhs cast.
148 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
150 * specific.c: Check GC_LINUX_THREADS before including
151 private/specific.h. From Richard Earnshaw.
153 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
155 * aclocal.m4: Remove obsolete construct for old automake.
156 * acinclude.m4: Regenerate with aclocal 1.9.1.
157 * configure.ac: Remove duplicate AC_WITH calls. Replace
158 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
159 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
160 Remove now-redundant subst of target_noncanonical. Remove
161 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
162 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
163 Use slightly more modern form of AC_INIT.
164 * configure: Rebuild with autoconf 2.59.
165 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
167 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
169 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
170 since they're not known at this time.
171 * solaris_pthreads.c: Likewise.
173 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
176 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
178 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
180 * configure.ac (gc_cflags): Add -Iinclude.
181 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
182 Don't write DEFS to boehm-cflags file.
183 * configure: Rebuilt.
184 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
185 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
186 * include/gc_config_macros.h: Remove backward-compatibility
187 redefinitions of GC_ names.
188 * include/gc.h: Include <gc_config.h>.
190 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
192 Import Boehm GC version 6.3.
194 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
196 * include/Makefile.in: Regenerate
198 2004-07-06 Andrew Pinski <apinski@apple.com>
200 * os-dep.c (GC_task_self): Declare as static
201 and remove the second declaration.
203 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
205 * Makefile.am: Add rule for .S files to fix bootstrap on
207 * Makefile.in: Regenerate.
209 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
211 * boehm-gc/configure.ac: New name of configure.in.
212 Remove useless multilib stuff. Change uses of
213 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
214 * boehm-gc/configure.in: New name of configure.in.
215 * boehm-gc/Makefile.am: Update for automake 1.8.5.
216 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
217 * boehm-gc/aclocal.m4: Regenerate.
218 * boehm-gc/configure: Regenerate.
219 * boehm-gc/Makefile.in: Regenerate.
221 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
223 * .cvsignore: New file.
225 2004-04-25 Andreas Jaeger <aj@suse.de>
227 * mark.c (GC_mark_from): Use pointer as prefetch argument.
229 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
231 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
233 (PREFETCH_FOR_WRITE): Likewise.
235 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
237 * configure.ac: Bump AC_PREREQ to 2.59.
238 * configure: Regenerate.
239 * config.in: Regenerate.
241 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
243 * ltconfig, ltmain.sh: Remove unused files.
244 * configure.in: Remove bogus extra early invocation of
246 * configure: Regenerate.
247 * mkinstalldirs, install-sh, config.sub, config.guess:
248 Remove (now) unused files.
249 * Makefile.in: Regenerate (losing references to vanished
252 * configure.in: Add CCAS, CCASFLAGS for future automakes.
253 * configure, Makefile.in, include/Makefile.in: Regenerate.
255 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
256 * Makefile.in: Regenerate.
258 * configure.in: Remove bogus duplicate invocation of
259 AM_MAINTAINER_MODE. Remove obsolete comment.
260 * configure: Regenerate.
262 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
264 * aclocal.m4: Regenerate.
265 * configure.in: Receive contents of GC_CONFIGURE macro.
266 * configure: Regenerate.
268 * configure.in: Remove more obsolete, bogus code.
269 * configure: Regenerate.
271 * acinclude.m4: Remove obsolete and bogus constructs.
272 * aclocal.m4: Regenerate.
273 * configure: Regnerate.
275 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
277 * acinclude.m4: De-precious CC and CXX so that the right flags
278 are passed down to multilibs.
279 * aclocal.m4: Regenerate.
280 * configure: Regenerate.
282 2004-02-22 Zack Weinberg <zack@codesourcery.com>
283 Nathanael Nerode <neroden@twcny.rr.com>
284 Alexandre Oliva <aoliva@redhat.com>
286 * config.sub, config.guess: Replace with forwarding scripts
287 which invoke the master copies in the top level.
289 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
291 * acinclude.m4: Remove old no-executables workaround;
292 add new no-executables workaround.
293 * aclocal.m4: Regenerate.
294 * configure.in: Change prereqs to autoconf 2.57.
295 * configure: Regenerate with autoconf 2.57.
297 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
298 * configure: Regenerate.
299 * Makefile.am: Use target_noncanonical variable from configure.
300 * Makefile.in: Regenerate.
301 * include/Makefile.in: Regenerate.
303 2004-02-20 Andrew Cagney <cagney@redhat.com>
305 * config.guess: Update from version 2002-01-10 to 2004-02-16.
306 * config.sub: Update from version 2002-01-02 to 2004-02-16.
308 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
310 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
311 * aclocal.m4: Rebuild.
312 * configure: Regenerate.
314 * acinclude.m4: Move certain code to configure.in.
315 * configure.in: Receive code from acinclude.m4.
316 * aclocal.m4: Rebuild.
317 * configure: Regenerate.
319 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
321 2004-01-20 Andrew Haley <aph@redhat.com>
323 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
325 * configure.in: Comment change.
327 2004-01-16 Andrew Haley <aph@redhat.com>
329 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
330 add for ia64; remove for MIPS.
331 * configure: Regnerated.
333 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
335 * configure.in: Add in AC_PREREQ(2.13)
337 2004-01-07 Dave Jones <davej@redhat.com>
339 * malloc.c (GC_generic_malloc): Correct initialization typo.
340 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
342 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
344 * include/private/gcconfig.h: Re-install change of 2003-04-16.
346 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
348 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
351 2003-10-18 Alan Modra <amodra@bigpond.net.au>
353 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
356 2003-10-03 Jeff Sturm <jsturm@one-point.com>
358 * configure: Rebuild.
360 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
362 * configure.in: Remove NO_GETENV definition for win32.
363 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
364 * misc.c (GC_init_inner): Call GC_thr_init for win32.
365 (GC_set_warn_proc): Add assertion.
366 * win32_threads.c: Import 6.3alpha2 version.
367 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
369 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
371 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
372 2.3/SPARC, there are no micro versions.
373 Treat Solaris 10 and up alike.
374 * configure: Regenerate.
376 2003-09-22 Anthony Green <green@redhat.com>
378 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
381 2003-09-20 <green@redhat.com>
383 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
384 check for __arm__ or __thumb__.
386 2003-09-09 Alan Modra <amodra@bigpond.net.au>
388 * configure: Regenerate.
390 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
391 Roger Sayle <roger@eyesopen.com>
393 * configure.in: Set INCLUDES to absolute path.
394 Save $INCLUDES in boehm-cflags, too.
395 Set INCLUDES so it's available to config.status.
396 * configure: Regenerate.
398 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
400 * include/gc.h (GC_CreateThread): Declare with WINAPI
402 * win32_threads.c (GC_CreateThread): Make definitions consistent
403 with declaration. Cast &thread_table[i].handle to PHANDLE
404 in call to DuplicateHandle
405 (thread_start): Declare as static.
407 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
409 * dyn_load.c: Define __private_extern__ to match Apple's system
412 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
414 * os_dep.c: Remove redundancy introduced in last merge.
416 2003-07-28 Jeff Sturm <jsturm@one-point.com>
419 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
420 * ChangeLog: Likewise.
421 * Makefile.am: Likewise.
422 * Makefile.direct: Likewise.
423 * Makefile.dj: Likewise.
424 * allchblk.c: Likewise.
426 * backgraph.c: Likewise.
427 * configure.host: Likewise.
428 * configure.in: Likewise.
429 * dbg_mlc.c: Likewise.
430 * dyn_load.c: Likewise.
431 * finalize.c: Likewise.
432 * gc_cpp.cc: Likewise.
433 * gc_dlopen.c: Likewise.
434 * gcj_mlc.c: Likewise.
435 * if_mach.c: Likewise.
436 * mach_dep.c: Likewise.
437 * malloc.c: Likewise.
438 * mallocx.c: Likewise.
440 * mark_rts.c: Likewise.
442 * os_dep.c: Likewise.
443 * ptr_chck.c: Likewise.
444 * reclaim.c: Likewise.
445 * solaris_pthreads.c: Likewise.
446 * solaris_threads.c: Likewise.
447 * sparc_mach_dep.S: Likewise.
448 * threadlibs.c: Likewise.
449 * typd_mlc.c: Likewise.
450 * version.h: Likewise.
451 * win32_threads.c: Likewise.
452 * Mac_files/MacOS_Test_config.h: Likewise.
453 * Mac_files/MacOS_config.h: Likewise.
454 * cord/cordbscs.c: Likewise.
455 * cord/cordprnt.c: Likewise.
456 * cord/de_win.c: Likewise.
457 * doc/README: Likewise.
458 * doc/README.MacOSX: Likewise.
459 * doc/README.changes: Likewise.
460 * doc/README.environment: Likewise.
461 * doc/README.ews4800: Likewise.
462 * doc/README.linux: Likewise.
463 * doc/README.macros: Likewise.
464 * doc/README.win32: Likewise.
465 * doc/debugging.html: Likewise.
466 * doc/gcdescr.html: Likewise.
467 * doc/tree.html: Likewise.
468 * include/Makefile.in: Likewise.
469 * include/gc.h: Likewise.
470 * include/gc_cpp.h: Likewise.
471 * include/gc_local_alloc.h: Likewise.
472 * include/gc_mark.h: Likewise.
473 * include/gc_pthread_redirects.h: Likewise.
474 * include/gc_typed.h: Likewise.
475 * include/new_gc_alloc.h: Likewise.
476 * include/private/dbg_mlc.h: Likewise.
477 * include/private/gc_hdrs.h: Likewise.
478 * include/private/gc_locks.h: Likewise.
479 * include/private/gc_pmark.h: Likewise.
480 * include/private/gc_priv.h: Likewise.
481 * include/private/gcconfig.h: Likewise.
482 * include/private/solaris_threads.h: Likewise.
483 * include/private/specific.h: Likewise.
484 * tests/test.c: Likewise.
485 * tests/test_cpp.cc: Likewise.
487 * configure: Rebuild.
488 * Makefile.in: Rebuild.
490 * mips_sgi_mach_dep.s: Add.
492 * alpha_mach_dep.s: Remove.
493 * irix_threads.c: Remove.
494 * linux_threads.c: Remove.
495 * mips_sgi_mach_dep.S: Remove.
497 * powerpc_macosx_mach_dep.s: Remove.
498 * doc/Makefile.am: Remove.
499 * doc/Makefile.in: Remove.
501 2003-07-25 Roger Sayle <roger@eyesopen.com>
503 * configure.host: Only use +ESdbgasm when using the HPUX native
504 compiler on PA-Risc. It isn't recognized by GCC and is silently
505 ignored by HP's compilers on ia64.
507 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
509 * configure.in: define GC_DLL under mingw if --enable-shared
511 * win32_threads.c: add #ifdef GC_DLL around DllMain
513 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
515 * include/private/gcconfig.h: Add support for arm-netbsdelf.
517 2003-04-09 Tom Tromey <tromey@redhat.com>
519 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
521 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
523 2003-03-22 Richard Henderson <rth@redhat.com>
525 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
526 (GC_test_and_set): Use __sync_lock_test_and_set.
527 (GC_clear): Use volatile assignment.
528 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
529 (GC_memory_write_barrier): Use __sync_synchronize.
531 2003-03-12 Andreas Schwab <schwab@suse.de>
533 * configure.in: Avoid trailing /. in toolexeclibdir.
534 * configure: Rebuilt.
536 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
537 * include/private/gcconfig.h (GC_data_start): declare when needed.
538 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
540 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
541 GC_register_dynlib_callback): Register main data for static
542 executable if dl_iterate_phdr() didn't.
543 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
544 if we don't expect to register main static data.
546 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
547 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
548 (GC_push_roots): explicitly mark free list headers, register
549 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
550 * alloc.c (GC_stopped_mark): Conditionally call
551 GC_cond_register_dynamic_libraries().
552 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
553 * dyn_load.c (GC_register_main_static_data): define.
554 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
555 no longer skip main data.
556 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
557 (GC_init_inner): Make main data registration conditional.
558 * include/private/gc_priv.h (GC_register_main_static_data): declare.
559 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
562 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
564 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
566 * configure: Rebuilt.
568 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
570 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
572 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
574 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
575 Remove USE_LIBDIR conditional.
576 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
577 * Makefile.in, configure: Rebuilt.
579 2002-12-31 Tom Tromey <tromey@redhat.com>
582 * include/Makefile.in: Rebuilt.
583 * include/Makefile.am (noinst_HEADERS): Renamed from
586 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
588 * ltconfig (osf[345]): Append $major to soname_spec.
589 Reflect this in library_names_spec.
590 * ltmain.sh (osf): Prefix $major with . for use as extension.
592 2002-10-02 Andreas Jaeger <aj@suse.de>
594 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
596 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
598 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
599 check for __arm__ or __thumb__.
601 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
603 * include/private/gcconfig: Add machine type S390. Add s390x support.
604 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
605 (GC_compare_and_exchange): Likewise.
607 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
609 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
611 2002-08-23 Adam Megacz <adam@xwt.org>
613 * win32_threads.cc: Removed extraneous ABORT()
615 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
617 * Makefile.am (all-multi): Fix multilib parallel build.
619 2002-07-18 Bo Thorsen <bo@suse.de>
621 * include/private/gcconfig.h: Add x86-64 definitions.
622 * os_dep.c: Add x86-64 support.
623 * configure.in: Likewise.
624 * configure: Regenerate.
626 2002-07-18 H.J. Lu <hjl@gnu.org>
628 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
630 2002-07-18 H.J. Lu (hjl@gnu.org)
632 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
635 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
638 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
640 2002-06-09 H.J. Lu (hjl@gnu.org)
642 * include/private/gc_locks.h (GC_test_and_set): Support
644 (GC_TEST_AND_SET_DEFINED): Likewise.
646 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
649 (LINUX_STACKBOTTOM): Likewise.
650 (STACKBOTTOM): Removed for Linux/mips.
652 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
654 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
655 (GC_pthread_create): Fix typo.
656 (GC_TRY_LOCK): Likewise.
657 * include/private/gc_locks.h (GC_test_and_set): Only take one
659 (LOCK): Adjust appropriately.
660 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
661 _SIGRTMIN is unavailable.
663 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
665 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
666 * aclocal.m4: Regenerate.
667 * configure: Regenerate.
669 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
671 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
672 script entry, and set LD to it when configuring multilibs.
673 * configure: Rebuilt.
675 2002-04-22 Jeff Sturm <jsturm@one-point.com>
677 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
678 (noinst_LTLIBRARIES): Add libgcjgc.la.
680 * Makefile.in: Rebuild.
682 2002-04-22 David S. Miller <davem@redhat.com>
684 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
685 64-bit SPARC Linux, the __libc_stack_end technique does
686 not work in this case.
688 2002-04-22 Jeff Sturm <jsturm@one-point.com>
690 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
692 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
694 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
697 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
699 * include/private/gcconfig.h (DATAEND): Update comment example
702 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
704 * include/private/gcconfig.h (DATAEND): Clarify comment.
706 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
708 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
709 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
711 * allchblk.c (GC_allchblk_nth): Change text and support reduced
712 frequency for blacklist warning message.
713 * misc.c (GC_large_alloc_warn_interval,
714 GC_large_alloc_warn_suppressed): define.
715 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
716 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
717 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
718 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
720 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
722 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
724 * include/private/gcconfig.h: Add support for an unmapped
725 memory hole between the end of the initialized data segment
726 and the start of the BSS on FreeBSD/i386.
728 2002-03-30 Krister Walfridsson <cato@df.lth.se>
730 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
733 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
735 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
736 (GC_local_gcj_malloc): Add assertion.
737 (start_mark_threads): Fix abort message.
738 * mark.c (GC_mark_from): Generalize assertion.
739 * reclaim.c (GC_clear_fl_links): New function.
740 (GC_start_reclaim): Must clear some freelist links.
741 * include/private/specific.h, specific.c: Add assertions.
742 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
743 Rearrange tse fields.
745 2002-03-27 Richard Henderson <rth@redhat.com>
747 * os_dep.c (GC_init_linux_data_start): Fix references to
748 __data_start and _end.
750 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
752 * include/private/gcconfig.h: Change all likely references
753 to linker script synthesized symbols to use this idiom:
754 extern int etext[]; etext
756 2002-03-25 Jeff Sturm <jsturm@one-point.com>
758 * linux_threads.c (GC_get_nprocs): Close file descriptor.
760 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
762 * include/private/gcconfig.h: Add unified test for FreeBSD.
763 Support FreeBSD/alpha.
764 * os_dep.c: Do not include <machine/trap.h> unless available.
765 (GC_freebsd_stack_base): Fix types.
767 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
769 * Makefile.am: Make a convenience library.
770 * Makefile.in: Rebuilt.
772 2002-03-15 Anthony Green <green@redhat.com>
774 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
775 * configure.in: Disable use of getenv for win32 targets (some of
776 which have broken implementations).
777 * configure: Rebuilt.
779 2002-03-12 Adam Megacz <adam@xwt.org>
781 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
782 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
783 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
784 statically initialized it to TRUE if compiling with GCC.
785 * win32_threads.c (thread_start): We no longer use SEH if
787 * mark.c (GC_mark_some): We no longer use SEH if
790 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
792 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
793 support is enabled, for hash synchronization.
795 2002-02-24 Adam Megacz <adam@xwt.org>
797 * Makefile.am: Added win32_threads.c to sources list.
798 * win32_threads.c: Added two */'s which I had neglected.
800 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
802 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
803 * Makefile.in: Rebuilt.
805 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
807 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
809 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
811 * mips_sgi_mach_dep.S: Likewise.
812 * Makefile.am: Update for above changes.
813 * Makefile.in: Rebuilt.
815 2002-02-12 Richard Henderson <rth@redhat.com>
817 * configure.in: Re-apply 2001-06-26 configure change.
818 * configure: Rebuild.
820 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
822 Imported GC 6.1 Alpha 3.
824 * sparc_mach_dep.S: Delete incorrectly named file.
826 2001-02-11 Adam Megacz <adam@xwt.org
828 * configure.in: support for win32, saner
829 cross-compile options
831 2001-02-08 Anthony Green <green@redhat.com>
833 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
834 board embedded targets.
835 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
836 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
837 redundant uses of ECOS.
838 * misc.c: Use NOSYS where ECOS is being used.
839 Don't define GC_write twice for ECOS systems.
840 (GC_write): New function for NOSYS targets.
842 2002-02-06 Adam Megacz <adam@xwt.org>
844 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
845 now exposed on all Win32 platforms.
846 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
847 compiles on Win32; it invokes CreateThread() if GC is built
848 as a DLL; otherwise it registers the thread.
849 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
850 libgcjgc was not built as a DLL.
852 2002-02-01 Adam Megacz <adam@xwt.org>
854 * boehm-gc on win32 now automatically detects if it is being built
855 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
857 2002-01-25 David Edelsohn <edelsohn@gnu.org>
859 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
860 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
861 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
862 DATASTART and DATAEND roots.
863 * rs6000_mach_dep.s: Add function descriptor and traceback table.
865 2001-12-16 Jeff Sturm <jsturm@one-point.com>
867 * dyn_load.c: Define ElfW (if needed) for all targets,
869 (GC_FirstDLOpenedLinkMap): Use it.
870 (GC_register_dynamic_libraries_dl): Use it.
871 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
874 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
877 * configure.in: Add AC_SUBST(target_alias).
878 * configure: Regenerated.
880 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
882 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
883 case for GC_FREEBSD_THREADS.
884 * configure.in (*-*-freebsd*): Clarify warning.
885 * configure: Rebuilt.
887 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
888 Andreas Tobler <toa@pop.agri.ch>
890 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
892 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
894 * linux_threads.c (GC_init_parallel): Do not declare as a static
896 * include/gc.h (GC_init): Declare here. Add description.
897 * include/private/gc_priv.h (GC_init): Remove declaration.
899 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
901 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
902 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
903 GC_FREEBSD_THREADS, handle strange interaction between system
904 pthread implementation and boehm-gc signal-handler architecture.
905 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
907 * include/private/gcconfig.h (configuration keyed off FREEBSD):
908 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
909 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
911 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
913 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
914 * Makefile.in: Rebuilt.
916 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
918 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
919 merged local changes.
921 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
923 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
924 Solaris 2/Intel definition.
926 * configure.in (i?86-*-solaris2.[89]*): Define
927 SOLARIS25_PROC_VDB_BUG_FIXED.
928 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
929 * configure: Regenerate.
931 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
932 (DATAEND): Define using _end.
934 2001-09-11 Per Bothner <per@bothner.com>
936 * include/Makefile.am: New file. It defines include_HEADERS.
937 * Makefile.am (SUBDIRS): New macro, set to include.
938 * configure.in (AC_OUTPUT): Add include/Makefile.
940 2001-08-20 Tom Tromey <tromey@redhat.com>
942 * configure: Rebuilt.
943 * configure.in: Always ask gcc for threads package.
945 2001-08-17 Tom Tromey <tromey@redhat.com>
947 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
948 merged local changes.
950 2001-08-02 David Billinghurst <David.Billinghurst>
952 * configure: Rebuilt.
953 * configure.in: POSIX threads on cygwin does not link with
956 2001-07-03 Tom Tromey <tromey@redhat.com>
958 Fix for PR bootstrap/3281:
959 * aclocal.m4, configure, Makefile.in: Rebuilt.
960 * acinclude.m4: Set mkinstalldirs for in-tree build.
962 2001-06-26 Richard Henderson <rth@redhat.com>
964 * alpha_mach_dep.s: Mark call-saved FP registers.
965 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
966 * configure.in (alpha*): Re-enable alpha_mach_dep.s
967 * configure: Rebuild.
969 2001-06-12 Tom Tromey <tromey@redhat.com>
971 * aclocal.m4, configure: Rebuilt.
972 * acinclude.m4: Find configure.host in srcdir.
974 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
976 * configure.in (AC_EXEEXT): Work around in case it expands to
977 nothing, as in autoconf 2.50.
978 * acinclude.m4: Likewise.
979 * aclocal.m4, configure: Rebuilt.
981 2001-06-07 Tom Tromey <tromey@redhat.com>
983 For PR bootstrap/3075:
984 * configure, aclocal.m4, Makefile.in: Rebuilt.
985 * configure.in: Don't call AC_CONFIG_AUX_DIR or
987 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
988 AC_CANONICAL_SYSTEM here.
989 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
992 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
994 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
995 (libgcjgc_la_SOURCES): Remove typo.
996 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
997 * Makefile.in: Rebuilt.
999 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1001 Imported version version 6.0alpha7.
1003 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1004 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1005 README.rs6000, README.sgi, README.solaris2, README.uts,
1006 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1007 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1008 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1009 hpux_irix_threads.c, makefile.depend, nursery.c,
1010 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1011 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1012 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1013 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1016 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1018 * configure.host: Build with -fexceptions.
1019 * linux_threads.c: Remember which thread stopped world for
1021 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1022 with final tuning by Bryce McKinlay
1024 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1025 * configure: Rebuilt.
1027 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1029 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1030 (GC_noop1): Change declaration to take one argument.
1032 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1034 * configure.in: Obtain THREADS with `gcc -v'.
1035 * configure: Rebuilt.
1037 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1039 * misc.c: Back out buggy changes to stack clearing code.
1040 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1041 spent clearing memory.
1043 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1046 - Accomodate finalization requests for static objects.
1047 (Will be required by hash synchronization. May be needed
1048 in some configurations now.)
1051 - Define MIN_WORDS. All allocation requests are rounded
1052 up to at least this size. Removes a subtle assumption that
1053 Java objects have a 2 word header.
1056 - Adjust Linux/IA64 configuration for non-ancient kernels.
1057 (Necessary fix for IA64.)
1060 - Fix syntax error in currently unused code. Will be needed
1068 - Change stack cleaning code to typically clear about one tenth
1069 the memory it used to in the threads configuration. Occasionally
1070 still clear more. (This is really a fix for a long-standing
1071 and fairly significant performance bug with threads.)
1074 - Fix the code for finding the beginning of the data segment under
1075 Linux. I believe this is necessary for some IA64 Linux
1076 distributions. It will also helo other platforms, though those
1077 may additionally require a gcconfig.h adjustment. (This basically
1078 works around the absence of a data_start or __data_start
1079 definition in glibc.)
1082 - Handle rounding due to MIN_WORDS.
1084 2001-03-22 Tom Tromey <tromey@redhat.com>
1086 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1088 2001-03-19 Tom Tromey <tromey@redhat.com>
1090 * Makefile.in: Rebuilt.
1091 * Makefile.am (gctest_LDFLAGS): new macro.
1093 2001-03-16 Tom Tromey <tromey@redhat.com>
1095 * Makefile.in: Rebuilt.
1096 * Makefile.am (TESTS_ENVIRONMENT): New macro.
1098 2001-01-23 Rod Stewart <stewart@lab43.org>
1100 * gcconfig.h: Check for `__arm__', not `arm'.
1102 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
1104 * configure.in: Rename THREADLIB to THREADLIBS.
1105 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1106 ensures that we link the correct version of the linuxthreads semaphore
1108 * Makefile.in: Rebuilt.
1109 * configure: Rebuilt.
1111 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1112 list of signals which are not blocked during suspend in the NO_SIGNALS
1115 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
1117 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1119 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
1121 * Makefile.dist: Renamed from Makefile.orig.
1123 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1125 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1126 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1128 * Makefile.in: Rebuilt.
1129 * configure: Likewise.
1131 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
1133 * gcconfig.h: Add new case for powerpc EABI.
1134 [PPC]: Handle embedded OS for powerpc simulator.
1136 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
1138 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1139 cross-compile configuration only.
1140 * Makefile.am: Build gcj_mlc.c.
1141 * configure, Makefile.in: Rebuilt.
1143 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
1145 * acinclude.m4: Include libtool macros from the top level.
1146 * aclocal.m4, configure: Rebuilt.
1148 2000-09-04 Anthony Green <green@redhat.com>
1150 Fix for PR libgcj/230:
1151 * mark.c (GC_mark_from_mark_stack): Remove call to
1152 GC_debug_object_start.
1153 * gc_priv.h (GC_debug_object_start): Remove prototype.
1155 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1157 * gcconfig.h [OSF1] (_end): Declare as `int'.
1159 2000-08-02 Tom Tromey <tromey@cygnus.com>
1161 * gc_priv.h (GC_generic_malloc_inner): Prototype.
1162 (GC_generic_malloc): Likewise.
1163 (GC_add_to_black_list_normal): Likewise.
1164 (GC_find_header): Likewise.
1165 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1166 * gc_mark.h (GC_find_start): Prototype.
1167 (GC_signal_mark_stack_overflow): Likewise.
1169 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
1171 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1172 * configure: Rebuilt.
1174 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1176 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
1178 Imported version 5.1.
1179 * acinclude.m4: Push version to 5.1.
1181 2000-06-19 Andrew Haley <aph@cygnus.com>
1183 * os_dep.c (read): Pass two dummy args to syscall().
1185 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
1187 Imported 5.0 release version.
1188 * acinclude.m4: Increment version to 5.0.
1190 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
1192 Imported version 5.0alpha7.
1193 * acinclude.m4: Update version to 5.0a7.
1195 2000-04-26 Jakub Jelinek <jakub@redhat.com>
1197 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1198 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1199 - sparc glibc does not provide it.
1200 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1201 Make STACKBOTTOM depend on the wordsize.
1202 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1203 (struct frame): Declare on sparc*-linux*.
1204 (GC_save_callers): Bias the frame pointers if needed (sparc64).
1205 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1206 Implement on sparc64.
1207 (GC_clear_stack_inner): Implement on sparc64.
1208 * gc_priv.h (GC_test_and_set): Implement for sparc.
1209 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1210 GC_save_regs_in_stack on sparc.
1212 2000-04-23 Tom Tromey <tromey@cygnus.com>
1214 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1216 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
1218 Imported version version 5.0alpha6.
1219 * acinclude.m4: Bump version to 5.0a6.
1220 * configure.in: Don't use alpha_mach_dep.s.
1221 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1223 * Makefile.am, Makefile.in: irix_threads.c is now
1224 hpux_irix_threads.c.
1225 * Makefile.orig: Updated from gc distribution Makefile.
1227 2000-03-26 Anthony Green <green@redhat.com>
1229 * misc.c (GC_enable): Always define GC_enable and GC_disable.
1231 2000-02-14 Tom Tromey <tromey@cygnus.com>
1233 * gc.h (dlopen): Define as GC_dlopen on Linux.
1234 (GC_dlopen): Declare on Linux.
1235 * dyn_load.c (GC_dlopen): Define for Linux.
1237 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
1239 * gcconfig.h (DATASTART): Add missing extern declaration
1240 for data_start on powerpc.
1242 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
1244 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1247 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
1249 * gcconfig.h: Define DATASTART for Alpha Linux.
1251 1999-12-19 Anthony Green <green@cygnus.com>
1253 * gcconfig.h: Use libgcj hack for Alpha Linux.
1254 Undefine MPROTEXT_VDB (from Jeff Sturm).
1255 * os_dep.c: Remove Alpha Linux hacks.
1258 1999-12-13 Tom Tromey <tromey@cygnus.com>
1260 * aclocal.m4, configure: Rebuilt.
1261 * acinclude.m4: Changed version to 5.0a4.
1262 * Makefile.in: Rebuilt.
1263 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1265 1999-12-12 Anthony Green <green@cygnus.com>
1267 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1269 (DYNAMIC_LOADING): Define for PowerPC Linux.
1270 * os_dep.c: Remove some special cases for PowerPC Linux.
1271 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1274 1999-11-04 Tom Tromey <tromey@cygnus.com>
1276 * Makefile.in: Rebuilt.
1277 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1279 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1280 (GC_thr_init): Don't declare.
1282 * configure: Rebuilt.
1283 * configure.in: Removed qt threads case.
1284 * dyn_load.c: Don't mention QUICK_THREADS.
1285 * os_dep.c: Don't mention QUICK_THREADS.
1286 * misc.c: Don't mention QUICK_THREADS.
1287 * gcconfig.h: Don't mention QUICK_THREADS.
1288 * gc_priv.h: Removed QUICK_THREADS code.
1289 * quick_threads.c: Removed.
1291 1999-11-03 Tom Tromey <tromey@cygnus.com>
1293 * gcconfig.h: Merged in local changes from old config.h.
1295 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
1297 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1299 1999-11-02 Tom Tromey <tromey@cygnus.com>
1301 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1303 * configure: Rebuilt.
1304 * configure.in: Don't create boehm-config.h.
1305 * Makefile.in: Rebuilt.
1306 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1308 ($(all_objs)): Depend on gcconfig.h.
1309 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1310 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1311 * config.h: Removed.
1313 1999-11-01 Tom Tromey <tromey@cygnus.com>
1315 * Makefile.in: Rebuilt.
1316 * Makefile.am (gctest_LDADD): Added THREADLIB.
1318 * configure: Rebuilt.
1319 * configure.in (INCLUDES): New subst.
1321 1999-09-29 Steve Chamberlain <sac@pobox.com>
1323 * config.h: Added picoJava target.
1324 * mach_dep.h (GC_push_regs): New code for picoJava.
1326 1999-09-28 Tom Tromey <tromey@cygnus.com>
1328 * aclocal.m4, configure: Rebuilt.
1329 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1330 appropriate AC_PROG_ symbol.
1332 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1334 * gc_priv.h: IRIX thread changes from
1335 include/private/gc_priv.h.
1337 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1339 * Makefile.in: Rebuilt.
1340 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1343 * configure: Rebuilt.
1344 * configure.in: Properly align --help output, fix capitalization
1346 * acinclude.m4: Likewise.
1348 1999-08-04 Tom Tromey <tromey@cygnus.com>
1350 * configure.in: Added missing `;;'. From Anthony Green.
1352 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1354 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1356 1999-08-03 Tom Tromey <tromey@cygnus.com>
1358 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1359 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1361 1999-08-02 Tom Tromey <tromey@cygnus.com>
1363 * aclocal.m4, configure: Rebuilt for new libtool.
1365 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1367 * mips_sgi_mach_dep.s: Enable PIC option.
1369 1999-07-19 Tom Tromey <tromey@cygnus.com>
1371 * config.h (MPROTECT_VDB): Don't define on Linux.
1373 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1375 * Makefile.am (.s.lo): Avoid `#line' directives.
1376 * Makefile.in: Rebuilt.
1378 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1380 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1381 generate *-recursive for this Makefile, use *-am instead.
1382 * Makefile.in: Rebuilt.
1384 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
1386 * Makefile.am (.s.lo): Renamed from `.s.o'.
1387 * Makefile.in: Rebuilt.
1389 1999-06-21 Tom Tromey <tromey@cygnus.com>
1391 Alpha patch from Jeff Sturm:
1392 * os_dep.c (GC_init_linuxalpha): New function.
1393 * misc.c: Initialize for alpha linux.
1394 * gc_priv.h (GC_test_and_set): Define for alpha.
1395 * config.h: Don't assume __data_start on alpha.
1397 * Makefile.in: Rebuilt.
1398 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1401 * Makefile.in: Rebuilt.
1402 * Makefile.am (toolexeclibdir): Define as libdir when
1404 * configure: Rebuilt.
1405 * configure.in (USE_LIBDIR): New conditional.
1407 * configure: Rebuilt.
1408 * configure.in: Recognize all forms of alpha.
1410 1999-06-17 Anthony Green <green@cygnus.com>
1412 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1413 Carlo Dapor <carlo@vis.ethz.ch>).
1415 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
1417 * configure.in: Switch from irix threads to posix threads
1418 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1419 for mips architecture.
1420 * configure: Regenerate.
1422 1999-04-30 Tom Tromey <tromey@cygnus.com>
1424 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1426 1999-04-26 Tom Tromey <tromey@cygnus.com>
1428 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1431 1999-04-23 Tom Tromey <tromey@cygnus.com>
1433 * Makefile.in, configure: Rebuilt.
1434 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1435 (libgcjgc_la_SOURCES): Renamed.
1436 (libgcjgc_la_LIBADD): Likewise.
1437 (libgcjgc_la_DEPENDENCIES): Likewise.
1438 (EXTRA_libgcjgc_la_SOURCES): Likewise.
1439 (gctest_LDADD): Use libgcjgc.la.
1440 (all_objs): Mention libgcj_la_OBJECTS.
1441 (EXTRA_LTLIBRARIES): Renamed.
1442 (toollib_LTLIBRARIES): Likewise.
1443 (libgcjgc_la_LDFLAGS): New macro
1444 (toolexecdir): Renamed.
1445 (toolexeclibdir): Likewise.
1446 (toolexeclib_LTLIBRARIES): Likewise.
1447 (LTCOMPILE): Renamed; added libtool invocation.
1448 (LINK): Added libtool invocation.
1449 (.s.o): use LTCOMPILE.
1450 * configure.in: Call AM_PROG_LIBTOOL.
1451 (target_all): Set to libgcjgc.la.
1452 Mention `.lo' forms of object files.
1454 1999-04-21 Tom Tromey <tromey@cygnus.com>
1456 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1459 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1460 sigcontext.h. From Matthias Klose <doko@itso.de>.
1462 1999-04-16 Tom Tromey <tromey@cygnus.com>
1464 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
1465 David Pettersson <dapet@mai.liu.se>
1467 1999-04-14 Tom Tromey <tromey@cygnus.com>
1469 * configure: Rebuilt.
1470 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
1471 incorrect patch of 199-04-09.
1473 * configure: Rebuilt.
1474 * configure.in: Added support for alpha.
1475 From David Pettersson <dapet@mai.liu.se>.
1477 1999-04-13 Tom Tromey <tromey@cygnus.com>
1479 * Makefile.in: Rebuilt.
1480 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1483 1999-04-09 Tom Tromey <tromey@cygnus.com>
1485 * configure: Rebuilt.
1486 * configure.in: Use sparc_mach_dep.s when building on Solaris.
1488 1999-02-23 Tom Tromey <tromey@cygnus.com>
1490 * configure: Rebuilt.
1491 * configure.in: For Linux, define _REENTRANT. For Solaris, define
1492 SOLARIS_THREADS and _SOLARIS_PTHREADS.
1494 1999-02-18 Tom Tromey <tromey@cygnus.com>
1496 * quick_threads.c (GC_push_all_stacks): Change order of arguments
1497 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
1498 for case where LO is NULL.
1500 1999-02-10 Tom Tromey <tromey@cygnus.com>
1502 * aclocal.m4, configure, Makefile.in: Rebuilt.
1503 * acinclude.m4: Updated to be used with automake 1.4.
1504 * configure.in: Renamed libgc to libgcjgc. Updated to be used
1506 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
1507 (libgcjgc_a_SOURCES): Likewise.
1508 (libgcjgc_a_LIBADD): Likewise.
1509 (libgcjgc_a_DEPENDENCIES): Likewise.
1510 (EXTRA_libgcjgc_a_SOURCES): Likewise.
1511 (gctest_LDADD): Likewise.
1512 (all_objs): Likewise.
1514 1999-01-08 Tom Tromey <tromey@cygnus.com>
1516 * configure: Rebuilt.
1517 * configure.in: Define LINUX_THREADS if using POSIX threads on
1520 * gc_priv.h (GC_test_and_set): Put return type into definition.
1522 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
1524 * Makefile.am: add support for eCos. In particular, add C++
1525 support for compiling the file ecos.cc.
1526 * ecos.cc: new file.
1527 * acinclude.m4: add C++ support.
1528 * aclocal.m4: likewise
1529 * config.h: add eCos support.
1530 * configure: likewise
1531 * configure.in: likewise
1532 * misc.c (GC_write): add eCos support.
1533 * os_dep.c (tiny_sbrk): add eCos support.
1535 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
1537 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
1538 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
1540 1998-11-23 Tom Tromey <tromey@cygnus.com>
1542 * configure.host (boehm_gc_cflags): Don't add `-O2'.
1544 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
1546 * Makefile.am, Makefile.in, configure.host: tx39 build option
1549 1998-11-17 Tom Tromey <tromey@cygnus.com>
1551 * configure: Rebuilt.
1552 * configure.in: Switch on host, not target.
1554 1998-11-16 Tom Tromey <tromey@cygnus.com>
1556 * gc_priv.h (GC_debug_object_start): Declare.
1557 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
1558 * gc.h (GC_debug_register_finalizer_no_order,
1559 GC_register_finalizer_no_order): Declare.
1560 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
1561 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
1562 (GC_debug_generic_malloc): Likewise.
1563 (GC_debug_object_start): new function.
1565 1998-11-11 Tom Tromey <tromey@cygnus.com>
1567 * configure: Rebuilt.
1568 * configure.in: Recognize --enable-java-gc, not --enable-gc.
1570 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1572 * dyn_load.c: Handle QUICK_THREADS case.
1574 1998-10-21 Tom Tromey <tromey@cygnus.com>
1576 * configure: Rebuilt.
1577 * configure.in: Put cpp defines here, not in config.h. Recognize
1578 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
1579 define PACKAGE or VERSION.
1580 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
1583 * os_dep.c (GC_default_push_other_roots): Define when
1584 QUICK_THREADS defined.
1585 * misc.c: Added QUICK_THREADS case.
1586 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
1587 * config.h (THREADS): Define if QUICK_THREADS defined.
1588 * Makefile.in: Rebuilt.
1589 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
1591 * quick_threads.c: New file.
1593 1998-10-20 Tom Tromey <tromey@cygnus.com>
1595 * aclocal.m4, configure: Rebuilt.
1596 * acinclude.m4: Don't subst machine_dir or sys_dir.
1597 * configure.host: Removed unused code.
1599 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
1601 * configure: Rebuilt.
1602 * configure.in: Fix typo in previous patch.
1604 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
1606 * Makefile.in, aclocal.m4, configure: Rebuilt.
1607 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
1608 * configure.host: Created.
1610 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
1612 * Makefile.in: Rebuilt.
1613 * Makefile.am (lib_LIBRARIES): Use target_all.
1614 (EXTRA_LIBRARIES): New macro.
1615 * configure: Rebuilt.
1616 * configure.in: Recognize --enable-gc.
1618 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
1620 * Makefile.in: Rebuilt.
1621 * Makefile.am (COMPILE): Define.
1623 (.s.o): Use MY_CFLAGS.
1624 * configure: Rebuilt.
1625 * configure.in (MY_CFLAGS): Define and subst.
1627 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
1629 * configure: Rebuilt.
1630 * configure.in: Added --with-cross-host argument. Use
1631 $with_cross_host to determine when cross-compiling.
1633 * config.h (SMALL_CONFIG): Don't define.
1634 * configure: Rebuilt.
1635 * configure.in: Define SMALL_CONFIG when cross-compiling.
1637 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
1639 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1640 allchblk.c: Merged with 4.13a2 while preserving local changes.
1642 * Makefile.orig: Updated from Makefile in 4.13a2.
1644 * configure: Rebuilt.
1645 * configure.in: Updated version number to 4.13a2. On Solaris,
1646 don't build with -O when using gcc.
1648 Merged in version 4.13alpha2:
1649 * config.h (USE_MMAP): Re-enable on Solaris.
1650 * solaris_pthreads.c: Removed RCS Id line.
1651 * alpha_mach_dep.s: Removed RCS Id line.
1653 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
1655 * config.h (USE_MMAP): Don't define for Solaris.
1657 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
1659 * Makefile.in: Rebuilt.
1660 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1662 * Makefile.in: Rebuilt.
1663 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1665 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
1667 * Makefile.in: Rebuilt.
1668 * Makefile.am ($(all_objs)): Depend on config.h.
1670 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1671 DATASTART as &_etext.
1672 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1673 * configure: Rebuilt.
1674 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1677 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
1679 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1680 (GC_maybe_gc): Likewise.
1681 * os_dep.c: If NO_SIGSET defined, then have empty
1682 GC_disable_signals and GC_enable_signals.
1683 * configure: Rebuilt.
1684 * configure.in: Added --with-target-subdir option. If
1685 cross-compiling, define NO_SIGSET and NO_CLOCK.
1687 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
1689 * Makefile.in: Rebuilt.
1690 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1692 * aclocal.m4, configure: Rebuilt.
1693 * acinclude.m4: New file.
1694 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
1696 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
1698 * configure: Rebuilt.
1699 * configure.in: Link boehm-config.h to config.h.
1700 * Makefile.in: Rebuilt.
1701 * Makefile.am (INCLUDES): Removed.
1702 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1703 JAVA_FINALIZATION): Define
1705 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
1707 * Many files: Use GC_bool, not bool.
1708 * gc_priv.h: Define GC_bool, not bool.
1710 * misc.c (GC_dont_gc): Define as int.
1711 (GC_quiet): Likewise.
1712 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1713 * alloc.c (GC_dont_expand): Define as int.
1714 * gc_priv.h: For gcc, define bool as char.
1716 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
1718 * Makefile.in: Rebuilt.
1719 * Makefile.am (check_PROGRAMS): New macro.
1720 (gctest_SOURCES): Likewise.
1721 (gctest_LDADD): Likewise.
1723 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
1725 * Makefile.in: Rebuilt.
1726 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1727 * configure: Rebuilt.
1728 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1730 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1732 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1734 * Makefile.orig: Renamed from Makefile.