OSDN Git Service

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