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