OSDN Git Service

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