OSDN Git Service

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