1 2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
4 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
6 2002-06-09 H.J. Lu (hjl@gnu.org)
8 * include/private/gc_locks.h (GC_test_and_set): Support
10 (GC_TEST_AND_SET_DEFINED): Likewise.
12 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
15 (LINUX_STACKBOTTOM): Likewise.
16 (STACKBOTTOM): Removed for Linux/mips.
18 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
20 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
21 (GC_pthread_create): Fix typo.
22 (GC_TRY_LOCK): Likewise.
23 * include/private/gc_locks.h (GC_test_and_set): Only take one
25 (LOCK): Adjust appropriately.
26 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
27 _SIGRTMIN is unavailable.
29 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
31 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
32 * aclocal.m4: Regenerate.
33 * configure: Regenerate.
35 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
37 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
38 script entry, and set LD to it when configuring multilibs.
41 2002-04-22 Jeff Sturm <jsturm@one-point.com>
43 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
44 (noinst_LTLIBRARIES): Add libgcjgc.la.
46 * Makefile.in: Rebuild.
48 2002-04-22 David S. Miller <davem@redhat.com>
50 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
51 64-bit SPARC Linux, the __libc_stack_end technique does
52 not work in this case.
54 2002-04-22 Jeff Sturm <jsturm@one-point.com>
56 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
58 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
60 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
63 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
65 * include/private/gcconfig.h (DATAEND): Update comment example
68 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
70 * include/private/gcconfig.h (DATAEND): Clarify comment.
72 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
74 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
75 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
77 * allchblk.c (GC_allchblk_nth): Change text and support reduced
78 frequency for blacklist warning message.
79 * misc.c (GC_large_alloc_warn_interval,
80 GC_large_alloc_warn_suppressed): define.
81 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
82 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
83 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
84 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
86 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
88 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
90 * include/private/gcconfig.h: Add support for an unmapped
91 memory hole between the end of the initialized data segment
92 and the start of the BSS on FreeBSD/i386.
94 2002-03-30 Krister Walfridsson <cato@df.lth.se>
96 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
99 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
101 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
102 (GC_local_gcj_malloc): Add assertion.
103 (start_mark_threads): Fix abort message.
104 * mark.c (GC_mark_from): Generalize assertion.
105 * reclaim.c (GC_clear_fl_links): New function.
106 (GC_start_reclaim): Must clear some freelist links.
107 * include/private/specific.h, specific.c: Add assertions.
108 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
109 Rearrange tse fields.
111 2002-03-27 Richard Henderson <rth@redhat.com>
113 * os_dep.c (GC_init_linux_data_start): Fix references to
114 __data_start and _end.
116 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
118 * include/private/gcconfig.h: Change all likely references
119 to linker script synthesized symbols to use this idiom:
120 extern int etext[]; etext
122 2002-03-25 Jeff Sturm <jsturm@one-point.com>
124 * linux_threads.c (GC_get_nprocs): Close file descriptor.
126 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
128 * include/private/gcconfig.h: Add unified test for FreeBSD.
129 Support FreeBSD/alpha.
130 * os_dep.c: Do not include <machine/trap.h> unless available.
131 (GC_freebsd_stack_base): Fix types.
133 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
135 * Makefile.am: Make a convenience library.
136 * Makefile.in: Rebuilt.
138 2002-03-15 Anthony Green <green@redhat.com>
140 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
141 * configure.in: Disable use of getenv for win32 targets (some of
142 which have broken implementations).
143 * configure: Rebuilt.
145 2002-03-12 Adam Megacz <adam@xwt.org>
147 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
148 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
149 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
150 statically initialized it to TRUE if compiling with GCC.
151 * win32_threads.c (thread_start): We no longer use SEH if
153 * mark.c (GC_mark_some): We no longer use SEH if
156 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
158 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
159 support is enabled, for hash synchronization.
161 2002-02-24 Adam Megacz <adam@xwt.org>
163 * Makefile.am: Added win32_threads.c to sources list.
164 * win32_threads.c: Added two */'s which I had neglected.
166 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
168 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
169 * Makefile.in: Rebuilt.
171 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
173 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
175 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
177 * mips_sgi_mach_dep.S: Likewise.
178 * Makefile.am: Update for above changes.
179 * Makefile.in: Rebuilt.
181 2002-02-12 Richard Henderson <rth@redhat.com>
183 * configure.in: Re-apply 2001-06-26 configure change.
184 * configure: Rebuild.
186 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
188 Imported GC 6.1 Alpha 3.
190 * sparc_mach_dep.S: Delete incorrectly named file.
192 2001-02-11 Adam Megacz <adam@xwt.org
194 * configure.in: support for win32, saner
195 cross-compile options
197 2001-02-08 Anthony Green <green@redhat.com>
199 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
200 board embedded targets.
201 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
202 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
203 redundant uses of ECOS.
204 * misc.c: Use NOSYS where ECOS is being used.
205 Don't define GC_write twice for ECOS systems.
206 (GC_write): New function for NOSYS targets.
208 2002-02-06 Adam Megacz <adam@xwt.org>
210 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
211 now exposed on all Win32 platforms.
212 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
213 compiles on Win32; it invokes CreateThread() if GC is built
214 as a DLL; otherwise it registers the thread.
215 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
216 libgcjgc was not built as a DLL.
218 2002-02-01 Adam Megacz <adam@xwt.org>
220 * boehm-gc on win32 now automatically detects if it is being built
221 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
223 2002-01-25 David Edelsohn <edelsohn@gnu.org>
225 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
226 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
227 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
228 DATASTART and DATAEND roots.
229 * rs6000_mach_dep.s: Add function descriptor and traceback table.
231 2001-12-16 Jeff Sturm <jsturm@one-point.com>
233 * dyn_load.c: Define ElfW (if needed) for all targets,
235 (GC_FirstDLOpenedLinkMap): Use it.
236 (GC_register_dynamic_libraries_dl): Use it.
237 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
240 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
243 * configure.in: Add AC_SUBST(target_alias).
244 * configure: Regenerated.
246 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
248 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
249 case for GC_FREEBSD_THREADS.
250 * configure.in (*-*-freebsd*): Clarify warning.
251 * configure: Rebuilt.
253 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
254 Andreas Tobler <toa@pop.agri.ch>
256 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
258 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
260 * linux_threads.c (GC_init_parallel): Do not declare as a static
262 * include/gc.h (GC_init): Declare here. Add description.
263 * include/private/gc_priv.h (GC_init): Remove declaration.
265 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
267 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
268 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
269 GC_FREEBSD_THREADS, handle strange interaction between system
270 pthread implementation and boehm-gc signal-handler architecture.
271 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
273 * include/private/gcconfig.h (configuration keyed off FREEBSD):
274 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
275 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
277 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
279 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
280 * Makefile.in: Rebuilt.
282 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
284 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
285 merged local changes.
287 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
289 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
290 Solaris 2/Intel definition.
292 * configure.in (i?86-*-solaris2.[89]*): Define
293 SOLARIS25_PROC_VDB_BUG_FIXED.
294 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
295 * configure: Regenerate.
297 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
298 (DATAEND): Define using _end.
300 2001-09-11 Per Bothner <per@bothner.com>
302 * include/Makefile.am: New file. It defines include_HEADERS.
303 * Makefile.am (SUBDIRS): New macro, set to include.
304 * configure.in (AC_OUTPUT): Add include/Makefile.
306 2001-08-20 Tom Tromey <tromey@redhat.com>
308 * configure: Rebuilt.
309 * configure.in: Always ask gcc for threads package.
311 2001-08-17 Tom Tromey <tromey@redhat.com>
313 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
314 merged local changes.
316 2001-08-02 David Billinghurst <David.Billinghurst>
318 * configure: Rebuilt.
319 * configure.in: POSIX threads on cygwin does not link with
322 2001-07-03 Tom Tromey <tromey@redhat.com>
324 Fix for PR bootstrap/3281:
325 * aclocal.m4, configure, Makefile.in: Rebuilt.
326 * acinclude.m4: Set mkinstalldirs for in-tree build.
328 2001-06-26 Richard Henderson <rth@redhat.com>
330 * alpha_mach_dep.s: Mark call-saved FP registers.
331 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
332 * configure.in (alpha*): Re-enable alpha_mach_dep.s
333 * configure: Rebuild.
335 2001-06-12 Tom Tromey <tromey@redhat.com>
337 * aclocal.m4, configure: Rebuilt.
338 * acinclude.m4: Find configure.host in srcdir.
340 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
342 * configure.in (AC_EXEEXT): Work around in case it expands to
343 nothing, as in autoconf 2.50.
344 * acinclude.m4: Likewise.
345 * aclocal.m4, configure: Rebuilt.
347 2001-06-07 Tom Tromey <tromey@redhat.com>
349 For PR bootstrap/3075:
350 * configure, aclocal.m4, Makefile.in: Rebuilt.
351 * configure.in: Don't call AC_CONFIG_AUX_DIR or
353 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
354 AC_CANONICAL_SYSTEM here.
355 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
358 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
360 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
361 (libgcjgc_la_SOURCES): Remove typo.
362 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
363 * Makefile.in: Rebuilt.
365 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
367 Imported version version 6.0alpha7.
369 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
370 README.amiga, README.debugging, README.dj, README.hp, README.linux,
371 README.rs6000, README.sgi, README.solaris2, README.uts,
372 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
373 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
374 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
375 hpux_irix_threads.c, makefile.depend, nursery.c,
376 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
377 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
378 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
379 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
382 2001-05-19 Hans Boehm <hans_boehm@hp.com>
384 * configure.host: Build with -fexceptions.
385 * linux_threads.c: Remember which thread stopped world for
387 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
388 with final tuning by Bryce McKinlay
390 * configure.in: Add support for --enable-threads=posix on FreeBSD.
391 * configure: Rebuilt.
393 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
395 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
396 (GC_noop1): Change declaration to take one argument.
398 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
400 * configure.in: Obtain THREADS with `gcc -v'.
401 * configure: Rebuilt.
403 2001-04-05 Hans Boehm <hans_boehm@hp.com>
405 * misc.c: Back out buggy changes to stack clearing code.
406 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
407 spent clearing memory.
409 2001-04-04 Hans Boehm <hans_boehm@hp.com>
412 - Accomodate finalization requests for static objects.
413 (Will be required by hash synchronization. May be needed
414 in some configurations now.)
417 - Define MIN_WORDS. All allocation requests are rounded
418 up to at least this size. Removes a subtle assumption that
419 Java objects have a 2 word header.
422 - Adjust Linux/IA64 configuration for non-ancient kernels.
423 (Necessary fix for IA64.)
426 - Fix syntax error in currently unused code. Will be needed
434 - Change stack cleaning code to typically clear about one tenth
435 the memory it used to in the threads configuration. Occasionally
436 still clear more. (This is really a fix for a long-standing
437 and fairly significant performance bug with threads.)
440 - Fix the code for finding the beginning of the data segment under
441 Linux. I believe this is necessary for some IA64 Linux
442 distributions. It will also helo other platforms, though those
443 may additionally require a gcconfig.h adjustment. (This basically
444 works around the absence of a data_start or __data_start
445 definition in glibc.)
448 - Handle rounding due to MIN_WORDS.
450 2001-03-22 Tom Tromey <tromey@redhat.com>
452 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
454 2001-03-19 Tom Tromey <tromey@redhat.com>
456 * Makefile.in: Rebuilt.
457 * Makefile.am (gctest_LDFLAGS): new macro.
459 2001-03-16 Tom Tromey <tromey@redhat.com>
461 * Makefile.in: Rebuilt.
462 * Makefile.am (TESTS_ENVIRONMENT): New macro.
464 2001-01-23 Rod Stewart <stewart@lab43.org>
466 * gcconfig.h: Check for `__arm__', not `arm'.
468 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
470 * configure.in: Rename THREADLIB to THREADLIBS.
471 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
472 ensures that we link the correct version of the linuxthreads semaphore
474 * Makefile.in: Rebuilt.
475 * configure: Rebuilt.
477 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
478 list of signals which are not blocked during suspend in the NO_SIGNALS
481 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
483 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
485 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
487 * Makefile.dist: Renamed from Makefile.orig.
489 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
491 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
492 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
494 * Makefile.in: Rebuilt.
495 * configure: Likewise.
497 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
499 * gcconfig.h: Add new case for powerpc EABI.
500 [PPC]: Handle embedded OS for powerpc simulator.
502 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
504 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
505 cross-compile configuration only.
506 * Makefile.am: Build gcj_mlc.c.
507 * configure, Makefile.in: Rebuilt.
509 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
511 * acinclude.m4: Include libtool macros from the top level.
512 * aclocal.m4, configure: Rebuilt.
514 2000-09-04 Anthony Green <green@redhat.com>
516 Fix for PR libgcj/230:
517 * mark.c (GC_mark_from_mark_stack): Remove call to
518 GC_debug_object_start.
519 * gc_priv.h (GC_debug_object_start): Remove prototype.
521 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
523 * gcconfig.h [OSF1] (_end): Declare as `int'.
525 2000-08-02 Tom Tromey <tromey@cygnus.com>
527 * gc_priv.h (GC_generic_malloc_inner): Prototype.
528 (GC_generic_malloc): Likewise.
529 (GC_add_to_black_list_normal): Likewise.
530 (GC_find_header): Likewise.
531 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
532 * gc_mark.h (GC_find_start): Prototype.
533 (GC_signal_mark_stack_overflow): Likewise.
535 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
537 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
538 * configure: Rebuilt.
540 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
542 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
544 Imported version 5.1.
545 * acinclude.m4: Push version to 5.1.
547 2000-06-19 Andrew Haley <aph@cygnus.com>
549 * os_dep.c (read): Pass two dummy args to syscall().
551 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
553 Imported 5.0 release version.
554 * acinclude.m4: Increment version to 5.0.
556 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
558 Imported version 5.0alpha7.
559 * acinclude.m4: Update version to 5.0a7.
561 2000-04-26 Jakub Jelinek <jakub@redhat.com>
563 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
564 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
565 - sparc glibc does not provide it.
566 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
567 Make STACKBOTTOM depend on the wordsize.
568 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
569 (struct frame): Declare on sparc*-linux*.
570 (GC_save_callers): Bias the frame pointers if needed (sparc64).
571 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
572 Implement on sparc64.
573 (GC_clear_stack_inner): Implement on sparc64.
574 * gc_priv.h (GC_test_and_set): Implement for sparc.
575 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
576 GC_save_regs_in_stack on sparc.
578 2000-04-23 Tom Tromey <tromey@cygnus.com>
580 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
582 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
584 Imported version version 5.0alpha6.
585 * acinclude.m4: Bump version to 5.0a6.
586 * configure.in: Don't use alpha_mach_dep.s.
587 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
589 * Makefile.am, Makefile.in: irix_threads.c is now
591 * Makefile.orig: Updated from gc distribution Makefile.
593 2000-03-26 Anthony Green <green@redhat.com>
595 * misc.c (GC_enable): Always define GC_enable and GC_disable.
597 2000-02-14 Tom Tromey <tromey@cygnus.com>
599 * gc.h (dlopen): Define as GC_dlopen on Linux.
600 (GC_dlopen): Declare on Linux.
601 * dyn_load.c (GC_dlopen): Define for Linux.
603 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
605 * gcconfig.h (DATASTART): Add missing extern declaration
606 for data_start on powerpc.
608 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
610 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
613 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
615 * gcconfig.h: Define DATASTART for Alpha Linux.
617 1999-12-19 Anthony Green <green@cygnus.com>
619 * gcconfig.h: Use libgcj hack for Alpha Linux.
620 Undefine MPROTEXT_VDB (from Jeff Sturm).
621 * os_dep.c: Remove Alpha Linux hacks.
624 1999-12-13 Tom Tromey <tromey@cygnus.com>
626 * aclocal.m4, configure: Rebuilt.
627 * acinclude.m4: Changed version to 5.0a4.
628 * Makefile.in: Rebuilt.
629 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
631 1999-12-12 Anthony Green <green@cygnus.com>
633 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
635 (DYNAMIC_LOADING): Define for PowerPC Linux.
636 * os_dep.c: Remove some special cases for PowerPC Linux.
637 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
640 1999-11-04 Tom Tromey <tromey@cygnus.com>
642 * Makefile.in: Rebuilt.
643 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
645 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
646 (GC_thr_init): Don't declare.
648 * configure: Rebuilt.
649 * configure.in: Removed qt threads case.
650 * dyn_load.c: Don't mention QUICK_THREADS.
651 * os_dep.c: Don't mention QUICK_THREADS.
652 * misc.c: Don't mention QUICK_THREADS.
653 * gcconfig.h: Don't mention QUICK_THREADS.
654 * gc_priv.h: Removed QUICK_THREADS code.
655 * quick_threads.c: Removed.
657 1999-11-03 Tom Tromey <tromey@cygnus.com>
659 * gcconfig.h: Merged in local changes from old config.h.
661 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
663 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
665 1999-11-02 Tom Tromey <tromey@cygnus.com>
667 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
669 * configure: Rebuilt.
670 * configure.in: Don't create boehm-config.h.
671 * Makefile.in: Rebuilt.
672 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
674 ($(all_objs)): Depend on gcconfig.h.
675 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
676 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
679 1999-11-01 Tom Tromey <tromey@cygnus.com>
681 * Makefile.in: Rebuilt.
682 * Makefile.am (gctest_LDADD): Added THREADLIB.
684 * configure: Rebuilt.
685 * configure.in (INCLUDES): New subst.
687 1999-09-29 Steve Chamberlain <sac@pobox.com>
689 * config.h: Added picoJava target.
690 * mach_dep.h (GC_push_regs): New code for picoJava.
692 1999-09-28 Tom Tromey <tromey@cygnus.com>
694 * aclocal.m4, configure: Rebuilt.
695 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
696 appropriate AC_PROG_ symbol.
698 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
700 * gc_priv.h: IRIX thread changes from
701 include/private/gc_priv.h.
703 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
705 * Makefile.in: Rebuilt.
706 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
709 * configure: Rebuilt.
710 * configure.in: Properly align --help output, fix capitalization
712 * acinclude.m4: Likewise.
714 1999-08-04 Tom Tromey <tromey@cygnus.com>
716 * configure.in: Added missing `;;'. From Anthony Green.
718 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
720 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
722 1999-08-03 Tom Tromey <tromey@cygnus.com>
724 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
725 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
727 1999-08-02 Tom Tromey <tromey@cygnus.com>
729 * aclocal.m4, configure: Rebuilt for new libtool.
731 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
733 * mips_sgi_mach_dep.s: Enable PIC option.
735 1999-07-19 Tom Tromey <tromey@cygnus.com>
737 * config.h (MPROTECT_VDB): Don't define on Linux.
739 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
741 * Makefile.am (.s.lo): Avoid `#line' directives.
742 * Makefile.in: Rebuilt.
744 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
746 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
747 generate *-recursive for this Makefile, use *-am instead.
748 * Makefile.in: Rebuilt.
750 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
752 * Makefile.am (.s.lo): Renamed from `.s.o'.
753 * Makefile.in: Rebuilt.
755 1999-06-21 Tom Tromey <tromey@cygnus.com>
757 Alpha patch from Jeff Sturm:
758 * os_dep.c (GC_init_linuxalpha): New function.
759 * misc.c: Initialize for alpha linux.
760 * gc_priv.h (GC_test_and_set): Define for alpha.
761 * config.h: Don't assume __data_start on alpha.
763 * Makefile.in: Rebuilt.
764 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
767 * Makefile.in: Rebuilt.
768 * Makefile.am (toolexeclibdir): Define as libdir when
770 * configure: Rebuilt.
771 * configure.in (USE_LIBDIR): New conditional.
773 * configure: Rebuilt.
774 * configure.in: Recognize all forms of alpha.
776 1999-06-17 Anthony Green <green@cygnus.com>
778 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
779 Carlo Dapor <carlo@vis.ethz.ch>).
781 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
783 * configure.in: Switch from irix threads to posix threads
784 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
785 for mips architecture.
786 * configure: Regenerate.
788 1999-04-30 Tom Tromey <tromey@cygnus.com>
790 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
792 1999-04-26 Tom Tromey <tromey@cygnus.com>
794 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
797 1999-04-23 Tom Tromey <tromey@cygnus.com>
799 * Makefile.in, configure: Rebuilt.
800 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
801 (libgcjgc_la_SOURCES): Renamed.
802 (libgcjgc_la_LIBADD): Likewise.
803 (libgcjgc_la_DEPENDENCIES): Likewise.
804 (EXTRA_libgcjgc_la_SOURCES): Likewise.
805 (gctest_LDADD): Use libgcjgc.la.
806 (all_objs): Mention libgcj_la_OBJECTS.
807 (EXTRA_LTLIBRARIES): Renamed.
808 (toollib_LTLIBRARIES): Likewise.
809 (libgcjgc_la_LDFLAGS): New macro
810 (toolexecdir): Renamed.
811 (toolexeclibdir): Likewise.
812 (toolexeclib_LTLIBRARIES): Likewise.
813 (LTCOMPILE): Renamed; added libtool invocation.
814 (LINK): Added libtool invocation.
815 (.s.o): use LTCOMPILE.
816 * configure.in: Call AM_PROG_LIBTOOL.
817 (target_all): Set to libgcjgc.la.
818 Mention `.lo' forms of object files.
820 1999-04-21 Tom Tromey <tromey@cygnus.com>
822 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
825 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
826 sigcontext.h. From Matthias Klose <doko@itso.de>.
828 1999-04-16 Tom Tromey <tromey@cygnus.com>
830 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
831 David Pettersson <dapet@mai.liu.se>
833 1999-04-14 Tom Tromey <tromey@cygnus.com>
835 * configure: Rebuilt.
836 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
837 incorrect patch of 199-04-09.
839 * configure: Rebuilt.
840 * configure.in: Added support for alpha.
841 From David Pettersson <dapet@mai.liu.se>.
843 1999-04-13 Tom Tromey <tromey@cygnus.com>
845 * Makefile.in: Rebuilt.
846 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
849 1999-04-09 Tom Tromey <tromey@cygnus.com>
851 * configure: Rebuilt.
852 * configure.in: Use sparc_mach_dep.s when building on Solaris.
854 1999-02-23 Tom Tromey <tromey@cygnus.com>
856 * configure: Rebuilt.
857 * configure.in: For Linux, define _REENTRANT. For Solaris, define
858 SOLARIS_THREADS and _SOLARIS_PTHREADS.
860 1999-02-18 Tom Tromey <tromey@cygnus.com>
862 * quick_threads.c (GC_push_all_stacks): Change order of arguments
863 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
864 for case where LO is NULL.
866 1999-02-10 Tom Tromey <tromey@cygnus.com>
868 * aclocal.m4, configure, Makefile.in: Rebuilt.
869 * acinclude.m4: Updated to be used with automake 1.4.
870 * configure.in: Renamed libgc to libgcjgc. Updated to be used
872 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
873 (libgcjgc_a_SOURCES): Likewise.
874 (libgcjgc_a_LIBADD): Likewise.
875 (libgcjgc_a_DEPENDENCIES): Likewise.
876 (EXTRA_libgcjgc_a_SOURCES): Likewise.
877 (gctest_LDADD): Likewise.
878 (all_objs): Likewise.
880 1999-01-08 Tom Tromey <tromey@cygnus.com>
882 * configure: Rebuilt.
883 * configure.in: Define LINUX_THREADS if using POSIX threads on
886 * gc_priv.h (GC_test_and_set): Put return type into definition.
888 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
890 * Makefile.am: add support for eCos. In particular, add C++
891 support for compiling the file ecos.cc.
893 * acinclude.m4: add C++ support.
894 * aclocal.m4: likewise
895 * config.h: add eCos support.
896 * configure: likewise
897 * configure.in: likewise
898 * misc.c (GC_write): add eCos support.
899 * os_dep.c (tiny_sbrk): add eCos support.
901 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
903 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
904 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
906 1998-11-23 Tom Tromey <tromey@cygnus.com>
908 * configure.host (boehm_gc_cflags): Don't add `-O2'.
910 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
912 * Makefile.am, Makefile.in, configure.host: tx39 build option
915 1998-11-17 Tom Tromey <tromey@cygnus.com>
917 * configure: Rebuilt.
918 * configure.in: Switch on host, not target.
920 1998-11-16 Tom Tromey <tromey@cygnus.com>
922 * gc_priv.h (GC_debug_object_start): Declare.
923 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
924 * gc.h (GC_debug_register_finalizer_no_order,
925 GC_register_finalizer_no_order): Declare.
926 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
927 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
928 (GC_debug_generic_malloc): Likewise.
929 (GC_debug_object_start): new function.
931 1998-11-11 Tom Tromey <tromey@cygnus.com>
933 * configure: Rebuilt.
934 * configure.in: Recognize --enable-java-gc, not --enable-gc.
936 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
938 * dyn_load.c: Handle QUICK_THREADS case.
940 1998-10-21 Tom Tromey <tromey@cygnus.com>
942 * configure: Rebuilt.
943 * configure.in: Put cpp defines here, not in config.h. Recognize
944 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
945 define PACKAGE or VERSION.
946 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
949 * os_dep.c (GC_default_push_other_roots): Define when
950 QUICK_THREADS defined.
951 * misc.c: Added QUICK_THREADS case.
952 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
953 * config.h (THREADS): Define if QUICK_THREADS defined.
954 * Makefile.in: Rebuilt.
955 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
957 * quick_threads.c: New file.
959 1998-10-20 Tom Tromey <tromey@cygnus.com>
961 * aclocal.m4, configure: Rebuilt.
962 * acinclude.m4: Don't subst machine_dir or sys_dir.
963 * configure.host: Removed unused code.
965 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
967 * configure: Rebuilt.
968 * configure.in: Fix typo in previous patch.
970 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
972 * Makefile.in, aclocal.m4, configure: Rebuilt.
973 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
974 * configure.host: Created.
976 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
978 * Makefile.in: Rebuilt.
979 * Makefile.am (lib_LIBRARIES): Use target_all.
980 (EXTRA_LIBRARIES): New macro.
981 * configure: Rebuilt.
982 * configure.in: Recognize --enable-gc.
984 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
986 * Makefile.in: Rebuilt.
987 * Makefile.am (COMPILE): Define.
989 (.s.o): Use MY_CFLAGS.
990 * configure: Rebuilt.
991 * configure.in (MY_CFLAGS): Define and subst.
993 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
995 * configure: Rebuilt.
996 * configure.in: Added --with-cross-host argument. Use
997 $with_cross_host to determine when cross-compiling.
999 * config.h (SMALL_CONFIG): Don't define.
1000 * configure: Rebuilt.
1001 * configure.in: Define SMALL_CONFIG when cross-compiling.
1003 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
1005 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1006 allchblk.c: Merged with 4.13a2 while preserving local changes.
1008 * Makefile.orig: Updated from Makefile in 4.13a2.
1010 * configure: Rebuilt.
1011 * configure.in: Updated version number to 4.13a2. On Solaris,
1012 don't build with -O when using gcc.
1014 Merged in version 4.13alpha2:
1015 * config.h (USE_MMAP): Re-enable on Solaris.
1016 * solaris_pthreads.c: Removed RCS Id line.
1017 * alpha_mach_dep.s: Removed RCS Id line.
1019 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
1021 * config.h (USE_MMAP): Don't define for Solaris.
1023 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
1025 * Makefile.in: Rebuilt.
1026 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1028 * Makefile.in: Rebuilt.
1029 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1031 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
1033 * Makefile.in: Rebuilt.
1034 * Makefile.am ($(all_objs)): Depend on config.h.
1036 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1037 DATASTART as &_etext.
1038 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1039 * configure: Rebuilt.
1040 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1043 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
1045 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1046 (GC_maybe_gc): Likewise.
1047 * os_dep.c: If NO_SIGSET defined, then have empty
1048 GC_disable_signals and GC_enable_signals.
1049 * configure: Rebuilt.
1050 * configure.in: Added --with-target-subdir option. If
1051 cross-compiling, define NO_SIGSET and NO_CLOCK.
1053 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
1055 * Makefile.in: Rebuilt.
1056 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1058 * aclocal.m4, configure: Rebuilt.
1059 * acinclude.m4: New file.
1060 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
1062 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
1064 * configure: Rebuilt.
1065 * configure.in: Link boehm-config.h to config.h.
1066 * Makefile.in: Rebuilt.
1067 * Makefile.am (INCLUDES): Removed.
1068 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1069 JAVA_FINALIZATION): Define
1071 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
1073 * Many files: Use GC_bool, not bool.
1074 * gc_priv.h: Define GC_bool, not bool.
1076 * misc.c (GC_dont_gc): Define as int.
1077 (GC_quiet): Likewise.
1078 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1079 * alloc.c (GC_dont_expand): Define as int.
1080 * gc_priv.h: For gcc, define bool as char.
1082 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
1084 * Makefile.in: Rebuilt.
1085 * Makefile.am (check_PROGRAMS): New macro.
1086 (gctest_SOURCES): Likewise.
1087 (gctest_LDADD): Likewise.
1089 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
1091 * Makefile.in: Rebuilt.
1092 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1093 * configure: Rebuilt.
1094 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1096 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1098 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1100 * Makefile.orig: Renamed from Makefile.