OSDN Git Service

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