1 2005-03-23 Mike Stump <mrs@apple.com>
3 * darwin_stop_world.c: Update for -m64 multilib.
4 * include/private/gcconfig.h: Likewise.
5 * powerpc_darwin_mach_dep.s: Likewise.
7 2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
9 * Makefile.in, include/Makefile.in: Regenerate.
11 2005-02-26 Richard Earnshaw <rearnsha@arm.com>
13 * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
14 ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
16 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
19 * configure.host: Set gc_use_mmap on *-linux*.
20 * configure.ac: Define USE_MMAP if gc_use_mmap is set.
21 * include/private/gc_priv.h: Include gc_config.h.
22 * configure, include/gc_config.h.in: Rebuilt.
24 2005-02-07 Hans Boehm <Hans.Boehm@hp.com>
26 * allchblk.c (GC_allochblk_nth): Dont overlook available space if
27 GC disabled, correctly convert GC_finalizer_mem_freed to byte,
29 * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
31 * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
32 and indent appropriately.
33 * mark_rts.c (GC_approx_sp): Access stack.
34 * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
35 callee-saves registers when appropriate.
36 (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
38 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
40 * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
41 and include/gc_ext_config.h.
42 * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
43 * include/gc.h: Undef PACKAGE_* before including gc_config.h.
45 2004-12-13 Kelley Cook <kcook@gcc.gnu.org>
47 * configure: Regenerate.
49 2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
52 Revert patches of 2004-11-26 and 2004-11-27.
54 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
56 * configure: Regenerate for libtool change.
58 2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
60 * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
62 2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
64 Fix "PACKAGE_NAME redefined" errors.
65 * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
66 and include/gc_config.h.
67 * configure: Regenerated.
68 * include/gc_config.h.in: No longer auto-generated. Define only the
69 macros needed by libjava.
70 * include/config.h.in: Generated by autoheader.
71 * include/gc.h: Include config.h, not gc_config.h.
73 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
75 * configure: Regenerate for libtool reversion.
77 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
79 * configure: Regenerate for libtool change.
81 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
83 * configure.ac (machdep): Use sparc_mach_dep.lo on
84 sparc64-sun-solaris2.* too.
85 (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
86 * configure: Regenerate.
88 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
91 * configure.ac (threading): Accept 'posix95'.
92 * configure: Regenerate.
94 2004-11-04 Kelley Cook <kcook@gcc.gnu.org>
96 * Makefile.am: Define ACLOCAL_AMFLAGS.
97 * configure.ac: Remove redundant sinclude.
98 * acinclude.m4: Delete file.
99 * aclocal.m4: Regenerate.
100 * Makefile.in, include/Makefile.in: Regenerate.
101 * configure: Regenerate.
103 2004-10-19 Ulrich Weigand <uweigand@de.ibm.com>
105 * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
108 2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
110 * include/private/gcconfig.h: Add m32r-linux target.
112 2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
114 * configure.ac: Update all AC_DEFINEs to newer style.
115 * configure: Regenerate.
116 * include/gc_config.h.in: Regenerate.
118 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
120 * backgraph.c, gc_priv.h (GC_traverse_back_graph,
121 GC_print_back_graph_stats): split GC_traverse_back_graph.
122 * backgraph.c: Dynamically grow in_progress_space.
123 * finalize.c (GC_notify_or_invoke_finalizers): also call
124 GC_print_back_graph_stats.
125 * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
126 GC_print_back_height): Move delarations to header file.
127 * configure.ac: rename --enable-full-debug to --enable-gc-debug.
128 * configure: Regenerate.
130 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
132 * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
133 * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
135 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
137 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
138 Reported by Danny Smith.
140 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net>
142 * misc.c (GC_init): Replace lhs cast with rhs cast.
144 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
146 * specific.c: Check GC_LINUX_THREADS before including
147 private/specific.h. From Richard Earnshaw.
149 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
151 * aclocal.m4: Remove obsolete construct for old automake.
152 * acinclude.m4: Regenerate with aclocal 1.9.1.
153 * configure.ac: Remove duplicate AC_WITH calls. Replace
154 AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
155 Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
156 Remove now-redundant subst of target_noncanonical. Remove
157 now-gratuitous m4 quoting around $. Replace AM_PROG_LIBTOOL with
158 AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
159 Use slightly more modern form of AC_INIT.
160 * configure: Rebuild with autoconf 2.59.
161 * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
163 2004-08-16 Andreas Tobler <a.tobler@schweiz.ch>
165 * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
166 since they're not known at this time.
167 * solaris_pthreads.c: Likewise.
169 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
172 * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
174 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
176 * configure.ac (gc_cflags): Add -Iinclude.
177 (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
178 Don't write DEFS to boehm-cflags file.
179 * configure: Rebuilt.
180 * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
181 * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
182 * include/gc_config_macros.h: Remove backward-compatibility
183 redefinitions of GC_ names.
184 * include/gc.h: Include <gc_config.h>.
186 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
188 Import Boehm GC version 6.3.
190 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
192 * include/Makefile.in: Regenerate
194 2004-07-06 Andrew Pinski <apinski@apple.com>
196 * os-dep.c (GC_task_self): Declare as static
197 and remove the second declaration.
199 2004-06-20 Andreas Tobler <a.tobler@schweiz.ch>
201 * Makefile.am: Add rule for .S files to fix bootstrap on
203 * Makefile.in: Regenerate.
205 2004-06-16 Paolo Bonzini <bonzini@gnu.org>
207 * boehm-gc/configure.ac: New name of configure.in.
208 Remove useless multilib stuff. Change uses of
209 INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
210 * boehm-gc/configure.in: New name of configure.in.
211 * boehm-gc/Makefile.am: Update for automake 1.8.5.
212 * boehm-gc/acinclude.m4: Include ../config/acx.m4.
213 * boehm-gc/aclocal.m4: Regenerate.
214 * boehm-gc/configure: Regenerate.
215 * boehm-gc/Makefile.in: Regenerate.
217 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
219 * .cvsignore: New file.
221 2004-04-25 Andreas Jaeger <aj@suse.de>
223 * mark.c (GC_mark_from): Use pointer as prefetch argument.
225 2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
227 * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
229 (PREFETCH_FOR_WRITE): Likewise.
231 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
233 * configure.ac: Bump AC_PREREQ to 2.59.
234 * configure: Regenerate.
235 * config.in: Regenerate.
237 2004-02-26 Nathanael Nerode <neroden@gcc.gnu.org>
239 * ltconfig, ltmain.sh: Remove unused files.
240 * configure.in: Remove bogus extra early invocation of
242 * configure: Regenerate.
243 * mkinstalldirs, install-sh, config.sub, config.guess:
244 Remove (now) unused files.
245 * Makefile.in: Regenerate (losing references to vanished
248 * configure.in: Add CCAS, CCASFLAGS for future automakes.
249 * configure, Makefile.in, include/Makefile.in: Regenerate.
251 * Makefile.am: Remove bogus duplicate setting of AM_CFLAGS.
252 * Makefile.in: Regenerate.
254 * configure.in: Remove bogus duplicate invocation of
255 AM_MAINTAINER_MODE. Remove obsolete comment.
256 * configure: Regenerate.
258 * acinclude.m4: Remove GC_CONFIGURE macro; move contents
260 * aclocal.m4: Regenerate.
261 * configure.in: Receive contents of GC_CONFIGURE macro.
262 * configure: Regenerate.
264 * configure.in: Remove more obsolete, bogus code.
265 * configure: Regenerate.
267 * acinclude.m4: Remove obsolete and bogus constructs.
268 * aclocal.m4: Regenerate.
269 * configure: Regnerate.
271 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
273 * acinclude.m4: De-precious CC and CXX so that the right flags
274 are passed down to multilibs.
275 * aclocal.m4: Regenerate.
276 * configure: Regenerate.
278 2004-02-22 Zack Weinberg <zack@codesourcery.com>
279 Nathanael Nerode <neroden@twcny.rr.com>
280 Alexandre Oliva <aoliva@redhat.com>
282 * config.sub, config.guess: Replace with forwarding scripts
283 which invoke the master copies in the top level.
285 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
287 * acinclude.m4: Remove old no-executables workaround;
288 add new no-executables workaround.
289 * aclocal.m4: Regenerate.
290 * configure.in: Change prereqs to autoconf 2.57.
291 * configure: Regenerate with autoconf 2.57.
293 * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
294 * configure: Regenerate.
295 * Makefile.am: Use target_noncanonical variable from configure.
296 * Makefile.in: Regenerate.
297 * include/Makefile.in: Regenerate.
299 2004-02-20 Andrew Cagney <cagney@redhat.com>
301 * config.guess: Update from version 2002-01-10 to 2004-02-16.
302 * config.sub: Update from version 2002-01-02 to 2004-02-16.
304 2004-02-19 Nathanael Nerode <neroden@gcc.gnu.org>
306 * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
307 * aclocal.m4: Rebuild.
308 * configure: Regenerate.
310 * acinclude.m4: Move certain code to configure.in.
311 * configure.in: Receive code from acinclude.m4.
312 * aclocal.m4: Rebuild.
313 * configure: Regenerate.
315 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
317 2004-01-20 Andrew Haley <aph@redhat.com>
319 * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
321 * configure.in: Comment change.
323 2004-01-16 Andrew Haley <aph@redhat.com>
325 * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
326 add for ia64; remove for MIPS.
327 * configure: Regnerated.
329 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
331 * configure.in: Add in AC_PREREQ(2.13)
333 2004-01-07 Dave Jones <davej@redhat.com>
335 * malloc.c (GC_generic_malloc): Correct initialization typo.
336 * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
338 2003-10-31 Richard Earnshaw <rearnsha@arm.com>
340 * include/private/gcconfig.h: Re-install change of 2003-04-16.
342 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
344 * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
347 2003-10-18 Alan Modra <amodra@bigpond.net.au>
349 * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
352 2003-10-03 Jeff Sturm <jsturm@one-point.com>
354 * configure: Rebuild.
356 2003-10-03 Hans Boehm <Hans.Boehm@hp.com>
358 * configure.in: Remove NO_GETENV definition for win32.
359 * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
360 * misc.c (GC_init_inner): Call GC_thr_init for win32.
361 (GC_set_warn_proc): Add assertion.
362 * win32_threads.c: Import 6.3alpha2 version.
363 * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
365 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
367 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
368 2.3/SPARC, there are no micro versions.
369 Treat Solaris 10 and up alike.
370 * configure: Regenerate.
372 2003-09-22 Anthony Green <green@redhat.com>
374 * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
377 2003-09-20 <green@redhat.com>
379 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
380 check for __arm__ or __thumb__.
382 2003-09-09 Alan Modra <amodra@bigpond.net.au>
384 * configure: Regenerate.
386 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
387 Roger Sayle <roger@eyesopen.com>
389 * configure.in: Set INCLUDES to absolute path.
390 Save $INCLUDES in boehm-cflags, too.
391 Set INCLUDES so it's available to config.status.
392 * configure: Regenerate.
394 2003-07-31 Danny Smith <dannysmith@users.sourceforge.net>
396 * include/gc.h (GC_CreateThread): Declare with WINAPI
398 * win32_threads.c (GC_CreateThread): Make definitions consistent
399 with declaration. Cast &thread_table[i].handle to PHANDLE
400 in call to DuplicateHandle
401 (thread_start): Declare as static.
403 2003-07-30 Andreas Tobler <a.tobler@schweiz.ch>
405 * dyn_load.c: Define __private_extern__ to match Apple's system
408 2003-07-28 Loren J. Rittle <ljrittle@acm.org>
410 * os_dep.c: Remove redundancy introduced in last merge.
412 2003-07-28 Jeff Sturm <jsturm@one-point.com>
415 * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
416 * ChangeLog: Likewise.
417 * Makefile.am: Likewise.
418 * Makefile.direct: Likewise.
419 * Makefile.dj: Likewise.
420 * allchblk.c: Likewise.
422 * backgraph.c: Likewise.
423 * configure.host: Likewise.
424 * configure.in: Likewise.
425 * dbg_mlc.c: Likewise.
426 * dyn_load.c: Likewise.
427 * finalize.c: Likewise.
428 * gc_cpp.cc: Likewise.
429 * gc_dlopen.c: Likewise.
430 * gcj_mlc.c: Likewise.
431 * if_mach.c: Likewise.
432 * mach_dep.c: Likewise.
433 * malloc.c: Likewise.
434 * mallocx.c: Likewise.
436 * mark_rts.c: Likewise.
438 * os_dep.c: Likewise.
439 * ptr_chck.c: Likewise.
440 * reclaim.c: Likewise.
441 * solaris_pthreads.c: Likewise.
442 * solaris_threads.c: Likewise.
443 * sparc_mach_dep.S: Likewise.
444 * threadlibs.c: Likewise.
445 * typd_mlc.c: Likewise.
446 * version.h: Likewise.
447 * win32_threads.c: Likewise.
448 * Mac_files/MacOS_Test_config.h: Likewise.
449 * Mac_files/MacOS_config.h: Likewise.
450 * cord/cordbscs.c: Likewise.
451 * cord/cordprnt.c: Likewise.
452 * cord/de_win.c: Likewise.
453 * doc/README: Likewise.
454 * doc/README.MacOSX: Likewise.
455 * doc/README.changes: Likewise.
456 * doc/README.environment: Likewise.
457 * doc/README.ews4800: Likewise.
458 * doc/README.linux: Likewise.
459 * doc/README.macros: Likewise.
460 * doc/README.win32: Likewise.
461 * doc/debugging.html: Likewise.
462 * doc/gcdescr.html: Likewise.
463 * doc/tree.html: Likewise.
464 * include/Makefile.in: Likewise.
465 * include/gc.h: Likewise.
466 * include/gc_cpp.h: Likewise.
467 * include/gc_local_alloc.h: Likewise.
468 * include/gc_mark.h: Likewise.
469 * include/gc_pthread_redirects.h: Likewise.
470 * include/gc_typed.h: Likewise.
471 * include/new_gc_alloc.h: Likewise.
472 * include/private/dbg_mlc.h: Likewise.
473 * include/private/gc_hdrs.h: Likewise.
474 * include/private/gc_locks.h: Likewise.
475 * include/private/gc_pmark.h: Likewise.
476 * include/private/gc_priv.h: Likewise.
477 * include/private/gcconfig.h: Likewise.
478 * include/private/solaris_threads.h: Likewise.
479 * include/private/specific.h: Likewise.
480 * tests/test.c: Likewise.
481 * tests/test_cpp.cc: Likewise.
483 * configure: Rebuild.
484 * Makefile.in: Rebuild.
486 * mips_sgi_mach_dep.s: Add.
488 * alpha_mach_dep.s: Remove.
489 * irix_threads.c: Remove.
490 * linux_threads.c: Remove.
491 * mips_sgi_mach_dep.S: Remove.
493 * powerpc_macosx_mach_dep.s: Remove.
494 * doc/Makefile.am: Remove.
495 * doc/Makefile.in: Remove.
497 2003-07-25 Roger Sayle <roger@eyesopen.com>
499 * configure.host: Only use +ESdbgasm when using the HPUX native
500 compiler on PA-Risc. It isn't recognized by GCC and is silently
501 ignored by HP's compilers on ia64.
503 2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
505 * configure.in: define GC_DLL under mingw if --enable-shared
507 * win32_threads.c: add #ifdef GC_DLL around DllMain
509 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
511 * include/private/gcconfig.h: Add support for arm-netbsdelf.
513 2003-04-09 Tom Tromey <tromey@redhat.com>
515 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
517 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
519 2003-03-22 Richard Henderson <rth@redhat.com>
521 * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
522 (GC_test_and_set): Use __sync_lock_test_and_set.
523 (GC_clear): Use volatile assignment.
524 (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
525 (GC_memory_write_barrier): Use __sync_synchronize.
527 2003-03-12 Andreas Schwab <schwab@suse.de>
529 * configure.in: Avoid trailing /. in toolexeclibdir.
530 * configure: Rebuilt.
532 2003-03-04 Hans Boehm <Hans.Boehm@hp.com>
533 * include/private/gcconfig.h (GC_data_start): declare when needed.
534 * include/private/gc_priv.h: Include gcconfig.h after ptr_t
536 * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
537 GC_register_dynlib_callback): Register main data for static
538 executable if dl_iterate_phdr() didn't.
539 * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
540 if we don't expect to register main static data.
542 2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
543 * mark_rts.c (GC_cond_register_dynamic_libraries): add.
544 (GC_push_roots): explicitly mark free list headers, register
545 dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
546 * alloc.c (GC_stopped_mark): Conditionally call
547 GC_cond_register_dynamic_libraries().
548 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
549 * dyn_load.c (GC_register_main_static_data): define.
550 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
551 no longer skip main data.
552 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
553 (GC_init_inner): Make main data registration conditional.
554 * include/private/gc_priv.h (GC_register_main_static_data): declare.
555 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
558 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
560 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
562 * configure: Rebuilt.
564 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
566 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
568 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
570 * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
571 Remove USE_LIBDIR conditional.
572 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
573 * Makefile.in, configure: Rebuilt.
575 2002-12-31 Tom Tromey <tromey@redhat.com>
578 * include/Makefile.in: Rebuilt.
579 * include/Makefile.am (noinst_HEADERS): Renamed from
582 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
584 * ltconfig (osf[345]): Append $major to soname_spec.
585 Reflect this in library_names_spec.
586 * ltmain.sh (osf): Prefix $major with . for use as extension.
588 2002-10-02 Andreas Jaeger <aj@suse.de>
590 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
592 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
594 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead
595 check for __arm__ or __thumb__.
597 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com>
599 * include/private/gcconfig: Add machine type S390. Add s390x support.
600 * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
601 (GC_compare_and_exchange): Likewise.
603 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com>
605 * include/private/gcconfig.h: Fix NetBSD/mips parameters.
607 2002-08-23 Adam Megacz <adam@xwt.org>
609 * win32_threads.cc: Removed extraneous ABORT()
611 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
613 * Makefile.am (all-multi): Fix multilib parallel build.
615 2002-07-18 Bo Thorsen <bo@suse.de>
617 * include/private/gcconfig.h: Add x86-64 definitions.
618 * os_dep.c: Add x86-64 support.
619 * configure.in: Likewise.
620 * configure: Regenerate.
622 2002-07-18 H.J. Lu <hjl@gnu.org>
624 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
626 2002-07-18 H.J. Lu (hjl@gnu.org)
628 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
631 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
634 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
636 2002-06-09 H.J. Lu (hjl@gnu.org)
638 * include/private/gc_locks.h (GC_test_and_set): Support
640 (GC_TEST_AND_SET_DEFINED): Likewise.
642 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
645 (LINUX_STACKBOTTOM): Likewise.
646 (STACKBOTTOM): Removed for Linux/mips.
648 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
650 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
651 (GC_pthread_create): Fix typo.
652 (GC_TRY_LOCK): Likewise.
653 * include/private/gc_locks.h (GC_test_and_set): Only take one
655 (LOCK): Adjust appropriately.
656 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
657 _SIGRTMIN is unavailable.
659 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
661 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
662 * aclocal.m4: Regenerate.
663 * configure: Regenerate.
665 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
667 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
668 script entry, and set LD to it when configuring multilibs.
669 * configure: Rebuilt.
671 2002-04-22 Jeff Sturm <jsturm@one-point.com>
673 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
674 (noinst_LTLIBRARIES): Add libgcjgc.la.
676 * Makefile.in: Rebuild.
678 2002-04-22 David S. Miller <davem@redhat.com>
680 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
681 64-bit SPARC Linux, the __libc_stack_end technique does
682 not work in this case.
684 2002-04-22 Jeff Sturm <jsturm@one-point.com>
686 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
688 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
690 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
693 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
695 * include/private/gcconfig.h (DATAEND): Update comment example
698 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
700 * include/private/gcconfig.h (DATAEND): Clarify comment.
702 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
704 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
705 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
707 * allchblk.c (GC_allchblk_nth): Change text and support reduced
708 frequency for blacklist warning message.
709 * misc.c (GC_large_alloc_warn_interval,
710 GC_large_alloc_warn_suppressed): define.
711 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
712 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
713 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
714 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
716 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
718 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
720 * include/private/gcconfig.h: Add support for an unmapped
721 memory hole between the end of the initialized data segment
722 and the start of the BSS on FreeBSD/i386.
724 2002-03-30 Krister Walfridsson <cato@df.lth.se>
726 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
729 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
731 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
732 (GC_local_gcj_malloc): Add assertion.
733 (start_mark_threads): Fix abort message.
734 * mark.c (GC_mark_from): Generalize assertion.
735 * reclaim.c (GC_clear_fl_links): New function.
736 (GC_start_reclaim): Must clear some freelist links.
737 * include/private/specific.h, specific.c: Add assertions.
738 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
739 Rearrange tse fields.
741 2002-03-27 Richard Henderson <rth@redhat.com>
743 * os_dep.c (GC_init_linux_data_start): Fix references to
744 __data_start and _end.
746 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
748 * include/private/gcconfig.h: Change all likely references
749 to linker script synthesized symbols to use this idiom:
750 extern int etext[]; etext
752 2002-03-25 Jeff Sturm <jsturm@one-point.com>
754 * linux_threads.c (GC_get_nprocs): Close file descriptor.
756 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
758 * include/private/gcconfig.h: Add unified test for FreeBSD.
759 Support FreeBSD/alpha.
760 * os_dep.c: Do not include <machine/trap.h> unless available.
761 (GC_freebsd_stack_base): Fix types.
763 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
765 * Makefile.am: Make a convenience library.
766 * Makefile.in: Rebuilt.
768 2002-03-15 Anthony Green <green@redhat.com>
770 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
771 * configure.in: Disable use of getenv for win32 targets (some of
772 which have broken implementations).
773 * configure: Rebuilt.
775 2002-03-12 Adam Megacz <adam@xwt.org>
777 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
778 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
779 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
780 statically initialized it to TRUE if compiling with GCC.
781 * win32_threads.c (thread_start): We no longer use SEH if
783 * mark.c (GC_mark_some): We no longer use SEH if
786 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
788 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
789 support is enabled, for hash synchronization.
791 2002-02-24 Adam Megacz <adam@xwt.org>
793 * Makefile.am: Added win32_threads.c to sources list.
794 * win32_threads.c: Added two */'s which I had neglected.
796 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
798 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
799 * Makefile.in: Rebuilt.
801 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
803 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
805 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
807 * mips_sgi_mach_dep.S: Likewise.
808 * Makefile.am: Update for above changes.
809 * Makefile.in: Rebuilt.
811 2002-02-12 Richard Henderson <rth@redhat.com>
813 * configure.in: Re-apply 2001-06-26 configure change.
814 * configure: Rebuild.
816 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
818 Imported GC 6.1 Alpha 3.
820 * sparc_mach_dep.S: Delete incorrectly named file.
822 2001-02-11 Adam Megacz <adam@xwt.org
824 * configure.in: support for win32, saner
825 cross-compile options
827 2001-02-08 Anthony Green <green@redhat.com>
829 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
830 board embedded targets.
831 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
832 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
833 redundant uses of ECOS.
834 * misc.c: Use NOSYS where ECOS is being used.
835 Don't define GC_write twice for ECOS systems.
836 (GC_write): New function for NOSYS targets.
838 2002-02-06 Adam Megacz <adam@xwt.org>
840 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
841 now exposed on all Win32 platforms.
842 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
843 compiles on Win32; it invokes CreateThread() if GC is built
844 as a DLL; otherwise it registers the thread.
845 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
846 libgcjgc was not built as a DLL.
848 2002-02-01 Adam Megacz <adam@xwt.org>
850 * boehm-gc on win32 now automatically detects if it is being built
851 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
853 2002-01-25 David Edelsohn <edelsohn@gnu.org>
855 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
856 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
857 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
858 DATASTART and DATAEND roots.
859 * rs6000_mach_dep.s: Add function descriptor and traceback table.
861 2001-12-16 Jeff Sturm <jsturm@one-point.com>
863 * dyn_load.c: Define ElfW (if needed) for all targets,
865 (GC_FirstDLOpenedLinkMap): Use it.
866 (GC_register_dynamic_libraries_dl): Use it.
867 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
870 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
873 * configure.in: Add AC_SUBST(target_alias).
874 * configure: Regenerated.
876 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
878 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
879 case for GC_FREEBSD_THREADS.
880 * configure.in (*-*-freebsd*): Clarify warning.
881 * configure: Rebuilt.
883 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
884 Andreas Tobler <toa@pop.agri.ch>
886 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
888 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
890 * linux_threads.c (GC_init_parallel): Do not declare as a static
892 * include/gc.h (GC_init): Declare here. Add description.
893 * include/private/gc_priv.h (GC_init): Remove declaration.
895 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
897 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
898 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
899 GC_FREEBSD_THREADS, handle strange interaction between system
900 pthread implementation and boehm-gc signal-handler architecture.
901 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
903 * include/private/gcconfig.h (configuration keyed off FREEBSD):
904 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
905 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
907 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
909 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
910 * Makefile.in: Rebuilt.
912 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
914 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
915 merged local changes.
917 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
919 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
920 Solaris 2/Intel definition.
922 * configure.in (i?86-*-solaris2.[89]*): Define
923 SOLARIS25_PROC_VDB_BUG_FIXED.
924 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
925 * configure: Regenerate.
927 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
928 (DATAEND): Define using _end.
930 2001-09-11 Per Bothner <per@bothner.com>
932 * include/Makefile.am: New file. It defines include_HEADERS.
933 * Makefile.am (SUBDIRS): New macro, set to include.
934 * configure.in (AC_OUTPUT): Add include/Makefile.
936 2001-08-20 Tom Tromey <tromey@redhat.com>
938 * configure: Rebuilt.
939 * configure.in: Always ask gcc for threads package.
941 2001-08-17 Tom Tromey <tromey@redhat.com>
943 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
944 merged local changes.
946 2001-08-02 David Billinghurst <David.Billinghurst>
948 * configure: Rebuilt.
949 * configure.in: POSIX threads on cygwin does not link with
952 2001-07-03 Tom Tromey <tromey@redhat.com>
954 Fix for PR bootstrap/3281:
955 * aclocal.m4, configure, Makefile.in: Rebuilt.
956 * acinclude.m4: Set mkinstalldirs for in-tree build.
958 2001-06-26 Richard Henderson <rth@redhat.com>
960 * alpha_mach_dep.s: Mark call-saved FP registers.
961 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
962 * configure.in (alpha*): Re-enable alpha_mach_dep.s
963 * configure: Rebuild.
965 2001-06-12 Tom Tromey <tromey@redhat.com>
967 * aclocal.m4, configure: Rebuilt.
968 * acinclude.m4: Find configure.host in srcdir.
970 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
972 * configure.in (AC_EXEEXT): Work around in case it expands to
973 nothing, as in autoconf 2.50.
974 * acinclude.m4: Likewise.
975 * aclocal.m4, configure: Rebuilt.
977 2001-06-07 Tom Tromey <tromey@redhat.com>
979 For PR bootstrap/3075:
980 * configure, aclocal.m4, Makefile.in: Rebuilt.
981 * configure.in: Don't call AC_CONFIG_AUX_DIR or
983 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
984 AC_CANONICAL_SYSTEM here.
985 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
988 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
990 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
991 (libgcjgc_la_SOURCES): Remove typo.
992 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
993 * Makefile.in: Rebuilt.
995 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
997 Imported version version 6.0alpha7.
999 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
1000 README.amiga, README.debugging, README.dj, README.hp, README.linux,
1001 README.rs6000, README.sgi, README.solaris2, README.uts,
1002 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
1003 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
1004 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
1005 hpux_irix_threads.c, makefile.depend, nursery.c,
1006 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
1007 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
1008 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
1009 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
1012 2001-05-19 Hans Boehm <hans_boehm@hp.com>
1014 * configure.host: Build with -fexceptions.
1015 * linux_threads.c: Remember which thread stopped world for
1017 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
1018 with final tuning by Bryce McKinlay
1020 * configure.in: Add support for --enable-threads=posix on FreeBSD.
1021 * configure: Rebuilt.
1023 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
1025 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
1026 (GC_noop1): Change declaration to take one argument.
1028 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1030 * configure.in: Obtain THREADS with `gcc -v'.
1031 * configure: Rebuilt.
1033 2001-04-05 Hans Boehm <hans_boehm@hp.com>
1035 * misc.c: Back out buggy changes to stack clearing code.
1036 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
1037 spent clearing memory.
1039 2001-04-04 Hans Boehm <hans_boehm@hp.com>
1042 - Accomodate finalization requests for static objects.
1043 (Will be required by hash synchronization. May be needed
1044 in some configurations now.)
1047 - Define MIN_WORDS. All allocation requests are rounded
1048 up to at least this size. Removes a subtle assumption that
1049 Java objects have a 2 word header.
1052 - Adjust Linux/IA64 configuration for non-ancient kernels.
1053 (Necessary fix for IA64.)
1056 - Fix syntax error in currently unused code. Will be needed
1064 - Change stack cleaning code to typically clear about one tenth
1065 the memory it used to in the threads configuration. Occasionally
1066 still clear more. (This is really a fix for a long-standing
1067 and fairly significant performance bug with threads.)
1070 - Fix the code for finding the beginning of the data segment under
1071 Linux. I believe this is necessary for some IA64 Linux
1072 distributions. It will also helo other platforms, though those
1073 may additionally require a gcconfig.h adjustment. (This basically
1074 works around the absence of a data_start or __data_start
1075 definition in glibc.)
1078 - Handle rounding due to MIN_WORDS.
1080 2001-03-22 Tom Tromey <tromey@redhat.com>
1082 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
1084 2001-03-19 Tom Tromey <tromey@redhat.com>
1086 * Makefile.in: Rebuilt.
1087 * Makefile.am (gctest_LDFLAGS): new macro.
1089 2001-03-16 Tom Tromey <tromey@redhat.com>
1091 * Makefile.in: Rebuilt.
1092 * Makefile.am (TESTS_ENVIRONMENT): New macro.
1094 2001-01-23 Rod Stewart <stewart@lab43.org>
1096 * gcconfig.h: Check for `__arm__', not `arm'.
1098 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
1100 * configure.in: Rename THREADLIB to THREADLIBS.
1101 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
1102 ensures that we link the correct version of the linuxthreads semaphore
1104 * Makefile.in: Rebuilt.
1105 * configure: Rebuilt.
1107 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
1108 list of signals which are not blocked during suspend in the NO_SIGNALS
1111 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
1113 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
1115 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
1117 * Makefile.dist: Renamed from Makefile.orig.
1119 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1121 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
1122 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
1124 * Makefile.in: Rebuilt.
1125 * configure: Likewise.
1127 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
1129 * gcconfig.h: Add new case for powerpc EABI.
1130 [PPC]: Handle embedded OS for powerpc simulator.
1132 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
1134 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
1135 cross-compile configuration only.
1136 * Makefile.am: Build gcj_mlc.c.
1137 * configure, Makefile.in: Rebuilt.
1139 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
1141 * acinclude.m4: Include libtool macros from the top level.
1142 * aclocal.m4, configure: Rebuilt.
1144 2000-09-04 Anthony Green <green@redhat.com>
1146 Fix for PR libgcj/230:
1147 * mark.c (GC_mark_from_mark_stack): Remove call to
1148 GC_debug_object_start.
1149 * gc_priv.h (GC_debug_object_start): Remove prototype.
1151 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1153 * gcconfig.h [OSF1] (_end): Declare as `int'.
1155 2000-08-02 Tom Tromey <tromey@cygnus.com>
1157 * gc_priv.h (GC_generic_malloc_inner): Prototype.
1158 (GC_generic_malloc): Likewise.
1159 (GC_add_to_black_list_normal): Likewise.
1160 (GC_find_header): Likewise.
1161 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
1162 * gc_mark.h (GC_find_start): Prototype.
1163 (GC_signal_mark_stack_overflow): Likewise.
1165 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
1167 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
1168 * configure: Rebuilt.
1170 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
1172 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
1174 Imported version 5.1.
1175 * acinclude.m4: Push version to 5.1.
1177 2000-06-19 Andrew Haley <aph@cygnus.com>
1179 * os_dep.c (read): Pass two dummy args to syscall().
1181 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
1183 Imported 5.0 release version.
1184 * acinclude.m4: Increment version to 5.0.
1186 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
1188 Imported version 5.0alpha7.
1189 * acinclude.m4: Update version to 5.0a7.
1191 2000-04-26 Jakub Jelinek <jakub@redhat.com>
1193 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
1194 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
1195 - sparc glibc does not provide it.
1196 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
1197 Make STACKBOTTOM depend on the wordsize.
1198 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
1199 (struct frame): Declare on sparc*-linux*.
1200 (GC_save_callers): Bias the frame pointers if needed (sparc64).
1201 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
1202 Implement on sparc64.
1203 (GC_clear_stack_inner): Implement on sparc64.
1204 * gc_priv.h (GC_test_and_set): Implement for sparc.
1205 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
1206 GC_save_regs_in_stack on sparc.
1208 2000-04-23 Tom Tromey <tromey@cygnus.com>
1210 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
1212 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
1214 Imported version version 5.0alpha6.
1215 * acinclude.m4: Bump version to 5.0a6.
1216 * configure.in: Don't use alpha_mach_dep.s.
1217 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
1219 * Makefile.am, Makefile.in: irix_threads.c is now
1220 hpux_irix_threads.c.
1221 * Makefile.orig: Updated from gc distribution Makefile.
1223 2000-03-26 Anthony Green <green@redhat.com>
1225 * misc.c (GC_enable): Always define GC_enable and GC_disable.
1227 2000-02-14 Tom Tromey <tromey@cygnus.com>
1229 * gc.h (dlopen): Define as GC_dlopen on Linux.
1230 (GC_dlopen): Declare on Linux.
1231 * dyn_load.c (GC_dlopen): Define for Linux.
1233 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
1235 * gcconfig.h (DATASTART): Add missing extern declaration
1236 for data_start on powerpc.
1238 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
1240 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
1243 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
1245 * gcconfig.h: Define DATASTART for Alpha Linux.
1247 1999-12-19 Anthony Green <green@cygnus.com>
1249 * gcconfig.h: Use libgcj hack for Alpha Linux.
1250 Undefine MPROTEXT_VDB (from Jeff Sturm).
1251 * os_dep.c: Remove Alpha Linux hacks.
1254 1999-12-13 Tom Tromey <tromey@cygnus.com>
1256 * aclocal.m4, configure: Rebuilt.
1257 * acinclude.m4: Changed version to 5.0a4.
1258 * Makefile.in: Rebuilt.
1259 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
1261 1999-12-12 Anthony Green <green@cygnus.com>
1263 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
1265 (DYNAMIC_LOADING): Define for PowerPC Linux.
1266 * os_dep.c: Remove some special cases for PowerPC Linux.
1267 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
1270 1999-11-04 Tom Tromey <tromey@cygnus.com>
1272 * Makefile.in: Rebuilt.
1273 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
1275 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
1276 (GC_thr_init): Don't declare.
1278 * configure: Rebuilt.
1279 * configure.in: Removed qt threads case.
1280 * dyn_load.c: Don't mention QUICK_THREADS.
1281 * os_dep.c: Don't mention QUICK_THREADS.
1282 * misc.c: Don't mention QUICK_THREADS.
1283 * gcconfig.h: Don't mention QUICK_THREADS.
1284 * gc_priv.h: Removed QUICK_THREADS code.
1285 * quick_threads.c: Removed.
1287 1999-11-03 Tom Tromey <tromey@cygnus.com>
1289 * gcconfig.h: Merged in local changes from old config.h.
1291 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
1293 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1295 1999-11-02 Tom Tromey <tromey@cygnus.com>
1297 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1299 * configure: Rebuilt.
1300 * configure.in: Don't create boehm-config.h.
1301 * Makefile.in: Rebuilt.
1302 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1304 ($(all_objs)): Depend on gcconfig.h.
1305 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1306 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1307 * config.h: Removed.
1309 1999-11-01 Tom Tromey <tromey@cygnus.com>
1311 * Makefile.in: Rebuilt.
1312 * Makefile.am (gctest_LDADD): Added THREADLIB.
1314 * configure: Rebuilt.
1315 * configure.in (INCLUDES): New subst.
1317 1999-09-29 Steve Chamberlain <sac@pobox.com>
1319 * config.h: Added picoJava target.
1320 * mach_dep.h (GC_push_regs): New code for picoJava.
1322 1999-09-28 Tom Tromey <tromey@cygnus.com>
1324 * aclocal.m4, configure: Rebuilt.
1325 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1326 appropriate AC_PROG_ symbol.
1328 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1330 * gc_priv.h: IRIX thread changes from
1331 include/private/gc_priv.h.
1333 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1335 * Makefile.in: Rebuilt.
1336 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1339 * configure: Rebuilt.
1340 * configure.in: Properly align --help output, fix capitalization
1342 * acinclude.m4: Likewise.
1344 1999-08-04 Tom Tromey <tromey@cygnus.com>
1346 * configure.in: Added missing `;;'. From Anthony Green.
1348 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1350 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1352 1999-08-03 Tom Tromey <tromey@cygnus.com>
1354 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1355 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1357 1999-08-02 Tom Tromey <tromey@cygnus.com>
1359 * aclocal.m4, configure: Rebuilt for new libtool.
1361 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1363 * mips_sgi_mach_dep.s: Enable PIC option.
1365 1999-07-19 Tom Tromey <tromey@cygnus.com>
1367 * config.h (MPROTECT_VDB): Don't define on Linux.
1369 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1371 * Makefile.am (.s.lo): Avoid `#line' directives.
1372 * Makefile.in: Rebuilt.
1374 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
1376 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1377 generate *-recursive for this Makefile, use *-am instead.
1378 * Makefile.in: Rebuilt.
1380 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
1382 * Makefile.am (.s.lo): Renamed from `.s.o'.
1383 * Makefile.in: Rebuilt.
1385 1999-06-21 Tom Tromey <tromey@cygnus.com>
1387 Alpha patch from Jeff Sturm:
1388 * os_dep.c (GC_init_linuxalpha): New function.
1389 * misc.c: Initialize for alpha linux.
1390 * gc_priv.h (GC_test_and_set): Define for alpha.
1391 * config.h: Don't assume __data_start on alpha.
1393 * Makefile.in: Rebuilt.
1394 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1397 * Makefile.in: Rebuilt.
1398 * Makefile.am (toolexeclibdir): Define as libdir when
1400 * configure: Rebuilt.
1401 * configure.in (USE_LIBDIR): New conditional.
1403 * configure: Rebuilt.
1404 * configure.in: Recognize all forms of alpha.
1406 1999-06-17 Anthony Green <green@cygnus.com>
1408 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1409 Carlo Dapor <carlo@vis.ethz.ch>).
1411 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
1413 * configure.in: Switch from irix threads to posix threads
1414 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1415 for mips architecture.
1416 * configure: Regenerate.
1418 1999-04-30 Tom Tromey <tromey@cygnus.com>
1420 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1422 1999-04-26 Tom Tromey <tromey@cygnus.com>
1424 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1427 1999-04-23 Tom Tromey <tromey@cygnus.com>
1429 * Makefile.in, configure: Rebuilt.
1430 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1431 (libgcjgc_la_SOURCES): Renamed.
1432 (libgcjgc_la_LIBADD): Likewise.
1433 (libgcjgc_la_DEPENDENCIES): Likewise.
1434 (EXTRA_libgcjgc_la_SOURCES): Likewise.
1435 (gctest_LDADD): Use libgcjgc.la.
1436 (all_objs): Mention libgcj_la_OBJECTS.
1437 (EXTRA_LTLIBRARIES): Renamed.
1438 (toollib_LTLIBRARIES): Likewise.
1439 (libgcjgc_la_LDFLAGS): New macro
1440 (toolexecdir): Renamed.
1441 (toolexeclibdir): Likewise.
1442 (toolexeclib_LTLIBRARIES): Likewise.
1443 (LTCOMPILE): Renamed; added libtool invocation.
1444 (LINK): Added libtool invocation.
1445 (.s.o): use LTCOMPILE.
1446 * configure.in: Call AM_PROG_LIBTOOL.
1447 (target_all): Set to libgcjgc.la.
1448 Mention `.lo' forms of object files.
1450 1999-04-21 Tom Tromey <tromey@cygnus.com>
1452 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1455 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1456 sigcontext.h. From Matthias Klose <doko@itso.de>.
1458 1999-04-16 Tom Tromey <tromey@cygnus.com>
1460 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
1461 David Pettersson <dapet@mai.liu.se>
1463 1999-04-14 Tom Tromey <tromey@cygnus.com>
1465 * configure: Rebuilt.
1466 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
1467 incorrect patch of 199-04-09.
1469 * configure: Rebuilt.
1470 * configure.in: Added support for alpha.
1471 From David Pettersson <dapet@mai.liu.se>.
1473 1999-04-13 Tom Tromey <tromey@cygnus.com>
1475 * Makefile.in: Rebuilt.
1476 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1479 1999-04-09 Tom Tromey <tromey@cygnus.com>
1481 * configure: Rebuilt.
1482 * configure.in: Use sparc_mach_dep.s when building on Solaris.
1484 1999-02-23 Tom Tromey <tromey@cygnus.com>
1486 * configure: Rebuilt.
1487 * configure.in: For Linux, define _REENTRANT. For Solaris, define
1488 SOLARIS_THREADS and _SOLARIS_PTHREADS.
1490 1999-02-18 Tom Tromey <tromey@cygnus.com>
1492 * quick_threads.c (GC_push_all_stacks): Change order of arguments
1493 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
1494 for case where LO is NULL.
1496 1999-02-10 Tom Tromey <tromey@cygnus.com>
1498 * aclocal.m4, configure, Makefile.in: Rebuilt.
1499 * acinclude.m4: Updated to be used with automake 1.4.
1500 * configure.in: Renamed libgc to libgcjgc. Updated to be used
1502 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
1503 (libgcjgc_a_SOURCES): Likewise.
1504 (libgcjgc_a_LIBADD): Likewise.
1505 (libgcjgc_a_DEPENDENCIES): Likewise.
1506 (EXTRA_libgcjgc_a_SOURCES): Likewise.
1507 (gctest_LDADD): Likewise.
1508 (all_objs): Likewise.
1510 1999-01-08 Tom Tromey <tromey@cygnus.com>
1512 * configure: Rebuilt.
1513 * configure.in: Define LINUX_THREADS if using POSIX threads on
1516 * gc_priv.h (GC_test_and_set): Put return type into definition.
1518 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
1520 * Makefile.am: add support for eCos. In particular, add C++
1521 support for compiling the file ecos.cc.
1522 * ecos.cc: new file.
1523 * acinclude.m4: add C++ support.
1524 * aclocal.m4: likewise
1525 * config.h: add eCos support.
1526 * configure: likewise
1527 * configure.in: likewise
1528 * misc.c (GC_write): add eCos support.
1529 * os_dep.c (tiny_sbrk): add eCos support.
1531 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
1533 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
1534 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
1536 1998-11-23 Tom Tromey <tromey@cygnus.com>
1538 * configure.host (boehm_gc_cflags): Don't add `-O2'.
1540 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
1542 * Makefile.am, Makefile.in, configure.host: tx39 build option
1545 1998-11-17 Tom Tromey <tromey@cygnus.com>
1547 * configure: Rebuilt.
1548 * configure.in: Switch on host, not target.
1550 1998-11-16 Tom Tromey <tromey@cygnus.com>
1552 * gc_priv.h (GC_debug_object_start): Declare.
1553 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
1554 * gc.h (GC_debug_register_finalizer_no_order,
1555 GC_register_finalizer_no_order): Declare.
1556 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
1557 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
1558 (GC_debug_generic_malloc): Likewise.
1559 (GC_debug_object_start): new function.
1561 1998-11-11 Tom Tromey <tromey@cygnus.com>
1563 * configure: Rebuilt.
1564 * configure.in: Recognize --enable-java-gc, not --enable-gc.
1566 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1568 * dyn_load.c: Handle QUICK_THREADS case.
1570 1998-10-21 Tom Tromey <tromey@cygnus.com>
1572 * configure: Rebuilt.
1573 * configure.in: Put cpp defines here, not in config.h. Recognize
1574 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
1575 define PACKAGE or VERSION.
1576 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
1579 * os_dep.c (GC_default_push_other_roots): Define when
1580 QUICK_THREADS defined.
1581 * misc.c: Added QUICK_THREADS case.
1582 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
1583 * config.h (THREADS): Define if QUICK_THREADS defined.
1584 * Makefile.in: Rebuilt.
1585 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
1587 * quick_threads.c: New file.
1589 1998-10-20 Tom Tromey <tromey@cygnus.com>
1591 * aclocal.m4, configure: Rebuilt.
1592 * acinclude.m4: Don't subst machine_dir or sys_dir.
1593 * configure.host: Removed unused code.
1595 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
1597 * configure: Rebuilt.
1598 * configure.in: Fix typo in previous patch.
1600 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
1602 * Makefile.in, aclocal.m4, configure: Rebuilt.
1603 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
1604 * configure.host: Created.
1606 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
1608 * Makefile.in: Rebuilt.
1609 * Makefile.am (lib_LIBRARIES): Use target_all.
1610 (EXTRA_LIBRARIES): New macro.
1611 * configure: Rebuilt.
1612 * configure.in: Recognize --enable-gc.
1614 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
1616 * Makefile.in: Rebuilt.
1617 * Makefile.am (COMPILE): Define.
1619 (.s.o): Use MY_CFLAGS.
1620 * configure: Rebuilt.
1621 * configure.in (MY_CFLAGS): Define and subst.
1623 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
1625 * configure: Rebuilt.
1626 * configure.in: Added --with-cross-host argument. Use
1627 $with_cross_host to determine when cross-compiling.
1629 * config.h (SMALL_CONFIG): Don't define.
1630 * configure: Rebuilt.
1631 * configure.in: Define SMALL_CONFIG when cross-compiling.
1633 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
1635 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1636 allchblk.c: Merged with 4.13a2 while preserving local changes.
1638 * Makefile.orig: Updated from Makefile in 4.13a2.
1640 * configure: Rebuilt.
1641 * configure.in: Updated version number to 4.13a2. On Solaris,
1642 don't build with -O when using gcc.
1644 Merged in version 4.13alpha2:
1645 * config.h (USE_MMAP): Re-enable on Solaris.
1646 * solaris_pthreads.c: Removed RCS Id line.
1647 * alpha_mach_dep.s: Removed RCS Id line.
1649 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
1651 * config.h (USE_MMAP): Don't define for Solaris.
1653 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
1655 * Makefile.in: Rebuilt.
1656 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1658 * Makefile.in: Rebuilt.
1659 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1661 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
1663 * Makefile.in: Rebuilt.
1664 * Makefile.am ($(all_objs)): Depend on config.h.
1666 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1667 DATASTART as &_etext.
1668 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1669 * configure: Rebuilt.
1670 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1673 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
1675 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1676 (GC_maybe_gc): Likewise.
1677 * os_dep.c: If NO_SIGSET defined, then have empty
1678 GC_disable_signals and GC_enable_signals.
1679 * configure: Rebuilt.
1680 * configure.in: Added --with-target-subdir option. If
1681 cross-compiling, define NO_SIGSET and NO_CLOCK.
1683 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
1685 * Makefile.in: Rebuilt.
1686 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1688 * aclocal.m4, configure: Rebuilt.
1689 * acinclude.m4: New file.
1690 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
1692 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
1694 * configure: Rebuilt.
1695 * configure.in: Link boehm-config.h to config.h.
1696 * Makefile.in: Rebuilt.
1697 * Makefile.am (INCLUDES): Removed.
1698 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1699 JAVA_FINALIZATION): Define
1701 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
1703 * Many files: Use GC_bool, not bool.
1704 * gc_priv.h: Define GC_bool, not bool.
1706 * misc.c (GC_dont_gc): Define as int.
1707 (GC_quiet): Likewise.
1708 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1709 * alloc.c (GC_dont_expand): Define as int.
1710 * gc_priv.h: For gcc, define bool as char.
1712 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
1714 * Makefile.in: Rebuilt.
1715 * Makefile.am (check_PROGRAMS): New macro.
1716 (gctest_SOURCES): Likewise.
1717 (gctest_LDADD): Likewise.
1719 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
1721 * Makefile.in: Rebuilt.
1722 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1723 * configure: Rebuilt.
1724 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1726 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1728 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1730 * Makefile.orig: Renamed from Makefile.