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