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