OSDN Git Service

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