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