OSDN Git Service

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