OSDN Git Service

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