OSDN Git Service

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