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