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