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