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