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