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