1 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
4 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
5 - sparc glibc does not provide it.
6 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
7 Make STACKBOTTOM depend on the wordsize.
8 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
9 (struct frame): Declare on sparc*-linux*.
10 (GC_save_callers): Bias the frame pointers if needed (sparc64).
11 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
13 (GC_clear_stack_inner): Implement on sparc64.
14 * gc_priv.h (GC_test_and_set): Implement for sparc.
15 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
16 GC_save_regs_in_stack on sparc.
18 2000-04-23 Tom Tromey <tromey@cygnus.com>
20 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
22 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
24 Imported version version 5.0alpha6.
25 * acinclude.m4: Bump version to 5.0a6.
26 * configure.in: Don't use alpha_mach_dep.s.
27 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
29 * Makefile.am, Makefile.in: irix_threads.c is now
31 * Makefile.orig: Updated from gc distribution Makefile.
33 2000-03-26 Anthony Green <green@redhat.com>
35 * misc.c (GC_enable): Always define GC_enable and GC_disable.
37 2000-02-14 Tom Tromey <tromey@cygnus.com>
39 * gc.h (dlopen): Define as GC_dlopen on Linux.
40 (GC_dlopen): Declare on Linux.
41 * dyn_load.c (GC_dlopen): Define for Linux.
43 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
45 * gcconfig.h (DATASTART): Add missing extern declaration
46 for data_start on powerpc.
48 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
50 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
53 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
55 * gcconfig.h: Define DATASTART for Alpha Linux.
57 1999-12-19 Anthony Green <green@cygnus.com>
59 * gcconfig.h: Use libgcj hack for Alpha Linux.
60 Undefine MPROTEXT_VDB (from Jeff Sturm).
61 * os_dep.c: Remove Alpha Linux hacks.
64 1999-12-13 Tom Tromey <tromey@cygnus.com>
66 * aclocal.m4, configure: Rebuilt.
67 * acinclude.m4: Changed version to 5.0a4.
68 * Makefile.in: Rebuilt.
69 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
71 1999-12-12 Anthony Green <green@cygnus.com>
73 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
75 (DYNAMIC_LOADING): Define for PowerPC Linux.
76 * os_dep.c: Remove some special cases for PowerPC Linux.
77 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
80 1999-11-04 Tom Tromey <tromey@cygnus.com>
82 * Makefile.in: Rebuilt.
83 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
85 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
86 (GC_thr_init): Don't declare.
89 * configure.in: Removed qt threads case.
90 * dyn_load.c: Don't mention QUICK_THREADS.
91 * os_dep.c: Don't mention QUICK_THREADS.
92 * misc.c: Don't mention QUICK_THREADS.
93 * gcconfig.h: Don't mention QUICK_THREADS.
94 * gc_priv.h: Removed QUICK_THREADS code.
95 * quick_threads.c: Removed.
97 1999-11-03 Tom Tromey <tromey@cygnus.com>
99 * gcconfig.h: Merged in local changes from old config.h.
101 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
103 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
105 1999-11-02 Tom Tromey <tromey@cygnus.com>
107 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
109 * configure: Rebuilt.
110 * configure.in: Don't create boehm-config.h.
111 * Makefile.in: Rebuilt.
112 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
114 ($(all_objs)): Depend on gcconfig.h.
115 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
116 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
119 1999-11-01 Tom Tromey <tromey@cygnus.com>
121 * Makefile.in: Rebuilt.
122 * Makefile.am (gctest_LDADD): Added THREADLIB.
124 * configure: Rebuilt.
125 * configure.in (INCLUDES): New subst.
127 1999-09-29 Steve Chamberlain <sac@pobox.com>
129 * config.h: Added picoJava target.
130 * mach_dep.h (GC_push_regs): New code for picoJava.
132 1999-09-28 Tom Tromey <tromey@cygnus.com>
134 * aclocal.m4, configure: Rebuilt.
135 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
136 appropriate AC_PROG_ symbol.
138 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
140 * gc_priv.h: IRIX thread changes from
141 include/private/gc_priv.h.
143 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
145 * Makefile.in: Rebuilt.
146 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
149 * configure: Rebuilt.
150 * configure.in: Properly align --help output, fix capitalization
152 * acinclude.m4: Likewise.
154 1999-08-04 Tom Tromey <tromey@cygnus.com>
156 * configure.in: Added missing `;;'. From Anthony Green.
158 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
160 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
162 1999-08-03 Tom Tromey <tromey@cygnus.com>
164 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
165 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
167 1999-08-02 Tom Tromey <tromey@cygnus.com>
169 * aclocal.m4, configure: Rebuilt for new libtool.
171 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
173 * mips_sgi_mach_dep.s: Enable PIC option.
175 1999-07-19 Tom Tromey <tromey@cygnus.com>
177 * config.h (MPROTECT_VDB): Don't define on Linux.
179 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
181 * Makefile.am (.s.lo): Avoid `#line' directives.
182 * Makefile.in: Rebuilt.
184 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
186 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
187 generate *-recursive for this Makefile, use *-am instead.
188 * Makefile.in: Rebuilt.
190 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
192 * Makefile.am (.s.lo): Renamed from `.s.o'.
193 * Makefile.in: Rebuilt.
195 1999-06-21 Tom Tromey <tromey@cygnus.com>
197 Alpha patch from Jeff Sturm:
198 * os_dep.c (GC_init_linuxalpha): New function.
199 * misc.c: Initialize for alpha linux.
200 * gc_priv.h (GC_test_and_set): Define for alpha.
201 * config.h: Don't assume __data_start on alpha.
203 * Makefile.in: Rebuilt.
204 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
207 * Makefile.in: Rebuilt.
208 * Makefile.am (toolexeclibdir): Define as libdir when
210 * configure: Rebuilt.
211 * configure.in (USE_LIBDIR): New conditional.
213 * configure: Rebuilt.
214 * configure.in: Recognize all forms of alpha.
216 1999-06-17 Anthony Green <green@cygnus.com>
218 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
219 Carlo Dapor <carlo@vis.ethz.ch>).
221 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
223 * configure.in: Switch from irix threads to posix threads
224 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
225 for mips architecture.
226 * configure: Regenerate.
228 1999-04-30 Tom Tromey <tromey@cygnus.com>
230 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
232 1999-04-26 Tom Tromey <tromey@cygnus.com>
234 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
237 1999-04-23 Tom Tromey <tromey@cygnus.com>
239 * Makefile.in, configure: Rebuilt.
240 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
241 (libgcjgc_la_SOURCES): Renamed.
242 (libgcjgc_la_LIBADD): Likewise.
243 (libgcjgc_la_DEPENDENCIES): Likewise.
244 (EXTRA_libgcjgc_la_SOURCES): Likewise.
245 (gctest_LDADD): Use libgcjgc.la.
246 (all_objs): Mention libgcj_la_OBJECTS.
247 (EXTRA_LTLIBRARIES): Renamed.
248 (toollib_LTLIBRARIES): Likewise.
249 (libgcjgc_la_LDFLAGS): New macro
250 (toolexecdir): Renamed.
251 (toolexeclibdir): Likewise.
252 (toolexeclib_LTLIBRARIES): Likewise.
253 (LTCOMPILE): Renamed; added libtool invocation.
254 (LINK): Added libtool invocation.
255 (.s.o): use LTCOMPILE.
256 * configure.in: Call AM_PROG_LIBTOOL.
257 (target_all): Set to libgcjgc.la.
258 Mention `.lo' forms of object files.
260 1999-04-21 Tom Tromey <tromey@cygnus.com>
262 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
265 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
266 sigcontext.h. From Matthias Klose <doko@itso.de>.
268 1999-04-16 Tom Tromey <tromey@cygnus.com>
270 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
271 David Pettersson <dapet@mai.liu.se>
273 1999-04-14 Tom Tromey <tromey@cygnus.com>
275 * configure: Rebuilt.
276 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
277 incorrect patch of 199-04-09.
279 * configure: Rebuilt.
280 * configure.in: Added support for alpha.
281 From David Pettersson <dapet@mai.liu.se>.
283 1999-04-13 Tom Tromey <tromey@cygnus.com>
285 * Makefile.in: Rebuilt.
286 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
289 1999-04-09 Tom Tromey <tromey@cygnus.com>
291 * configure: Rebuilt.
292 * configure.in: Use sparc_mach_dep.s when building on Solaris.
294 1999-02-23 Tom Tromey <tromey@cygnus.com>
296 * configure: Rebuilt.
297 * configure.in: For Linux, define _REENTRANT. For Solaris, define
298 SOLARIS_THREADS and _SOLARIS_PTHREADS.
300 1999-02-18 Tom Tromey <tromey@cygnus.com>
302 * quick_threads.c (GC_push_all_stacks): Change order of arguments
303 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
304 for case where LO is NULL.
306 1999-02-10 Tom Tromey <tromey@cygnus.com>
308 * aclocal.m4, configure, Makefile.in: Rebuilt.
309 * acinclude.m4: Updated to be used with automake 1.4.
310 * configure.in: Renamed libgc to libgcjgc. Updated to be used
312 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
313 (libgcjgc_a_SOURCES): Likewise.
314 (libgcjgc_a_LIBADD): Likewise.
315 (libgcjgc_a_DEPENDENCIES): Likewise.
316 (EXTRA_libgcjgc_a_SOURCES): Likewise.
317 (gctest_LDADD): Likewise.
318 (all_objs): Likewise.
320 1999-01-08 Tom Tromey <tromey@cygnus.com>
322 * configure: Rebuilt.
323 * configure.in: Define LINUX_THREADS if using POSIX threads on
326 * gc_priv.h (GC_test_and_set): Put return type into definition.
328 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
330 * Makefile.am: add support for eCos. In particular, add C++
331 support for compiling the file ecos.cc.
333 * acinclude.m4: add C++ support.
334 * aclocal.m4: likewise
335 * config.h: add eCos support.
336 * configure: likewise
337 * configure.in: likewise
338 * misc.c (GC_write): add eCos support.
339 * os_dep.c (tiny_sbrk): add eCos support.
341 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
343 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
344 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
346 1998-11-23 Tom Tromey <tromey@cygnus.com>
348 * configure.host (boehm_gc_cflags): Don't add `-O2'.
350 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
352 * Makefile.am, Makefile.in, configure.host: tx39 build option
355 1998-11-17 Tom Tromey <tromey@cygnus.com>
357 * configure: Rebuilt.
358 * configure.in: Switch on host, not target.
360 1998-11-16 Tom Tromey <tromey@cygnus.com>
362 * gc_priv.h (GC_debug_object_start): Declare.
363 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
364 * gc.h (GC_debug_register_finalizer_no_order,
365 GC_register_finalizer_no_order): Declare.
366 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
367 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
368 (GC_debug_generic_malloc): Likewise.
369 (GC_debug_object_start): new function.
371 1998-11-11 Tom Tromey <tromey@cygnus.com>
373 * configure: Rebuilt.
374 * configure.in: Recognize --enable-java-gc, not --enable-gc.
376 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
378 * dyn_load.c: Handle QUICK_THREADS case.
380 1998-10-21 Tom Tromey <tromey@cygnus.com>
382 * configure: Rebuilt.
383 * configure.in: Put cpp defines here, not in config.h. Recognize
384 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
385 define PACKAGE or VERSION.
386 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
389 * os_dep.c (GC_default_push_other_roots): Define when
390 QUICK_THREADS defined.
391 * misc.c: Added QUICK_THREADS case.
392 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
393 * config.h (THREADS): Define if QUICK_THREADS defined.
394 * Makefile.in: Rebuilt.
395 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
397 * quick_threads.c: New file.
399 1998-10-20 Tom Tromey <tromey@cygnus.com>
401 * aclocal.m4, configure: Rebuilt.
402 * acinclude.m4: Don't subst machine_dir or sys_dir.
403 * configure.host: Removed unused code.
405 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
407 * configure: Rebuilt.
408 * configure.in: Fix typo in previous patch.
410 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
412 * Makefile.in, aclocal.m4, configure: Rebuilt.
413 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
414 * configure.host: Created.
416 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
418 * Makefile.in: Rebuilt.
419 * Makefile.am (lib_LIBRARIES): Use target_all.
420 (EXTRA_LIBRARIES): New macro.
421 * configure: Rebuilt.
422 * configure.in: Recognize --enable-gc.
424 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
426 * Makefile.in: Rebuilt.
427 * Makefile.am (COMPILE): Define.
429 (.s.o): Use MY_CFLAGS.
430 * configure: Rebuilt.
431 * configure.in (MY_CFLAGS): Define and subst.
433 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
435 * configure: Rebuilt.
436 * configure.in: Added --with-cross-host argument. Use
437 $with_cross_host to determine when cross-compiling.
439 * config.h (SMALL_CONFIG): Don't define.
440 * configure: Rebuilt.
441 * configure.in: Define SMALL_CONFIG when cross-compiling.
443 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
445 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
446 allchblk.c: Merged with 4.13a2 while preserving local changes.
448 * Makefile.orig: Updated from Makefile in 4.13a2.
450 * configure: Rebuilt.
451 * configure.in: Updated version number to 4.13a2. On Solaris,
452 don't build with -O when using gcc.
454 Merged in version 4.13alpha2:
455 * config.h (USE_MMAP): Re-enable on Solaris.
456 * solaris_pthreads.c: Removed RCS Id line.
457 * alpha_mach_dep.s: Removed RCS Id line.
459 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
461 * config.h (USE_MMAP): Don't define for Solaris.
463 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
465 * Makefile.in: Rebuilt.
466 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
468 * Makefile.in: Rebuilt.
469 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
471 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
473 * Makefile.in: Rebuilt.
474 * Makefile.am ($(all_objs)): Depend on config.h.
476 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
477 DATASTART as &_etext.
478 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
479 * configure: Rebuilt.
480 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
483 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
485 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
486 (GC_maybe_gc): Likewise.
487 * os_dep.c: If NO_SIGSET defined, then have empty
488 GC_disable_signals and GC_enable_signals.
489 * configure: Rebuilt.
490 * configure.in: Added --with-target-subdir option. If
491 cross-compiling, define NO_SIGSET and NO_CLOCK.
493 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
495 * Makefile.in: Rebuilt.
496 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
498 * aclocal.m4, configure: Rebuilt.
499 * acinclude.m4: New file.
500 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
502 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
504 * configure: Rebuilt.
505 * configure.in: Link boehm-config.h to config.h.
506 * Makefile.in: Rebuilt.
507 * Makefile.am (INCLUDES): Removed.
508 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
509 JAVA_FINALIZATION): Define
511 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
513 * Many files: Use GC_bool, not bool.
514 * gc_priv.h: Define GC_bool, not bool.
516 * misc.c (GC_dont_gc): Define as int.
517 (GC_quiet): Likewise.
518 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
519 * alloc.c (GC_dont_expand): Define as int.
520 * gc_priv.h: For gcc, define bool as char.
522 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
524 * Makefile.in: Rebuilt.
525 * Makefile.am (check_PROGRAMS): New macro.
526 (gctest_SOURCES): Likewise.
527 (gctest_LDADD): Likewise.
529 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
531 * Makefile.in: Rebuilt.
532 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
533 * configure: Rebuilt.
534 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
536 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
538 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
540 * Makefile.orig: Renamed from Makefile.