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