OSDN Git Service

2004-02-22 Zack Weinberg <zack@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
1 2004-02-22  Zack Weinberg <zack@codesourcery.com>
2             Nathanael Nerode <neroden@twcny.rr.com>
3             Alexandre Oliva <aoliva@redhat.com>
4
5         * config.sub, config.guess: Replace with forwarding scripts
6         which invoke the master copies in the top level.
7
8 2004-02-23  Nathanael Nerode  <neroden@gcc.gnu.org>
9
10         * acinclude.m4: Remove old no-executables workaround;
11         add new no-executables workaround.
12         * aclocal.m4: Regenerate.
13         * configure.in: Change prereqs to autoconf 2.57.
14         * configure: Regenerate with autoconf 2.57.
15
16         * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
17         * configure: Regenerate.
18         * Makefile.am: Use target_noncanonical variable from configure.
19         * Makefile.in: Regenerate.
20         * include/Makefile.in: Regenerate.
21
22 2004-02-20  Andrew Cagney  <cagney@redhat.com>
23
24         * config.guess: Update from version 2002-01-10 to 2004-02-16.
25         * config.sub: Update from version 2002-01-02 to 2004-02-16.
26
27 2004-02-19  Nathanael Nerode  <neroden@gcc.gnu.org>
28
29         * acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
30         * aclocal.m4: Rebuild.
31         * configure: Regenerate.
32
33         * acinclude.m4: Move certain code to configure.in.
34         * configure.in: Receive code from acinclude.m4.
35         * aclocal.m4: Rebuild.
36         * configure: Regenerate.
37
38         * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
39
40 2004-01-20  Andrew Haley  <aph@redhat.com>
41
42         * include/private/gcconfig.h (USE_MMAP): Define for all Linux.
43
44         * configure.in: Comment change.
45
46 2004-01-16  Andrew Haley  <aph@redhat.com>
47
48         * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
49         add for ia64; remove for MIPS.
50         * configure: Regnerated.
51
52 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
53
54         * configure.in: Add in AC_PREREQ(2.13)
55
56 2004-01-07  Dave Jones <davej@redhat.com>
57
58         * malloc.c (GC_generic_malloc): Correct initialization typo.
59         * mallocx.c (GC_generic_malloc_ignore_off_page): Ditto.
60
61 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
62
63         * include/private/gcconfig.h: Re-install change of 2003-04-16.
64
65 2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
66
67         * mips_sgi_mach_dep.s: Use _ABIO32 instead of external
68         _MIPS_SIM_ABI32.
69
70 2003-10-18  Alan Modra  <amodra@bigpond.net.au>
71
72         * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
73         unsure comment.
74
75 2003-10-03  Jeff Sturm  <jsturm@one-point.com>
76
77         * configure: Rebuild.
78
79 2003-10-03  Hans Boehm  <Hans.Boehm@hp.com>
80
81         * configure.in: Remove NO_GETENV definition for win32.
82         * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization.
83         * misc.c (GC_init_inner): Call GC_thr_init for win32.
84           (GC_set_warn_proc): Add assertion.
85         * win32_threads.c: Import 6.3alpha2 version.
86         * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS.
87
88 2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
89
90         * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
91         2.3/SPARC, there are no micro versions.
92         Treat Solaris 10 and up alike.
93         * configure: Regenerate.
94
95 2003-09-22  Anthony Green  <green@redhat.com>
96
97         * os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
98         "NOSYS" targets.
99
100 2003-09-20    <green@redhat.com>
101
102         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
103         check for __arm__ or __thumb__.
104
105 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
106
107         * configure: Regenerate.
108
109 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
110             Roger Sayle <roger@eyesopen.com>
111
112         * configure.in: Set INCLUDES to absolute path.
113         Save $INCLUDES in boehm-cflags, too.
114         Set INCLUDES so it's available to config.status.
115         * configure: Regenerate.
116
117 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
118
119         * include/gc.h (GC_CreateThread): Declare with WINAPI
120         attribute.
121         * win32_threads.c (GC_CreateThread): Make definitions consistent
122         with declaration.  Cast &thread_table[i].handle to PHANDLE
123         in call to DuplicateHandle
124         (thread_start): Declare as static.
125
126 2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>
127
128         * dyn_load.c: Define __private_extern__ to match Apple's system
129         header.
130
131 2003-07-28  Loren J. Rittle  <ljrittle@acm.org>
132
133         * os_dep.c: Remove redundancy introduced in last merge.
134
135 2003-07-28  Jeff Sturm  <jsturm@one-point.com>
136
137         Import GC 6.3alpha1.
138         * BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
139         * ChangeLog: Likewise.
140         * Makefile.am: Likewise.
141         * Makefile.direct: Likewise.
142         * Makefile.dj: Likewise.
143         * allchblk.c: Likewise.
144         * alloc.c: Likewise.
145         * backgraph.c: Likewise.
146         * configure.host: Likewise.
147         * configure.in: Likewise.
148         * dbg_mlc.c: Likewise.
149         * dyn_load.c: Likewise.
150         * finalize.c: Likewise.
151         * gc_cpp.cc: Likewise.
152         * gc_dlopen.c: Likewise.
153         * gcj_mlc.c: Likewise.
154         * if_mach.c: Likewise.
155         * mach_dep.c: Likewise.
156         * malloc.c: Likewise.
157         * mallocx.c: Likewise.
158         * mark.c: Likewise.
159         * mark_rts.c: Likewise.
160         * misc.c: Likewise.
161         * os_dep.c: Likewise.
162         * ptr_chck.c: Likewise.
163         * reclaim.c: Likewise.
164         * solaris_pthreads.c: Likewise.
165         * solaris_threads.c: Likewise.
166         * sparc_mach_dep.S: Likewise.
167         * threadlibs.c: Likewise.
168         * typd_mlc.c: Likewise.
169         * version.h: Likewise.
170         * win32_threads.c: Likewise.
171         * Mac_files/MacOS_Test_config.h: Likewise.
172         * Mac_files/MacOS_config.h: Likewise.
173         * cord/cordbscs.c: Likewise.
174         * cord/cordprnt.c: Likewise.
175         * cord/de_win.c: Likewise.
176         * doc/README: Likewise.
177         * doc/README.MacOSX: Likewise.
178         * doc/README.changes: Likewise.
179         * doc/README.environment: Likewise.
180         * doc/README.ews4800: Likewise.
181         * doc/README.linux: Likewise.
182         * doc/README.macros: Likewise.
183         * doc/README.win32: Likewise.
184         * doc/debugging.html: Likewise.
185         * doc/gcdescr.html: Likewise.
186         * doc/tree.html: Likewise.
187         * include/Makefile.in: Likewise.
188         * include/gc.h: Likewise.
189         * include/gc_cpp.h: Likewise.
190         * include/gc_local_alloc.h: Likewise.
191         * include/gc_mark.h: Likewise.
192         * include/gc_pthread_redirects.h: Likewise.
193         * include/gc_typed.h: Likewise.
194         * include/new_gc_alloc.h: Likewise.
195         * include/private/dbg_mlc.h: Likewise.
196         * include/private/gc_hdrs.h: Likewise.
197         * include/private/gc_locks.h: Likewise.
198         * include/private/gc_pmark.h: Likewise.
199         * include/private/gc_priv.h: Likewise.
200         * include/private/gcconfig.h: Likewise.
201         * include/private/solaris_threads.h: Likewise.
202         * include/private/specific.h: Likewise.
203         * tests/test.c: Likewise.
204         * tests/test_cpp.cc: Likewise.
205
206         * configure: Rebuild.
207         * Makefile.in: Rebuild.
208
209         * mips_sgi_mach_dep.s: Add.
210
211         * alpha_mach_dep.s: Remove.
212         * irix_threads.c: Remove.
213         * linux_threads.c: Remove.
214         * mips_sgi_mach_dep.S: Remove.
215         * missing: Remove.
216         * powerpc_macosx_mach_dep.s: Remove.
217         * doc/Makefile.am: Remove.
218         * doc/Makefile.in: Remove.
219
220 2003-07-25  Roger Sayle  <roger@eyesopen.com>
221
222         * configure.host: Only use +ESdbgasm when using the HPUX native
223         compiler on PA-Risc.  It isn't recognized by GCC and is silently
224         ignored by HP's compilers on ia64.
225
226 2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
227
228         * configure.in: define GC_DLL under mingw if --enable-shared
229         * configure: rebuilt
230         * win32_threads.c: add #ifdef GC_DLL around DllMain
231
232 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
233
234         * include/private/gcconfig.h: Add support for arm-netbsdelf.
235
236 2003-04-09  Tom Tromey  <tromey@redhat.com>
237
238         * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
239         POWERPC.
240         (STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
241
242 2003-03-22  Richard Henderson  <rth@redhat.com>
243
244         * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
245         (GC_test_and_set): Use __sync_lock_test_and_set.
246         (GC_clear): Use volatile assignment.
247         (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
248         (GC_memory_write_barrier): Use __sync_synchronize.
249
250 2003-03-12  Andreas Schwab  <schwab@suse.de>
251
252         * configure.in: Avoid trailing /. in toolexeclibdir.
253         * configure: Rebuilt.
254
255 2003-03-04  Hans Boehm <Hans.Boehm@hp.com>
256         * include/private/gcconfig.h (GC_data_start): declare when needed.
257         * include/private/gc_priv.h: Include gcconfig.h after ptr_t
258         declaration.
259         * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr,
260         GC_register_dynlib_callback): Register main data for static
261         executable if dl_iterate_phdr() didn't.
262         * misc.c (GC_init_inner): Call GC_init_linux_data_start() even
263         if we don't expect to register main static data.
264
265 2003-03-03  Hans Boehm  <Hans.Boehm@hp.com>
266         * mark_rts.c (GC_cond_register_dynamic_libraries): add.
267         (GC_push_roots): explicitly mark free list headers, register
268         dynamic libraries only if !REGISTER_LIBRARIES_EARLY.
269         * alloc.c (GC_stopped_mark): Conditionally call
270         GC_cond_register_dynamic_libraries().
271         (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc.
272         * dyn_load.c (GC_register_main_static_data): define.
273         (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)):
274         no longer skip main data.
275         * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define.
276         (GC_init_inner): Make main data registration conditional.
277         * include/private/gc_priv.h (GC_register_main_static_data): declare.
278         * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define
279         for LINUX.
280
281 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
282
283         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
284         config.status.
285         * configure: Rebuilt.
286
287 2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
288
289         * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
290
291 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
292
293         * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
294         Remove USE_LIBDIR conditional.
295         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
296         * Makefile.in, configure: Rebuilt.
297
298 2002-12-31  Tom Tromey  <tromey@redhat.com>
299
300         For PR libgcj/8933:
301         * include/Makefile.in: Rebuilt.
302         * include/Makefile.am (noinst_HEADERS): Renamed from
303         include_HEADERS.
304
305 2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
306
307         * ltconfig (osf[345]): Append $major to soname_spec.
308         Reflect this in library_names_spec.
309         * ltmain.sh (osf): Prefix $major with . for use as extension.
310
311 2002-10-02  Andreas Jaeger  <aj@suse.de>
312
313         * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
314
315 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
316
317         * include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
318         check for __arm__ or __thumb__.
319
320 2002-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
321
322         * include/private/gcconfig: Add machine type S390.  Add s390x support.
323         * include/private/gc_locks.h (GC_test_and_set): Implement for s390.
324         (GC_compare_and_exchange): Likewise.
325
326 2002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
327
328         * include/private/gcconfig.h: Fix NetBSD/mips parameters.
329
330 2002-08-23  Adam Megacz <adam@xwt.org>
331
332         * win32_threads.cc: Removed extraneous ABORT()
333
334 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
335
336         * Makefile.am (all-multi): Fix multilib parallel build.
337
338 2002-07-18  Bo Thorsen  <bo@suse.de>
339
340         * include/private/gcconfig.h: Add x86-64 definitions.
341         * os_dep.c: Add x86-64 support.
342         * configure.in: Likewise.
343         * configure: Regenerate.
344
345 2002-07-18  H.J. Lu <hjl@gnu.org>
346
347         * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
348
349 2002-07-18  H.J. Lu  (hjl@gnu.org)
350
351         * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for
352         Linux/mips.
353
354 2002-06-28  Hans Boehm <Hans_Boehm@hp.com>
355             Jonathan Clark
356
357         * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
358
359 2002-06-09  H.J. Lu  (hjl@gnu.org)
360
361         * include/private/gc_locks.h (GC_test_and_set): Support
362         Linux/mips.
363         (GC_TEST_AND_SET_DEFINED): Likewise.
364
365         * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
366         Linux/mips.
367         (DATAEND): Likewise.
368         (LINUX_STACKBOTTOM): Likewise.
369         (STACKBOTTOM): Removed for Linux/mips.
370
371 Sun May 19 11:32:03 2002  Mark P Mitchell  <mark@codesourcery.com>
372
373         * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
374         (GC_pthread_create): Fix typo.
375         (GC_TRY_LOCK): Likewise.
376         * include/private/gc_locks.h (GC_test_and_set): Only take one
377         one argument.
378         (LOCK): Adjust appropriately.
379         * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
380         _SIGRTMIN is unavailable.
381
382 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
383
384         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
385         * aclocal.m4: Regenerate.
386         * configure: Regenerate.
387
388 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
389
390         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
391         script entry, and set LD to it when configuring multilibs.
392         * configure: Rebuilt.
393
394 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
395
396         * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
397         (noinst_LTLIBRARIES): Add libgcjgc.la.
398
399         * Makefile.in: Rebuild.
400
401 2002-04-22  David S. Miller  <davem@redhat.com>
402
403         * include/private/gcconfig.h: Hard-code STACKBOTTOM on
404         64-bit SPARC Linux, the __libc_stack_end technique does
405         not work in this case.
406
407 2002-04-22  Jeff Sturm  <jsturm@one-point.com>
408
409         * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
410
411 2002-04-17  Hans Boehm  <Hans_Boehm@hp.com>
412
413         * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
414         SPARC Linux.
415
416 2002-04-09  Loren J. Rittle  <ljrittle@acm.org>
417
418         * include/private/gcconfig.h (DATAEND): Update comment example
419         to match reality.
420
421 2002-04-08  Loren J. Rittle  <ljrittle@acm.org>
422
423         * include/private/gcconfig.h (DATAEND): Clarify comment.
424
425 2002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
426
427         * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
428         (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
429         declare.
430         * allchblk.c (GC_allchblk_nth): Change text and support reduced
431         frequency for blacklist warning message.
432         * misc.c (GC_large_alloc_warn_interval,
433         GC_large_alloc_warn_suppressed): define.
434         (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
435         GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
436         * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
437         (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
438
439         * dyn_load.c (_DYNAMIC): Move declaration to file scope.
440
441 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
442
443         * include/private/gcconfig.h: Add support for an unmapped
444         memory hole between the end of the initialized data segment
445         and the start of the BSS on FreeBSD/i386.
446
447 2002-03-30  Krister Walfridsson  <cato@df.lth.se>
448
449         * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
450         NetBSD/i386.
451
452 2002-03-29  Hans Boehm  <Hans_Boehm@hp.com>
453
454         * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
455         (GC_local_gcj_malloc): Add assertion.
456         (start_mark_threads): Fix abort message.
457         * mark.c (GC_mark_from): Generalize assertion.
458         * reclaim.c (GC_clear_fl_links): New function.
459         (GC_start_reclaim): Must clear some freelist links.
460         * include/private/specific.h, specific.c: Add assertions.
461         Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
462         Rearrange tse fields.
463
464 2002-03-27  Richard Henderson  <rth@redhat.com>
465
466         * os_dep.c (GC_init_linux_data_start): Fix references to
467         __data_start and _end.
468
469 2002-03-25  Loren J. Rittle  <ljrittle@acm.org>
470
471         * include/private/gcconfig.h: Change all likely references
472         to linker script synthesized symbols to use this idiom:
473         extern int etext[]; etext
474
475 2002-03-25  Jeff Sturm  <jsturm@one-point.com>
476
477         * linux_threads.c (GC_get_nprocs): Close file descriptor.
478
479 2002-03-21  Loren J. Rittle  <ljrittle@acm.org>
480
481         * include/private/gcconfig.h: Add unified test for FreeBSD.
482         Support FreeBSD/alpha.
483         * os_dep.c: Do not include <machine/trap.h> unless available.
484         (GC_freebsd_stack_base): Fix types.
485
486 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
487
488         * Makefile.am: Make a convenience library.
489         * Makefile.in: Rebuilt.
490
491 2002-03-15  Anthony Green  <green@redhat.com>
492
493         * misc.c (GC_init_inner): Initialize GC_write_cs before use.
494         * configure.in: Disable use of getenv for win32 targets (some of
495         which have broken implementations).
496         * configure: Rebuilt.
497
498 2002-03-12  Adam Megacz  <adam@xwt.org>
499
500         * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
501         * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
502         * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
503         statically initialized it to TRUE if compiling with GCC.
504         * win32_threads.c (thread_start): We no longer use SEH if
505         compiling with GCC.
506         * mark.c (GC_mark_some): We no longer use SEH if
507         compiling with GCC.
508
509 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
510
511         * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
512         support is enabled, for hash synchronization.
513
514 2002-02-24  Adam Megacz  <adam@xwt.org>
515
516         * Makefile.am: Added win32_threads.c to sources list.
517         * win32_threads.c: Added two */'s which I had neglected.
518
519 2002-02-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
520
521         * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
522         * Makefile.in: Rebuilt.
523
524 2002-02-13  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
525
526         * dbg_mlc.c (GC_debug_generic_malloc): Removed.
527
528         * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
529         preprocessor file.
530         * mips_sgi_mach_dep.S: Likewise.
531         * Makefile.am: Update for above changes.
532         * Makefile.in: Rebuilt.
533
534 2002-02-12  Richard Henderson  <rth@redhat.com>
535
536         * configure.in: Re-apply 2001-06-26 configure change.
537         * configure: Rebuild.
538
539 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
540
541         Imported GC 6.1 Alpha 3.
542
543         * sparc_mach_dep.S: Delete incorrectly named file.
544
545 2001-02-11  Adam Megacz <adam@xwt.org
546
547         * configure.in: support for win32, saner
548         cross-compile options
549
550 2001-02-08  Anthony Green  <green@redhat.com>
551
552         * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
553           board embedded targets.
554         * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
555           Use GC_get_stack_base for NOSYS/ECOS targets.  Clean up some
556           redundant uses of ECOS.
557         * misc.c: Use NOSYS where ECOS is being used.
558           Don't define GC_write twice for ECOS systems.
559           (GC_write): New function for NOSYS targets.
560
561 2002-02-06  Adam Megacz <adam@xwt.org>
562
563         * boehm-gc/include/gc.h: (GC_CreateThread) This function is
564         now exposed on all Win32 platforms.
565         * boehm-gc/win32_threads.c: (GC_CreateThread) This now
566         compiles on Win32; it invokes CreateThread() if GC is built
567         as a DLL; otherwise it registers the thread.
568         * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
569         libgcjgc was not built as a DLL.
570
571 2002-02-01  Adam Megacz <adam@xwt.org>
572
573         * boehm-gc on win32 now automatically detects if it is being built
574         as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
575
576 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
577
578         * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
579         * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
580         Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
581         DATASTART and DATAEND roots.
582         * rs6000_mach_dep.s: Add function descriptor and traceback table.
583
584 2001-12-16  Jeff Sturm  <jsturm@one-point.com>
585
586         * dyn_load.c: Define ElfW (if needed) for all targets,
587         not just GNU/Linux.
588         (GC_FirstDLOpenedLinkMap): Use it.
589         (GC_register_dynamic_libraries_dl): Use it.
590         * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
591         for sparcv9.
592
593 2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>
594
595         PR other/3725
596         * configure.in: Add AC_SUBST(target_alias).
597         * configure: Regenerated.
598
599 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
600
601         * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
602         case for GC_FREEBSD_THREADS.
603         * configure.in (*-*-freebsd*): Clarify warning.
604         * configure: Rebuilt.
605
606 2001-10-23  Loren J. Rittle  <ljrittle@acm.org>
607             Andreas Tobler <toa@pop.agri.ch>
608
609         * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
610
611 2001-10-22  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
612
613         * linux_threads.c (GC_init_parallel): Do not declare as a static
614         constructor.
615         * include/gc.h (GC_init): Declare here. Add description.
616         * include/private/gc_priv.h (GC_init): Remove declaration.
617
618 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
619
620         * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
621         * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
622         GC_FREEBSD_THREADS, handle strange interaction between system
623         pthread implementation and boehm-gc signal-handler architecture.
624         * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
625         set stack.
626         * include/private/gcconfig.h (configuration keyed off FREEBSD):
627         Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
628         MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
629
630 2001-10-16  Loren J. Rittle  <ljrittle@acm.org>
631
632         * Makefile.am (test.o): Find tests/test.c in $(srcdir).
633         * Makefile.in: Rebuilt.
634
635 2001-10-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
636
637         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
638         merged local changes.
639
640 2001-09-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
641
642         * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
643         Solaris 2/Intel definition.
644
645         * configure.in (i?86-*-solaris2.[89]*): Define
646         SOLARIS25_PROC_VDB_BUG_FIXED.
647         * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
648         * configure: Regenerate.
649
650         * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
651         (DATAEND): Define using _end.
652
653 2001-09-11  Per Bothner  <per@bothner.com>
654
655         * include/Makefile.am:  New file.  It defines include_HEADERS.
656         * Makefile.am (SUBDIRS):  New macro, set to include.
657         * configure.in (AC_OUTPUT):  Add include/Makefile.
658
659 2001-08-20  Tom Tromey  <tromey@redhat.com>
660
661         * configure: Rebuilt.
662         * configure.in: Always ask gcc for threads package.
663
664 2001-08-17  Tom Tromey  <tromey@redhat.com>
665
666         * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
667         merged local changes.
668
669 2001-08-02  David Billinghurst <David.Billinghurst>
670
671         * configure: Rebuilt.
672         * configure.in:  POSIX threads on cygwin does not link with
673         -lpthreads.
674
675 2001-07-03  Tom Tromey  <tromey@redhat.com>
676
677         Fix for PR bootstrap/3281:
678         * aclocal.m4, configure, Makefile.in: Rebuilt.
679         * acinclude.m4: Set mkinstalldirs for in-tree build.
680
681 2001-06-26  Richard Henderson  <rth@redhat.com>
682
683         * alpha_mach_dep.s: Mark call-saved FP registers.
684         * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
685         * configure.in (alpha*): Re-enable alpha_mach_dep.s
686         * configure: Rebuild.
687
688 2001-06-12  Tom Tromey  <tromey@redhat.com>
689
690         * aclocal.m4, configure: Rebuilt.
691         * acinclude.m4: Find configure.host in srcdir.
692
693 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
694
695         * configure.in (AC_EXEEXT): Work around in case it expands to
696         nothing, as in autoconf 2.50.
697         * acinclude.m4: Likewise.
698         * aclocal.m4, configure: Rebuilt.
699
700 2001-06-07  Tom Tromey  <tromey@redhat.com>
701
702         For PR bootstrap/3075:
703         * configure, aclocal.m4, Makefile.in: Rebuilt.
704         * configure.in: Don't call AC_CONFIG_AUX_DIR or
705         AC_CANONICAL_SYSTEM.
706         * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
707         AC_CANONICAL_SYSTEM here.
708         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
709         boehm_gc_basedir.
710
711 2001-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
712
713         * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
714         (libgcjgc_la_SOURCES): Remove typo.
715         * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
716         * Makefile.in: Rebuilt.
717
718 2001-05-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
719
720         Imported version version 6.0alpha7.
721
722         * README, README.Mac, README.OS2, README.QUICK, README.alpha,
723         README.amiga, README.debugging, README.dj, README.hp, README.linux,
724         README.rs6000, README.sgi, README.solaris2, README.uts,
725         README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
726         dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
727         gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
728         hpux_irix_threads.c, makefile.depend, nursery.c,
729         solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
730         cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
731         cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
732         include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
733         files.
734
735 2001-05-19  Hans Boehm  <hans_boehm@hp.com>
736
737         * configure.host: Build with -fexceptions.
738         * linux_threads.c: Remember which thread stopped world for
739
740 2001-05-04  Loren J. Rittle  <ljrittle@acm.org>
741             with final tuning by Bryce McKinlay
742
743         * configure.in: Add support for --enable-threads=posix on FreeBSD.
744         * configure: Rebuilt.
745
746 2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>
747
748         * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
749         (GC_noop1): Change declaration to take one argument.
750
751 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
752
753         * configure.in: Obtain THREADS with `gcc -v'.
754         * configure: Rebuilt.
755
756 2001-04-05  Hans Boehm  <hans_boehm@hp.com>
757
758         * misc.c: Back out buggy changes to stack clearing code.
759         Reduce CLEAR_SIZE to 1/4 of original value to reduce time
760         spent clearing memory.
761
762 2001-04-04  Hans Boehm  <hans_boehm@hp.com>
763
764         * finalize.c:
765         - Accomodate finalization requests for static objects.
766           (Will be required by hash synchronization.  May be needed
767           in some configurations now.)
768
769         * gc_priv.h:
770         - Define MIN_WORDS.  All allocation requests are rounded
771           up to at least this size.  Removes a subtle assumption that
772           Java objects have a 2 word header.
773
774         * gcconfig.h:
775         - Adjust Linux/IA64 configuration for non-ancient kernels.
776           (Necessary fix for IA64.)
777
778         * linux_threads.c:
779         - Fix syntax error in currently unused code.  Will be needed
780           for Linux/PA-RISC.
781
782         * malloc.c:
783         - Handle MIN_WORDS.
784
785         * misc.c:
786         - Handle MIN_WORDS.
787         - Change stack cleaning code to typically clear about one tenth
788           the memory it used to in the threads configuration.  Occasionally
789           still clear more.  (This is really a fix for a long-standing
790           and fairly significant performance bug with threads.)
791
792         * os_dep.c:
793         - Fix the code for finding the beginning of the data segment under
794           Linux.  I believe this is necessary for some IA64 Linux
795           distributions.  It will also helo other platforms, though those
796           may additionally require a gcconfig.h adjustment.  (This basically
797           works around the absence of a data_start or __data_start
798           definition in glibc.)
799
800         * test.c:
801         - Handle rounding due to MIN_WORDS.
802
803 2001-03-22  Tom Tromey  <tromey@redhat.com>
804
805         * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
806
807 2001-03-19  Tom Tromey  <tromey@redhat.com>
808
809         * Makefile.in: Rebuilt.
810         * Makefile.am (gctest_LDFLAGS): new macro.
811
812 2001-03-16  Tom Tromey  <tromey@redhat.com>
813
814         * Makefile.in: Rebuilt.
815         * Makefile.am (TESTS_ENVIRONMENT): New macro.
816
817 2001-01-23  Rod Stewart <stewart@lab43.org>
818
819         * gcconfig.h: Check for `__arm__', not `arm'.
820
821 2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
822
823         * configure.in: Rename THREADLIB to THREADLIBS.
824         * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
825         ensures that we link the correct version of the linuxthreads semaphore
826         functions.
827         * Makefile.in: Rebuilt.
828         * configure: Rebuilt.
829
830         * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
831         list of signals which are not blocked during suspend in the NO_SIGNALS
832         case.
833
834 2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>
835
836         * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
837
838 2000-12-15  Bryce McKinlay  <bryce@albatross.co.nz>
839
840         * Makefile.dist: Renamed from Makefile.orig.
841
842 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
843
844         * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
845         * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
846         set accordingly.
847         * Makefile.in: Rebuilt.
848         * configure: Likewise.
849
850 2000-12-10  Geoffrey Keating  <geoffk@redhat.com>
851
852         * gcconfig.h: Add new case for powerpc EABI.
853         [PPC]: Handle embedded OS for powerpc simulator.
854
855 2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
856
857         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
858         cross-compile configuration only.
859         * Makefile.am: Build gcj_mlc.c.
860         * configure, Makefile.in: Rebuilt.
861
862 2000-09-10  Alexandre Oliva  <aoliva@redhat.com>
863
864         * acinclude.m4: Include libtool macros from the top level.
865         * aclocal.m4, configure: Rebuilt.
866
867 2000-09-04  Anthony Green  <green@redhat.com>
868
869         Fix for PR libgcj/230:
870         * mark.c (GC_mark_from_mark_stack): Remove call to
871         GC_debug_object_start.
872         * gc_priv.h (GC_debug_object_start): Remove prototype.
873
874 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
875
876         * gcconfig.h [OSF1] (_end): Declare as `int'.
877
878 2000-08-02  Tom Tromey  <tromey@cygnus.com>
879
880         * gc_priv.h (GC_generic_malloc_inner): Prototype.
881         (GC_generic_malloc): Likewise.
882         (GC_add_to_black_list_normal): Likewise.
883         (GC_find_header): Likewise.
884         (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
885         * gc_mark.h (GC_find_start): Prototype.
886         (GC_signal_mark_stack_overflow): Likewise.
887
888 2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
889
890         * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
891         * configure: Rebuilt.
892
893         * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
894
895 2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>
896
897         Imported version 5.1.
898         * acinclude.m4: Push version to 5.1.
899
900 2000-06-19  Andrew Haley  <aph@cygnus.com>
901
902         * os_dep.c (read): Pass two dummy args to syscall().
903
904 2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>
905
906         Imported 5.0 release version.
907         * acinclude.m4: Increment version to 5.0.
908
909 2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>
910
911         Imported version 5.0alpha7.
912         * acinclude.m4: Update version to 5.0a7.
913
914 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
915
916         * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
917         (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
918         - sparc glibc does not provide it.
919         (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
920         Make STACKBOTTOM depend on the wordsize.
921         * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
922         (struct frame): Declare on sparc*-linux*.
923         (GC_save_callers): Bias the frame pointers if needed (sparc64).
924         * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
925         Implement on sparc64.
926         (GC_clear_stack_inner): Implement on sparc64.
927         * gc_priv.h (GC_test_and_set): Implement for sparc.
928         * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
929         GC_save_regs_in_stack on sparc.
930
931 2000-04-23  Tom Tromey  <tromey@cygnus.com>
932
933         * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
934
935 2000-04-19  Bryce McKinlay  <bryce@albatross.co.nz>
936
937         Imported version version 5.0alpha6.
938         * acinclude.m4: Bump version to 5.0a6.
939         * configure.in: Don't use alpha_mach_dep.s.
940         * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
941         obsolete files.
942         * Makefile.am, Makefile.in: irix_threads.c is now
943         hpux_irix_threads.c.
944         * Makefile.orig: Updated from gc distribution Makefile.
945
946 2000-03-26  Anthony Green  <green@redhat.com>
947
948         * misc.c (GC_enable): Always define GC_enable and GC_disable.
949
950 2000-02-14  Tom Tromey  <tromey@cygnus.com>
951
952         * gc.h (dlopen): Define as GC_dlopen on Linux.
953         (GC_dlopen): Declare on Linux.
954         * dyn_load.c (GC_dlopen): Define for Linux.
955
956 Fri Jan 28 17:13:20 2000  Anthony Green  <green@cygnus.com>
957
958         * gcconfig.h (DATASTART): Add missing extern declaration
959         for data_start on powerpc.
960
961 1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>
962
963         * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
964         NO_SIGNALS case.
965
966 1999-12-19  Jeff Sturm  <jsturm@sigma6.com>
967
968         * gcconfig.h: Define DATASTART for Alpha Linux.
969
970 1999-12-19  Anthony Green  <green@cygnus.com>
971
972         * gcconfig.h: Use libgcj hack for Alpha Linux.
973         Undefine MPROTEXT_VDB (from Jeff Sturm).
974         * os_dep.c: Remove Alpha Linux hacks.
975         * misc.c: Ditto.
976
977 1999-12-13  Tom Tromey  <tromey@cygnus.com>
978
979         * aclocal.m4, configure: Rebuilt.
980         * acinclude.m4: Changed version to 5.0a4.
981         * Makefile.in: Rebuilt.
982         * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
983
984 1999-12-12  Anthony Green  <green@cygnus.com>
985
986         * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
987         Linux.
988         (DYNAMIC_LOADING): Define for PowerPC Linux.
989         * os_dep.c: Remove some special cases for PowerPC Linux.
990         * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
991         for PowerPC Linux.
992
993 1999-11-04  Tom Tromey  <tromey@cygnus.com>
994
995         * Makefile.in: Rebuilt.
996         * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
997
998         * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
999         (GC_thr_init): Don't declare.
1000
1001         * configure: Rebuilt.
1002         * configure.in: Removed qt threads case.
1003         * dyn_load.c: Don't mention QUICK_THREADS.
1004         * os_dep.c: Don't mention QUICK_THREADS.
1005         * misc.c: Don't mention QUICK_THREADS.
1006         * gcconfig.h: Don't mention QUICK_THREADS.
1007         * gc_priv.h: Removed QUICK_THREADS code.
1008         * quick_threads.c: Removed.
1009
1010 1999-11-03  Tom Tromey  <tromey@cygnus.com>
1011
1012         * gcconfig.h: Merged in local changes from old config.h.
1013
1014 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
1015
1016         * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1017
1018 1999-11-02  Tom Tromey  <tromey@cygnus.com>
1019
1020         * quick_threads.c: Include gcconfig.h, not boehm-config.h.
1021
1022         * configure: Rebuilt.
1023         * configure.in: Don't create boehm-config.h.
1024         * Makefile.in: Rebuilt.
1025         * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
1026         config.h.
1027         ($(all_objs)): Depend on gcconfig.h.
1028         * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
1029         * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
1030         * config.h: Removed.
1031
1032 1999-11-01  Tom Tromey  <tromey@cygnus.com>
1033
1034         * Makefile.in: Rebuilt.
1035         * Makefile.am (gctest_LDADD): Added THREADLIB.
1036         (TESTS): New macro.
1037         * configure: Rebuilt.
1038         * configure.in (INCLUDES): New subst.
1039
1040 1999-09-29  Steve Chamberlain  <sac@pobox.com>
1041
1042         * config.h: Added picoJava target.
1043         * mach_dep.h (GC_push_regs):  New code for picoJava.
1044
1045 1999-09-28  Tom Tromey  <tromey@cygnus.com>
1046
1047         * aclocal.m4, configure: Rebuilt.
1048         * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
1049         appropriate AC_PROG_ symbol.
1050
1051 Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1052
1053         * gc_priv.h:  IRIX thread changes from
1054         include/private/gc_priv.h.
1055
1056 Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1057
1058         * Makefile.in: Rebuilt.
1059         * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
1060         builds.
1061
1062         * configure: Rebuilt.
1063         * configure.in: Properly align --help output, fix capitalization
1064         and punctuation.
1065         * acinclude.m4: Likewise.
1066
1067 1999-08-04  Tom Tromey  <tromey@cygnus.com>
1068
1069         * configure.in: Added missing `;;'.  From Anthony Green.
1070
1071 Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1072
1073         * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
1074
1075 1999-08-03  Tom Tromey  <tromey@cygnus.com>
1076
1077         * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
1078         Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1079
1080 1999-08-02  Tom Tromey  <tromey@cygnus.com>
1081
1082         * aclocal.m4, configure: Rebuilt for new libtool.
1083
1084 1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
1085
1086         * mips_sgi_mach_dep.s: Enable PIC option.
1087
1088 1999-07-19  Tom Tromey  <tromey@cygnus.com>
1089
1090         * config.h (MPROTECT_VDB): Don't define on Linux.
1091
1092 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1093
1094         * Makefile.am (.s.lo): Avoid `#line' directives.
1095         * Makefile.in: Rebuilt.
1096
1097 1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>
1098
1099         * Makefile.am (*-recursive, *-am, *-multi): Automake does not
1100         generate *-recursive for this Makefile, use *-am instead.
1101         * Makefile.in: Rebuilt.
1102
1103 1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
1104
1105         * Makefile.am (.s.lo): Renamed from `.s.o'.
1106         * Makefile.in: Rebuilt.
1107
1108 1999-06-21  Tom Tromey  <tromey@cygnus.com>
1109
1110         Alpha patch from Jeff Sturm:
1111         * os_dep.c (GC_init_linuxalpha): New function.
1112         * misc.c: Initialize for alpha linux.
1113         * gc_priv.h (GC_test_and_set): Define for alpha.
1114         * config.h: Don't assume __data_start on alpha.
1115
1116         * Makefile.in: Rebuilt.
1117         * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
1118         -release.
1119
1120         * Makefile.in: Rebuilt.
1121         * Makefile.am (toolexeclibdir): Define as libdir when
1122         appropriate.
1123         * configure: Rebuilt.
1124         * configure.in (USE_LIBDIR): New conditional.
1125
1126         * configure: Rebuilt.
1127         * configure.in: Recognize all forms of alpha.
1128
1129 1999-06-17  Anthony Green  <green@cygnus.com>
1130
1131         * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
1132         Carlo Dapor <carlo@vis.ethz.ch>).
1133
1134 1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
1135
1136         * configure.in: Switch from irix threads to posix threads
1137         Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
1138         for mips architecture.
1139         * configure: Regenerate.
1140
1141 1999-04-30  Tom Tromey  <tromey@cygnus.com>
1142
1143         * linux_threads.c: Don't reference __pthread_initial_thread_bos.
1144
1145 1999-04-26  Tom Tromey  <tromey@cygnus.com>
1146
1147         * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
1148         `weak'.
1149
1150 1999-04-23  Tom Tromey  <tromey@cygnus.com>
1151
1152         * Makefile.in, configure: Rebuilt.
1153         * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
1154         (libgcjgc_la_SOURCES): Renamed.
1155         (libgcjgc_la_LIBADD): Likewise.
1156         (libgcjgc_la_DEPENDENCIES): Likewise.
1157         (EXTRA_libgcjgc_la_SOURCES): Likewise.
1158         (gctest_LDADD): Use libgcjgc.la.
1159         (all_objs): Mention libgcj_la_OBJECTS.
1160         (EXTRA_LTLIBRARIES): Renamed.
1161         (toollib_LTLIBRARIES): Likewise.
1162         (libgcjgc_la_LDFLAGS): New macro
1163         (toolexecdir): Renamed.
1164         (toolexeclibdir): Likewise.
1165         (toolexeclib_LTLIBRARIES): Likewise.
1166         (LTCOMPILE): Renamed; added libtool invocation.
1167         (LINK): Added libtool invocation.
1168         (.s.o): use LTCOMPILE.
1169         * configure.in: Call AM_PROG_LIBTOOL.
1170         (target_all): Set to libgcjgc.la.
1171         Mention `.lo' forms of object files.
1172
1173 1999-04-21  Tom Tromey  <tromey@cygnus.com>
1174
1175         * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
1176         GC_stackbottom.
1177
1178         * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
1179         sigcontext.h.  From Matthias Klose <doko@itso.de>.
1180
1181 1999-04-16  Tom Tromey  <tromey@cygnus.com>
1182
1183         * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
1184         David Pettersson <dapet@mai.liu.se>
1185
1186 1999-04-14  Tom Tromey  <tromey@cygnus.com>
1187
1188         * configure: Rebuilt.
1189         * configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
1190         incorrect patch of 199-04-09.
1191
1192         * configure: Rebuilt.
1193         * configure.in: Added support for alpha.
1194         From David Pettersson <dapet@mai.liu.se>.
1195
1196 1999-04-13  Tom Tromey  <tromey@cygnus.com>
1197
1198         * Makefile.in: Rebuilt.
1199         * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
1200         solaris-threads.h.
1201
1202 1999-04-09  Tom Tromey  <tromey@cygnus.com>
1203
1204         * configure: Rebuilt.
1205         * configure.in: Use sparc_mach_dep.s when building on Solaris.
1206
1207 1999-02-23  Tom Tromey  <tromey@cygnus.com>
1208
1209         * configure: Rebuilt.
1210         * configure.in: For Linux, define _REENTRANT.  For Solaris, define
1211         SOLARIS_THREADS and _SOLARIS_PTHREADS.
1212
1213 1999-02-18  Tom Tromey  <tromey@cygnus.com>
1214
1215         * quick_threads.c (GC_push_all_stacks): Change order of arguments
1216         to GC_push_all_stacks depending on STACK_GROWS_DOWN define.  Check
1217         for case where LO is NULL.
1218
1219 1999-02-10  Tom Tromey  <tromey@cygnus.com>
1220
1221         * aclocal.m4, configure, Makefile.in: Rebuilt.
1222         * acinclude.m4: Updated to be used with automake 1.4.
1223         * configure.in: Renamed libgc to libgcjgc.  Updated to be used
1224         with automake 1.4.
1225         * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
1226         (libgcjgc_a_SOURCES): Likewise.
1227         (libgcjgc_a_LIBADD): Likewise.
1228         (libgcjgc_a_DEPENDENCIES): Likewise.
1229         (EXTRA_libgcjgc_a_SOURCES): Likewise.
1230         (gctest_LDADD): Likewise.
1231         (all_objs): Likewise.
1232
1233 1999-01-08  Tom Tromey  <tromey@cygnus.com>
1234
1235         * configure: Rebuilt.
1236         * configure.in: Define LINUX_THREADS if using POSIX threads on
1237         Linux.
1238
1239         * gc_priv.h (GC_test_and_set): Put return type into definition.
1240
1241 1998-11-24  Andrew Haley  <aph@viagra.cygnus.co.uk>
1242
1243         * Makefile.am: add support for eCos.  In particular, add C++
1244         support for compiling the file ecos.cc.
1245         * ecos.cc: new file.
1246         * acinclude.m4: add C++ support.
1247         * aclocal.m4: likewise
1248         * config.h: add eCos support.
1249         * configure: likewise
1250         * configure.in: likewise
1251         * misc.c (GC_write): add eCos support.
1252         * os_dep.c (tiny_sbrk): add eCos support.
1253
1254 Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
1255
1256         * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
1257         * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
1258
1259 1998-11-23  Tom Tromey  <tromey@cygnus.com>
1260
1261         * configure.host (boehm_gc_cflags): Don't add `-O2'.
1262
1263 1998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
1264
1265         * Makefile.am, Makefile.in, configure.host: tx39 build option
1266         "-G 0" added.
1267
1268 1998-11-17  Tom Tromey  <tromey@cygnus.com>
1269
1270         * configure: Rebuilt.
1271         * configure.in: Switch on host, not target.
1272
1273 1998-11-16  Tom Tromey  <tromey@cygnus.com>
1274
1275         * gc_priv.h (GC_debug_object_start): Declare.
1276         * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
1277         * gc.h (GC_debug_register_finalizer_no_order,
1278         GC_register_finalizer_no_order): Declare.
1279         (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
1280         * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
1281         (GC_debug_generic_malloc): Likewise.
1282         (GC_debug_object_start): new function.
1283
1284 1998-11-11  Tom Tromey  <tromey@cygnus.com>
1285
1286         * configure: Rebuilt.
1287         * configure.in: Recognize --enable-java-gc, not --enable-gc.
1288
1289 Tue Nov  3 18:01:12 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1290
1291         * dyn_load.c: Handle QUICK_THREADS case.
1292
1293 1998-10-21  Tom Tromey  <tromey@cygnus.com>
1294
1295         * configure: Rebuilt.
1296         * configure.in: Put cpp defines here, not in config.h.  Recognize
1297         --enable-threads.  Set INCLUDES.  Create boehm-cflags file.  Don't
1298         define PACKAGE or VERSION.
1299         * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
1300         Don't define.
1301
1302         * os_dep.c (GC_default_push_other_roots): Define when
1303         QUICK_THREADS defined.
1304         * misc.c: Added QUICK_THREADS case.
1305         * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
1306         * config.h (THREADS): Define if QUICK_THREADS defined.
1307         * Makefile.in: Rebuilt.
1308         * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
1309         quick_threads.c.
1310         * quick_threads.c: New file.
1311
1312 1998-10-20  Tom Tromey  <tromey@cygnus.com>
1313
1314         * aclocal.m4, configure: Rebuilt.
1315         * acinclude.m4: Don't subst machine_dir or sys_dir.
1316         * configure.host: Removed unused code.
1317
1318 Sun Oct 11 08:18:02 1998  Anthony Green  <green@cygnus.com>
1319
1320         * configure: Rebuilt.
1321         * configure.in: Fix typo in previous patch.
1322
1323 Sun Oct 11 08:06:11 1998  Anthony Green  <green@cygnus.com>
1324
1325         * Makefile.in, aclocal.m4, configure: Rebuilt.
1326         * Makefile.am, acinclude.m4, configure.in: Add multilib support.
1327         * configure.host: Created.
1328
1329 Tue Sep  1 10:58:15 1998  Tom Tromey  <tromey@cygnus.com>
1330
1331         * Makefile.in: Rebuilt.
1332         * Makefile.am (lib_LIBRARIES): Use target_all.
1333         (EXTRA_LIBRARIES): New macro.
1334         * configure: Rebuilt.
1335         * configure.in: Recognize --enable-gc.
1336
1337 Thu Aug 13 10:52:45 1998  Tom Tromey  <tromey@cygnus.com>
1338
1339         * Makefile.in: Rebuilt.
1340         * Makefile.am (COMPILE): Define.
1341         (LINK): Likewise.
1342         (.s.o): Use MY_CFLAGS.
1343         * configure: Rebuilt.
1344         * configure.in (MY_CFLAGS): Define and subst.
1345
1346 Wed Aug 12 11:41:43 1998  Tom Tromey  <tromey@cygnus.com>
1347
1348         * configure: Rebuilt.
1349         * configure.in: Added --with-cross-host argument.  Use
1350         $with_cross_host to determine when cross-compiling.
1351
1352         * config.h (SMALL_CONFIG): Don't define.
1353         * configure: Rebuilt.
1354         * configure.in: Define SMALL_CONFIG when cross-compiling.
1355
1356 Tue Aug 11 11:41:25 1998  Tom Tromey  <tromey@cygnus.com>
1357
1358         * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
1359         allchblk.c: Merged with 4.13a2 while preserving local changes.
1360
1361         * Makefile.orig: Updated from Makefile in 4.13a2.
1362
1363         * configure: Rebuilt.
1364         * configure.in: Updated version number to 4.13a2.  On Solaris,
1365         don't build with -O when using gcc.
1366
1367         Merged in version 4.13alpha2:
1368         * config.h (USE_MMAP): Re-enable on Solaris.
1369         * solaris_pthreads.c: Removed RCS Id line.
1370         * alpha_mach_dep.s: Removed RCS Id line.
1371
1372 Wed Jul 22 15:38:12 1998  Tom Tromey  <tromey@cygnus.com>
1373
1374         * config.h (USE_MMAP): Don't define for Solaris.
1375
1376 Wed Jun 10 12:51:41 1998  Tom Tromey  <tromey@cygnus.com>
1377
1378         * Makefile.in: Rebuilt.
1379         * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1380
1381         * Makefile.in: Rebuilt.
1382         * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1383
1384 Thu May 14 15:32:58 1998  Tom Tromey  <tromey@cygnus.com>
1385
1386         * Makefile.in: Rebuilt.
1387         * Makefile.am ($(all_objs)): Depend on config.h.
1388
1389         * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1390         DATASTART as &_etext.
1391         * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1392         * configure: Rebuilt.
1393         * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1394         tx39.
1395
1396 Tue May 12 13:15:45 1998  Tom Tromey  <tromey@cygnus.com>
1397
1398         * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1399         (GC_maybe_gc): Likewise.
1400         * os_dep.c: If NO_SIGSET defined, then have empty
1401         GC_disable_signals and GC_enable_signals.
1402         * configure: Rebuilt.
1403         * configure.in: Added --with-target-subdir option.  If
1404         cross-compiling, define NO_SIGSET and NO_CLOCK.
1405
1406 Wed May  6 16:40:28 1998  Tom Tromey  <tromey@cygnus.com>
1407
1408         * Makefile.in: Rebuilt.
1409         * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1410         (AS): Removed.
1411         * aclocal.m4, configure: Rebuilt.
1412         * acinclude.m4: New file.
1413         * configure.in: Don't run AM_EXEEXT.  Use LIB_AC_PROG_CC.
1414
1415 Thu Apr 30 14:51:12 1998  Tom Tromey  <tromey@cygnus.com>
1416
1417         * configure: Rebuilt.
1418         * configure.in: Link boehm-config.h to config.h.
1419         * Makefile.in: Rebuilt.
1420         * Makefile.am (INCLUDES): Removed.
1421         * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1422         JAVA_FINALIZATION): Define
1423
1424 Wed Apr 29 11:03:14 1998  Tom Tromey  <tromey@cygnus.com>
1425
1426         * Many files: Use GC_bool, not bool.
1427         * gc_priv.h: Define GC_bool, not bool.
1428
1429         * misc.c (GC_dont_gc): Define as int.
1430         (GC_quiet): Likewise.
1431         * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1432         * alloc.c (GC_dont_expand): Define as int.
1433         * gc_priv.h: For gcc, define bool as char.
1434
1435 Tue Apr 28 22:44:16 1998  Tom Tromey  <tromey@cygnus.com>
1436
1437         * Makefile.in: Rebuilt.
1438         * Makefile.am (check_PROGRAMS): New macro.
1439         (gctest_SOURCES): Likewise.
1440         (gctest_LDADD): Likewise.
1441
1442 Mon Apr 27 23:53:24 1998  Tom Tromey  <tromey@cygnus.com>
1443
1444         * Makefile.in: Rebuilt.
1445         * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1446         * configure: Rebuilt.
1447         * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1448
1449 Wed Apr 15 11:40:56 1998  Tom Tromey  <tromey@sanguine.cygnus.com>
1450
1451         * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1452         New files.
1453         * Makefile.orig: Renamed from Makefile.