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