OSDN Git Service

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