OSDN Git Service

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