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