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