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