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