OSDN Git Service

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