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