OSDN Git Service

2002-02-24 Adam Megacz <adam@xwt.org>
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
1 2002-02-24  Adam Megacz  <adam@xwt.org>
2
3         * Makefile.am: Added win32_threads.c to sources list.
4         * win32_threads.c: Added two */'s which I had neglected.
5
6 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7
8         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
9         * Makefile.in: Rebuilt.
10
11 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12
13         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
14         
15         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a 
16         preprocessor file.
17         * mips_sgi_mach_dep.S: Likewise.
18         * Makefile.am: Update for above changes.
19         * Makefile.in: Rebuilt.
20
21 2002-02-12  Richard Henderson  <rth@redhat.com>
22
23         * configure.in: Re-apply 2001-06-26 configure change.
24         * configure: Rebuild.
25
26 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
27
28         Imported GC 6.1 Alpha 3.
29
30         * sparc_mach_dep.S: Delete incorrectly named file.
31
32 2001-02-11  Adam Megacz <adam@xwt.org
33
34         * configure.in: support for win32, saner
35         cross-compile options
36
37 2001-02-08  Anthony Green  <green@redhat.com>
38
39         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
40           board embedded targets.
41         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
42           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
43           redundant uses of ECOS.
44         * misc.c: Use NOSYS where ECOS is being used.
45           Don't define GC_write twice for ECOS systems.
46           (GC_write): New function for NOSYS targets.
47
48 2002-02-06  Adam Megacz <adam@xwt.org>
49
50         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
51         now exposed on all Win32 platforms.
52         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
53         compiles on Win32; it invokes CreateThread() if GC is built
54         as a DLL; otherwise it registers the thread.
55         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
56         libgcjgc was not built as a DLL.
57
58 2002-02-01  Adam Megacz <adam@xwt.org>
59
60         * boehm-gc on win32 now automatically detects if it is being built
61         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
62         
63 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
64
65         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
66         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
67         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
68         DATASTART and DATAEND roots.
69         * rs6000_mach_dep.s: Add function descriptor and traceback table.
70
71 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
72
73         * dyn_load.c: Define ElfW (if needed) for all targets,
74         not just GNU/Linux.
75         (GC_FirstDLOpenedLinkMap): Use it.
76         (GC_register_dynamic_libraries_dl): Use it.
77         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
78         for sparcv9.
79
80 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
81
82         PR other/3725
83         * configure.in: Add AC_SUBST(target_alias). 
84         * configure: Regenerated.
85
86 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
87
88         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
89         case for GC_FREEBSD_THREADS.
90         * configure.in (*-*-freebsd*): Clarify warning.
91         * configure: Rebuilt.
92
93 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
94             Andreas Tobler <toa@pop.agri.ch>
95
96         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
97
98 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
99
100         * linux_threads.c (GC_init_parallel): Do not declare as a static
101         constructor.
102         * include/gc.h (GC_init): Declare here. Add description.
103         * include/private/gc_priv.h (GC_init): Remove declaration.
104
105 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
106
107         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
108         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
109         GC_FREEBSD_THREADS, handle strange interaction between system
110         pthread implementation and boehm-gc signal-handler architecture.
111         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
112         set stack.
113         * include/private/gcconfig.h (configuration keyed off FREEBSD):
114         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
115         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
116
117 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
118
119         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
120         * Makefile.in: Rebuilt.
121
122 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
123
124         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
125         merged local changes.
126
127 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
128
129         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
130         Solaris 2/Intel definition.
131         
132         * configure.in (i?86-*-solaris2.[89]*): Define
133         SOLARIS25_PROC_VDB_BUG_FIXED.
134         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
135         * configure: Regenerate.
136
137         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
138         (DATAEND): Define using _end.
139
140 2001-09-11  Per Bothner  <per@bothner.com>
141
142         * include/Makefile.am:  New file.  It defines include_HEADERS.
143         * Makefile.am (SUBDIRS):  New macro, set to include.
144         * configure.in (AC_OUTPUT):  Add include/Makefile.
145
146 2001-08-20  Tom Tromey  <tromey@redhat.com>
147
148         * configure: Rebuilt.
149         * configure.in: Always ask gcc for threads package.
150
151 2001-08-17  Tom Tromey  <tromey@redhat.com>
152
153         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
154         merged local changes.
155
156 2001-08-02  David Billinghurst <David.Billinghurst>
157
158         * configure: Rebuilt.
159         * configure.in:  POSIX threads on cygwin does not link with
160         -lpthreads.
161
162 2001-07-03  Tom Tromey  <tromey@redhat.com>
163
164         Fix for PR bootstrap/3281:
165         * aclocal.m4, configure, Makefile.in: Rebuilt.
166         * acinclude.m4: Set mkinstalldirs for in-tree build.
167
168 2001-06-26  Richard Henderson  <rth@redhat.com>
169
170         * alpha_mach_dep.s: Mark call-saved FP registers.
171         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
172         * configure.in (alpha*): Re-enable alpha_mach_dep.s
173         * configure: Rebuild.
174
175 2001-06-12  Tom Tromey  <tromey@redhat.com>
176
177         * aclocal.m4, configure: Rebuilt.
178         * acinclude.m4: Find configure.host in srcdir.
179
180 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
181
182         * configure.in (AC_EXEEXT): Work around in case it expands to
183         nothing, as in autoconf 2.50.
184         * acinclude.m4: Likewise.
185         * aclocal.m4, configure: Rebuilt.
186
187 2001-06-07  Tom Tromey  <tromey@redhat.com>
188
189         For PR bootstrap/3075:
190         * configure, aclocal.m4, Makefile.in: Rebuilt.
191         * configure.in: Don't call AC_CONFIG_AUX_DIR or
192         AC_CANONICAL_SYSTEM.
193         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
194         AC_CANONICAL_SYSTEM here.
195         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
196         boehm_gc_basedir.
197
198 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
199
200         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
201         (libgcjgc_la_SOURCES): Remove typo.
202         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
203         * Makefile.in: Rebuilt.
204
205 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
206
207         Imported version version 6.0alpha7.
208
209         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
210         README.amiga, README.debugging, README.dj, README.hp, README.linux,
211         README.rs6000, README.sgi, README.solaris2, README.uts,
212         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
213         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
214         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
215         hpux_irix_threads.c, makefile.depend, nursery.c,
216         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
217         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
218         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
219         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
220         files.
221
222 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
223
224         * configure.host: Build with -fexceptions.
225         * linux_threads.c: Remember which thread stopped world for
226
227 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
228             with final tuning by Bryce McKinlay
229
230         * configure.in: Add support for --enable-threads=posix on FreeBSD.
231         * configure: Rebuilt.
232
233 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
234
235         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
236         (GC_noop1): Change declaration to take one argument.
237
238 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
239
240         * configure.in: Obtain THREADS with `gcc -v'.
241         * configure: Rebuilt.
242
243 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
244
245         * misc.c: Back out buggy changes to stack clearing code.
246         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
247         spent clearing memory.
248
249 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
250
251         * finalize.c:
252         - Accomodate finalization requests for static objects.
253           (Will be required by hash synchronization.  May be needed
254           in some configurations now.)
255
256         * gc_priv.h:
257         - Define MIN_WORDS.  All allocation requests are rounded
258           up to at least this size.  Removes a subtle assumption that
259           Java objects have a 2 word header.
260
261         * gcconfig.h:
262         - Adjust Linux/IA64 configuration for non-ancient kernels.
263           (Necessary fix for IA64.)
264
265         * linux_threads.c:
266         - Fix syntax error in currently unused code.  Will be needed
267           for Linux/PA-RISC.
268
269         * malloc.c:
270         - Handle MIN_WORDS.
271
272         * misc.c:
273         - Handle MIN_WORDS.
274         - Change stack cleaning code to typically clear about one tenth
275           the memory it used to in the threads configuration.  Occasionally
276           still clear more.  (This is really a fix for a long-standing
277           and fairly significant performance bug with threads.)
278
279         * os_dep.c:
280         - Fix the code for finding the beginning of the data segment under
281           Linux.  I believe this is necessary for some IA64 Linux
282           distributions.  It will also helo other platforms, though those
283           may additionally require a gcconfig.h adjustment.  (This basically
284           works around the absence of a data_start or __data_start
285           definition in glibc.)
286
287         * test.c:
288         - Handle rounding due to MIN_WORDS.
289
290 2001-03-22  Tom Tromey  <tromey@redhat.com>
291
292         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
293
294 2001-03-19  Tom Tromey  <tromey@redhat.com>
295
296         * Makefile.in: Rebuilt.
297         * Makefile.am (gctest_LDFLAGS): new macro.
298
299 2001-03-16  Tom Tromey  <tromey@redhat.com>
300
301         * Makefile.in: Rebuilt.
302         * Makefile.am (TESTS_ENVIRONMENT): New macro.
303
304 2001-01-23  Rod Stewart <stewart@lab43.org>
305
306         * gcconfig.h: Check for `__arm__', not `arm'.
307
308 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
309
310         * configure.in: Rename THREADLIB to THREADLIBS.
311         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
312         ensures that we link the correct version of the linuxthreads semaphore
313         functions.
314         * Makefile.in: Rebuilt.
315         * configure: Rebuilt.
316         
317         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the 
318         list of signals which are not blocked during suspend in the NO_SIGNALS
319         case.
320
321 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
322
323         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
324
325 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
326
327         * Makefile.dist: Renamed from Makefile.orig.
328
329 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
330
331         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
332         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
333         set accordingly.
334         * Makefile.in: Rebuilt.
335         * configure: Likewise.
336
337 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
338
339         * gcconfig.h: Add new case for powerpc EABI.
340         [PPC]: Handle embedded OS for powerpc simulator.
341
342 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
343
344         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 
345         cross-compile configuration only.
346         * Makefile.am: Build gcj_mlc.c.
347         * configure, Makefile.in: Rebuilt.
348
349 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
350
351         * acinclude.m4: Include libtool macros from the top level.
352         * aclocal.m4, configure: Rebuilt.
353
354 2000-09-04  Anthony Green  <green@redhat.com>
355
356         Fix for PR libgcj/230:
357         * mark.c (GC_mark_from_mark_stack): Remove call to
358         GC_debug_object_start.
359         * gc_priv.h (GC_debug_object_start): Remove prototype.
360
361 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
362
363         * gcconfig.h [OSF1] (_end): Declare as `int'.
364
365 2000-08-02  Tom Tromey  <tromey@cygnus.com>
366
367         * gc_priv.h (GC_generic_malloc_inner): Prototype.
368         (GC_generic_malloc): Likewise.
369         (GC_add_to_black_list_normal): Likewise.
370         (GC_find_header): Likewise.
371         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
372         * gc_mark.h (GC_find_start): Prototype.
373         (GC_signal_mark_stack_overflow): Likewise.
374
375 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
376
377         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
378         * configure: Rebuilt.
379
380         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
381
382 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
383
384         Imported version 5.1.
385         * acinclude.m4: Push version to 5.1.
386
387 2000-06-19  Andrew Haley  <aph@cygnus.com>
388
389         * os_dep.c (read): Pass two dummy args to syscall().
390
391 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
392
393         Imported 5.0 release version.
394         * acinclude.m4: Increment version to 5.0.
395
396 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
397
398         Imported version 5.0alpha7.
399         * acinclude.m4: Update version to 5.0a7.
400
401 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
402
403         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
404         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
405         - sparc glibc does not provide it.
406         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
407         Make STACKBOTTOM depend on the wordsize.
408         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
409         (struct frame): Declare on sparc*-linux*.
410         (GC_save_callers): Bias the frame pointers if needed (sparc64).
411         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
412         Implement on sparc64.
413         (GC_clear_stack_inner): Implement on sparc64.
414         * gc_priv.h (GC_test_and_set): Implement for sparc.
415         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
416         GC_save_regs_in_stack on sparc.
417
418 2000-04-23  Tom Tromey  <tromey@cygnus.com>
419
420         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
421
422 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
423
424         Imported version version 5.0alpha6.
425         * acinclude.m4: Bump version to 5.0a6.
426         * configure.in: Don't use alpha_mach_dep.s.
427         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete 
428         obsolete files.
429         * Makefile.am, Makefile.in: irix_threads.c is now
430         hpux_irix_threads.c.
431         * Makefile.orig: Updated from gc distribution Makefile.
432
433 2000-03-26  Anthony Green  <green@redhat.com>
434
435         * misc.c (GC_enable): Always define GC_enable and GC_disable.
436
437 2000-02-14  Tom Tromey  <tromey@cygnus.com>
438
439         * gc.h (dlopen): Define as GC_dlopen on Linux.
440         (GC_dlopen): Declare on Linux.
441         * dyn_load.c (GC_dlopen): Define for Linux.
442
443 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
444
445         * gcconfig.h (DATASTART): Add missing extern declaration
446         for data_start on powerpc.
447
448 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
449
450         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
451         NO_SIGNALS case.
452
453 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
454
455         * gcconfig.h: Define DATASTART for Alpha Linux.
456
457 1999-12-19  Anthony Green  <green@cygnus.com>
458
459         * gcconfig.h: Use libgcj hack for Alpha Linux.  
460         Undefine MPROTEXT_VDB (from Jeff Sturm).
461         * os_dep.c: Remove Alpha Linux hacks.
462         * misc.c: Ditto.
463
464 1999-12-13  Tom Tromey  <tromey@cygnus.com>
465
466         * aclocal.m4, configure: Rebuilt.
467         * acinclude.m4: Changed version to 5.0a4.
468         * Makefile.in: Rebuilt.
469         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
470
471 1999-12-12  Anthony Green  <green@cygnus.com>
472
473         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
474         Linux.
475         (DYNAMIC_LOADING): Define for PowerPC Linux.
476         * os_dep.c: Remove some special cases for PowerPC Linux.
477         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
478         for PowerPC Linux.
479
480 1999-11-04  Tom Tromey  <tromey@cygnus.com>
481
482         * Makefile.in: Rebuilt.
483         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
484
485         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
486         (GC_thr_init): Don't declare.
487
488         * configure: Rebuilt.
489         * configure.in: Removed qt threads case.
490         * dyn_load.c: Don't mention QUICK_THREADS.
491         * os_dep.c: Don't mention QUICK_THREADS.
492         * misc.c: Don't mention QUICK_THREADS.
493         * gcconfig.h: Don't mention QUICK_THREADS.
494         * gc_priv.h: Removed QUICK_THREADS code.
495         * quick_threads.c: Removed.
496
497 1999-11-03  Tom Tromey  <tromey@cygnus.com>
498
499         * gcconfig.h: Merged in local changes from old config.h.
500
501 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
502
503         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
504
505 1999-11-02  Tom Tromey  <tromey@cygnus.com>
506
507         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
508
509         * configure: Rebuilt.
510         * configure.in: Don't create boehm-config.h.
511         * Makefile.in: Rebuilt.
512         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
513         config.h.
514         ($(all_objs)): Depend on gcconfig.h.
515         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
516         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
517         * config.h: Removed.
518
519 1999-11-01  Tom Tromey  <tromey@cygnus.com>
520
521         * Makefile.in: Rebuilt.
522         * Makefile.am (gctest_LDADD): Added THREADLIB.
523         (TESTS): New macro.
524         * configure: Rebuilt.
525         * configure.in (INCLUDES): New subst.
526
527 1999-09-29  Steve Chamberlain  <sac@pobox.com>
528
529         * config.h: Added picoJava target.
530         * mach_dep.h (GC_push_regs):  New code for picoJava.
531
532 1999-09-28  Tom Tromey  <tromey@cygnus.com>
533
534         * aclocal.m4, configure: Rebuilt.
535         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
536         appropriate AC_PROG_ symbol.
537
538 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
539
540         * gc_priv.h:  IRIX thread changes from
541         include/private/gc_priv.h.
542
543 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
544
545         * Makefile.in: Rebuilt.
546         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
547         builds.
548
549         * configure: Rebuilt.
550         * configure.in: Properly align --help output, fix capitalization
551         and punctuation.
552         * acinclude.m4: Likewise.
553
554 1999-08-04  Tom Tromey  <tromey@cygnus.com>
555
556         * configure.in: Added missing `;;'.  From Anthony Green.
557
558 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
559
560         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
561
562 1999-08-03  Tom Tromey  <tromey@cygnus.com>
563
564         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
565         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
566
567 1999-08-02  Tom Tromey  <tromey@cygnus.com>
568
569         * aclocal.m4, configure: Rebuilt for new libtool.
570
571 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
572
573         * mips_sgi_mach_dep.s: Enable PIC option.
574
575 1999-07-19  Tom Tromey  <tromey@cygnus.com>
576
577         * config.h (MPROTECT_VDB): Don't define on Linux.
578
579 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
580
581         * Makefile.am (.s.lo): Avoid `#line' directives.
582         * Makefile.in: Rebuilt.
583
584 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
585
586         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
587         generate *-recursive for this Makefile, use *-am instead.
588         * Makefile.in: Rebuilt.
589
590 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
591
592         * Makefile.am (.s.lo): Renamed from `.s.o'.
593         * Makefile.in: Rebuilt.
594
595 1999-06-21  Tom Tromey  <tromey@cygnus.com>
596
597         Alpha patch from Jeff Sturm:
598         * os_dep.c (GC_init_linuxalpha): New function.
599         * misc.c: Initialize for alpha linux.
600         * gc_priv.h (GC_test_and_set): Define for alpha.
601         * config.h: Don't assume __data_start on alpha.
602
603         * Makefile.in: Rebuilt.
604         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
605         -release.
606
607         * Makefile.in: Rebuilt.
608         * Makefile.am (toolexeclibdir): Define as libdir when
609         appropriate.
610         * configure: Rebuilt.
611         * configure.in (USE_LIBDIR): New conditional.
612
613         * configure: Rebuilt.
614         * configure.in: Recognize all forms of alpha.
615
616 1999-06-17  Anthony Green  <green@cygnus.com>
617
618         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
619         Carlo Dapor <carlo@vis.ethz.ch>).
620
621 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
622
623         * configure.in: Switch from irix threads to posix threads
624         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
625         for mips architecture.
626         * configure: Regenerate.
627
628 1999-04-30  Tom Tromey  <tromey@cygnus.com>
629
630         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
631
632 1999-04-26  Tom Tromey  <tromey@cygnus.com>
633
634         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
635         `weak'.
636
637 1999-04-23  Tom Tromey  <tromey@cygnus.com>
638
639         * Makefile.in, configure: Rebuilt.
640         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
641         (libgcjgc_la_SOURCES): Renamed.
642         (libgcjgc_la_LIBADD): Likewise.
643         (libgcjgc_la_DEPENDENCIES): Likewise.
644         (EXTRA_libgcjgc_la_SOURCES): Likewise.
645         (gctest_LDADD): Use libgcjgc.la.
646         (all_objs): Mention libgcj_la_OBJECTS.
647         (EXTRA_LTLIBRARIES): Renamed.
648         (toollib_LTLIBRARIES): Likewise.
649         (libgcjgc_la_LDFLAGS): New macro
650         (toolexecdir): Renamed.
651         (toolexeclibdir): Likewise.
652         (toolexeclib_LTLIBRARIES): Likewise.
653         (LTCOMPILE): Renamed; added libtool invocation.
654         (LINK): Added libtool invocation.
655         (.s.o): use LTCOMPILE.
656         * configure.in: Call AM_PROG_LIBTOOL.  
657         (target_all): Set to libgcjgc.la.
658         Mention `.lo' forms of object files.
659
660 1999-04-21  Tom Tromey  <tromey@cygnus.com>
661
662         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
663         GC_stackbottom.
664
665         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
666         sigcontext.h.  From Matthias Klose <doko@itso.de>.
667
668 1999-04-16  Tom Tromey  <tromey@cygnus.com>
669
670         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
671         David Pettersson <dapet@mai.liu.se>
672
673 1999-04-14  Tom Tromey  <tromey@cygnus.com>
674
675         * configure: Rebuilt.
676         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
677         incorrect patch of 199-04-09.
678
679         * configure: Rebuilt.
680         * configure.in: Added support for alpha.
681         From David Pettersson <dapet@mai.liu.se>.
682
683 1999-04-13  Tom Tromey  <tromey@cygnus.com>
684
685         * Makefile.in: Rebuilt.
686         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
687         solaris-threads.h.
688
689 1999-04-09  Tom Tromey  <tromey@cygnus.com>
690
691         * configure: Rebuilt.
692         * configure.in: Use sparc_mach_dep.s when building on Solaris.
693
694 1999-02-23  Tom Tromey  <tromey@cygnus.com>
695
696         * configure: Rebuilt.
697         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
698         SOLARIS_THREADS and _SOLARIS_PTHREADS.
699
700 1999-02-18  Tom Tromey  <tromey@cygnus.com>
701
702         * quick_threads.c (GC_push_all_stacks): Change order of arguments
703         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
704         for case where LO is NULL.
705
706 1999-02-10  Tom Tromey  <tromey@cygnus.com>
707
708         * aclocal.m4, configure, Makefile.in: Rebuilt.
709         * acinclude.m4: Updated to be used with automake 1.4.
710         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
711         with automake 1.4.
712         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
713         (libgcjgc_a_SOURCES): Likewise.
714         (libgcjgc_a_LIBADD): Likewise.
715         (libgcjgc_a_DEPENDENCIES): Likewise.
716         (EXTRA_libgcjgc_a_SOURCES): Likewise.
717         (gctest_LDADD): Likewise.
718         (all_objs): Likewise.
719
720 1999-01-08  Tom Tromey  <tromey@cygnus.com>
721
722         * configure: Rebuilt.
723         * configure.in: Define LINUX_THREADS if using POSIX threads on
724         Linux.
725
726         * gc_priv.h (GC_test_and_set): Put return type into definition.
727
728 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
729
730         * Makefile.am: add support for eCos.  In particular, add C++
731         support for compiling the file ecos.cc.
732         * ecos.cc: new file.
733         * acinclude.m4: add C++ support.
734         * aclocal.m4: likewise
735         * config.h: add eCos support.
736         * configure: likewise
737         * configure.in: likewise
738         * misc.c (GC_write): add eCos support.
739         * os_dep.c (tiny_sbrk): add eCos support.
740         
741 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
742
743         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
744         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
745
746 1998-11-23  Tom Tromey  <tromey@cygnus.com>
747
748         * configure.host (boehm_gc_cflags): Don't add `-O2'.
749
750 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
751
752         * Makefile.am, Makefile.in, configure.host: tx39 build option 
753         "-G 0" added.
754         
755 1998-11-17  Tom Tromey  <tromey@cygnus.com>
756
757         * configure: Rebuilt.
758         * configure.in: Switch on host, not target.
759
760 1998-11-16  Tom Tromey  <tromey@cygnus.com>
761
762         * gc_priv.h (GC_debug_object_start): Declare.
763         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
764         * gc.h (GC_debug_register_finalizer_no_order,
765         GC_register_finalizer_no_order): Declare.
766         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
767         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
768         (GC_debug_generic_malloc): Likewise.
769         (GC_debug_object_start): new function.
770
771 1998-11-11  Tom Tromey  <tromey@cygnus.com>
772
773         * configure: Rebuilt.
774         * configure.in: Recognize --enable-java-gc, not --enable-gc.
775
776 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
777
778         * dyn_load.c: Handle QUICK_THREADS case.
779
780 1998-10-21  Tom Tromey  <tromey@cygnus.com>
781
782         * configure: Rebuilt.
783         * configure.in: Put cpp defines here, not in config.h.  Recognize
784         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
785         define PACKAGE or VERSION.
786         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
787         Don't define.
788
789         * os_dep.c (GC_default_push_other_roots): Define when
790         QUICK_THREADS defined.
791         * misc.c: Added QUICK_THREADS case.
792         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
793         * config.h (THREADS): Define if QUICK_THREADS defined.
794         * Makefile.in: Rebuilt.
795         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
796         quick_threads.c.
797         * quick_threads.c: New file.
798
799 1998-10-20  Tom Tromey  <tromey@cygnus.com>
800
801         * aclocal.m4, configure: Rebuilt.
802         * acinclude.m4: Don't subst machine_dir or sys_dir.
803         * configure.host: Removed unused code.
804
805 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
806
807         * configure: Rebuilt.
808         * configure.in: Fix typo in previous patch.
809
810 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
811
812         * Makefile.in, aclocal.m4, configure: Rebuilt.
813         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
814         * configure.host: Created.
815
816 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
817
818         * Makefile.in: Rebuilt.
819         * Makefile.am (lib_LIBRARIES): Use target_all.
820         (EXTRA_LIBRARIES): New macro.
821         * configure: Rebuilt.
822         * configure.in: Recognize --enable-gc.
823
824 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
825
826         * Makefile.in: Rebuilt.
827         * Makefile.am (COMPILE): Define.
828         (LINK): Likewise.
829         (.s.o): Use MY_CFLAGS.
830         * configure: Rebuilt.
831         * configure.in (MY_CFLAGS): Define and subst.
832
833 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
834
835         * configure: Rebuilt.
836         * configure.in: Added --with-cross-host argument.  Use
837         $with_cross_host to determine when cross-compiling.
838
839         * config.h (SMALL_CONFIG): Don't define.
840         * configure: Rebuilt.
841         * configure.in: Define SMALL_CONFIG when cross-compiling.
842
843 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
844
845         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
846         allchblk.c: Merged with 4.13a2 while preserving local changes.
847
848         * Makefile.orig: Updated from Makefile in 4.13a2.
849
850         * configure: Rebuilt.
851         * configure.in: Updated version number to 4.13a2.  On Solaris,
852         don't build with -O when using gcc.
853
854         Merged in version 4.13alpha2:
855         * config.h (USE_MMAP): Re-enable on Solaris.
856         * solaris_pthreads.c: Removed RCS Id line.
857         * alpha_mach_dep.s: Removed RCS Id line.
858
859 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
860
861         * config.h (USE_MMAP): Don't define for Solaris.
862
863 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
864
865         * Makefile.in: Rebuilt.
866         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
867
868         * Makefile.in: Rebuilt.
869         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
870
871 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
872
873         * Makefile.in: Rebuilt.
874         * Makefile.am ($(all_objs)): Depend on config.h.
875
876         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
877         DATASTART as &_etext.
878         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
879         * configure: Rebuilt.
880         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
881         tx39.
882
883 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
884
885         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
886         (GC_maybe_gc): Likewise.
887         * os_dep.c: If NO_SIGSET defined, then have empty
888         GC_disable_signals and GC_enable_signals.
889         * configure: Rebuilt.
890         * configure.in: Added --with-target-subdir option.  If
891         cross-compiling, define NO_SIGSET and NO_CLOCK.
892
893 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
894
895         * Makefile.in: Rebuilt.
896         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
897         (AS): Removed.
898         * aclocal.m4, configure: Rebuilt.
899         * acinclude.m4: New file.
900         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
901
902 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
903
904         * configure: Rebuilt.
905         * configure.in: Link boehm-config.h to config.h.
906         * Makefile.in: Rebuilt.
907         * Makefile.am (INCLUDES): Removed.
908         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
909         JAVA_FINALIZATION): Define
910
911 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
912
913         * Many files: Use GC_bool, not bool.
914         * gc_priv.h: Define GC_bool, not bool.
915
916         * misc.c (GC_dont_gc): Define as int.
917         (GC_quiet): Likewise.
918         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
919         * alloc.c (GC_dont_expand): Define as int.
920         * gc_priv.h: For gcc, define bool as char.
921
922 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
923
924         * Makefile.in: Rebuilt.
925         * Makefile.am (check_PROGRAMS): New macro.
926         (gctest_SOURCES): Likewise.
927         (gctest_LDADD): Likewise.
928
929 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
930
931         * Makefile.in: Rebuilt.
932         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
933         * configure: Rebuilt.
934         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
935
936 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
937
938         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
939         New files.
940         * Makefile.orig: Renamed from Makefile.
941