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