OSDN Git Service

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