irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
[gcc.git] / boehm-gc / ChangeLog
1 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com>
2
3 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
4 (GC_pthread_create): Fix typo.
5 (GC_TRY_LOCK): Likewise.
6 * include/private/gc_locks.h (GC_test_and_set): Only take one
7 one argument.
8 (LOCK): Adjust appropriately.
9 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
10 _SIGRTMIN is unavailable.
11
12 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13
14 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15 * aclocal.m4: Regenerate.
16 * configure: Regenerate.
17
18 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
19
20 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
21 script entry, and set LD to it when configuring multilibs.
22 * configure: Rebuilt.
23
24 2002-04-22 Jeff Sturm <jsturm@one-point.com>
25
26 * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
27 (noinst_LTLIBRARIES): Add libgcjgc.la.
28
29 * Makefile.in: Rebuild.
30
31 2002-04-22 David S. Miller <davem@redhat.com>
32
33 * include/private/gcconfig.h: Hard-code STACKBOTTOM on
34 64-bit SPARC Linux, the __libc_stack_end technique does
35 not work in this case.
36
37 2002-04-22 Jeff Sturm <jsturm@one-point.com>
38
39 * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
40
41 2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
42
43 * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
44 SPARC Linux.
45
46 2002-04-09 Loren J. Rittle <ljrittle@acm.org>
47
48 * include/private/gcconfig.h (DATAEND): Update comment example
49 to match reality.
50
51 2002-04-08 Loren J. Rittle <ljrittle@acm.org>
52
53 * include/private/gcconfig.h (DATAEND): Clarify comment.
54
55 2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
56
57 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
58 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
59 declare.
60 * allchblk.c (GC_allchblk_nth): Change text and support reduced
61 frequency for blacklist warning message.
62 * misc.c (GC_large_alloc_warn_interval,
63 GC_large_alloc_warn_suppressed): define.
64 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
65 GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
66 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
67 (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
68
69 * dyn_load.c (_DYNAMIC): Move declaration to file scope.
70
71 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
72
73 * include/private/gcconfig.h: Add support for an unmapped
74 memory hole between the end of the initialized data segment
75 and the start of the BSS on FreeBSD/i386.
76
77 2002-03-30 Krister Walfridsson <cato@df.lth.se>
78
79 * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
80 NetBSD/i386.
81
82 2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
83
84 * linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
85 (GC_local_gcj_malloc): Add assertion.
86 (start_mark_threads): Fix abort message.
87 * mark.c (GC_mark_from): Generalize assertion.
88 * reclaim.c (GC_clear_fl_links): New function.
89 (GC_start_reclaim): Must clear some freelist links.
90 * include/private/specific.h, specific.c: Add assertions.
91 Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
92 Rearrange tse fields.
93
94 2002-03-27 Richard Henderson <rth@redhat.com>
95
96 * os_dep.c (GC_init_linux_data_start): Fix references to
97 __data_start and _end.
98
99 2002-03-25 Loren J. Rittle <ljrittle@acm.org>
100
101 * include/private/gcconfig.h: Change all likely references
102 to linker script synthesized symbols to use this idiom:
103 extern int etext[]; etext
104
105 2002-03-25 Jeff Sturm <jsturm@one-point.com>
106
107 * linux_threads.c (GC_get_nprocs): Close file descriptor.
108
109 2002-03-21 Loren J. Rittle <ljrittle@acm.org>
110
111 * include/private/gcconfig.h: Add unified test for FreeBSD.
112 Support FreeBSD/alpha.
113 * os_dep.c: Do not include <machine/trap.h> unless available.
114 (GC_freebsd_stack_base): Fix types.
115
116 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
117
118 * Makefile.am: Make a convenience library.
119 * Makefile.in: Rebuilt.
120
121 2002-03-15 Anthony Green <green@redhat.com>
122
123 * misc.c (GC_init_inner): Initialize GC_write_cs before use.
124 * configure.in: Disable use of getenv for win32 targets (some of
125 which have broken implementations).
126 * configure: Rebuilt.
127
128 2002-03-12 Adam Megacz <adam@xwt.org>
129
130 * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
131 * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
132 * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
133 statically initialized it to TRUE if compiling with GCC.
134 * win32_threads.c (thread_start): We no longer use SEH if
135 compiling with GCC.
136 * mark.c (GC_mark_some): We no longer use SEH if
137 compiling with GCC.
138
139 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
140
141 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
142 support is enabled, for hash synchronization.
143
144 2002-02-24 Adam Megacz <adam@xwt.org>
145
146 * Makefile.am: Added win32_threads.c to sources list.
147 * win32_threads.c: Added two */'s which I had neglected.
148
149 2002-02-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
150
151 * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
152 * Makefile.in: Rebuilt.
153
154 2002-02-13 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
155
156 * dbg_mlc.c (GC_debug_generic_malloc): Removed.
157
158 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
159 preprocessor file.
160 * mips_sgi_mach_dep.S: Likewise.
161 * Makefile.am: Update for above changes.
162 * Makefile.in: Rebuilt.
163
164 2002-02-12 Richard Henderson <rth@redhat.com>
165
166 * configure.in: Re-apply 2001-06-26 configure change.
167 * configure: Rebuild.
168
169 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
170
171 Imported GC 6.1 Alpha 3.
172
173 * sparc_mach_dep.S: Delete incorrectly named file.
174
175 2001-02-11 Adam Megacz <adam@xwt.org
176
177 * configure.in: support for win32, saner
178 cross-compile options
179
180 2001-02-08 Anthony Green <green@redhat.com>
181
182 * include/private/gcconfig.h: Add XSCALE NOSYS support for bare
183 board embedded targets.
184 * os_dep.c: Avoid signal handling code for NOSYS/ECOS targets.
185 Use GC_get_stack_base for NOSYS/ECOS targets. Clean up some
186 redundant uses of ECOS.
187 * misc.c: Use NOSYS where ECOS is being used.
188 Don't define GC_write twice for ECOS systems.
189 (GC_write): New function for NOSYS targets.
190
191 2002-02-06 Adam Megacz <adam@xwt.org>
192
193 * boehm-gc/include/gc.h: (GC_CreateThread) This function is
194 now exposed on all Win32 platforms.
195 * boehm-gc/win32_threads.c: (GC_CreateThread) This now
196 compiles on Win32; it invokes CreateThread() if GC is built
197 as a DLL; otherwise it registers the thread.
198 * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
199 libgcjgc was not built as a DLL.
200
201 2002-02-01 Adam Megacz <adam@xwt.org>
202
203 * boehm-gc on win32 now automatically detects if it is being built
204 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
205
206 2002-01-25 David Edelsohn <edelsohn@gnu.org>
207
208 * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
209 * include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
210 Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
211 DATASTART and DATAEND roots.
212 * rs6000_mach_dep.s: Add function descriptor and traceback table.
213
214 2001-12-16 Jeff Sturm <jsturm@one-point.com>
215
216 * dyn_load.c: Define ElfW (if needed) for all targets,
217 not just GNU/Linux.
218 (GC_FirstDLOpenedLinkMap): Use it.
219 (GC_register_dynamic_libraries_dl): Use it.
220 * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
221 for sparcv9.
222
223 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
224
225 PR other/3725
226 * configure.in: Add AC_SUBST(target_alias).
227 * configure: Regenerated.
228
229 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
230
231 * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
232 case for GC_FREEBSD_THREADS.
233 * configure.in (*-*-freebsd*): Clarify warning.
234 * configure: Rebuilt.
235
236 2001-10-23 Loren J. Rittle <ljrittle@acm.org>
237 Andreas Tobler <toa@pop.agri.ch>
238
239 * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
240
241 2001-10-22 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
242
243 * linux_threads.c (GC_init_parallel): Do not declare as a static
244 constructor.
245 * include/gc.h (GC_init): Declare here. Add description.
246 * include/private/gc_priv.h (GC_init): Remove declaration.
247
248 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
249
250 * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
251 * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
252 GC_FREEBSD_THREADS, handle strange interaction between system
253 pthread implementation and boehm-gc signal-handler architecture.
254 * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
255 set stack.
256 * include/private/gcconfig.h (configuration keyed off FREEBSD):
257 Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
258 MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
259
260 2001-10-16 Loren J. Rittle <ljrittle@acm.org>
261
262 * Makefile.am (test.o): Find tests/test.c in $(srcdir).
263 * Makefile.in: Rebuilt.
264
265 2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
266
267 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and
268 merged local changes.
269
270 2001-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
271
272 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
273 Solaris 2/Intel definition.
274
275 * configure.in (i?86-*-solaris2.[89]*): Define
276 SOLARIS25_PROC_VDB_BUG_FIXED.
277 * include/private/gcconfig.h [I386 && SUNOS5]: Use it.
278 * configure: Regenerate.
279
280 * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
281 (DATAEND): Define using _end.
282
283 2001-09-11 Per Bothner <per@bothner.com>
284
285 * include/Makefile.am: New file. It defines include_HEADERS.
286 * Makefile.am (SUBDIRS): New macro, set to include.
287 * configure.in (AC_OUTPUT): Add include/Makefile.
288
289 2001-08-20 Tom Tromey <tromey@redhat.com>
290
291 * configure: Rebuilt.
292 * configure.in: Always ask gcc for threads package.
293
294 2001-08-17 Tom Tromey <tromey@redhat.com>
295
296 * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
297 merged local changes.
298
299 2001-08-02 David Billinghurst <David.Billinghurst>
300
301 * configure: Rebuilt.
302 * configure.in: POSIX threads on cygwin does not link with
303 -lpthreads.
304
305 2001-07-03 Tom Tromey <tromey@redhat.com>
306
307 Fix for PR bootstrap/3281:
308 * aclocal.m4, configure, Makefile.in: Rebuilt.
309 * acinclude.m4: Set mkinstalldirs for in-tree build.
310
311 2001-06-26 Richard Henderson <rth@redhat.com>
312
313 * alpha_mach_dep.s: Mark call-saved FP registers.
314 * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
315 * configure.in (alpha*): Re-enable alpha_mach_dep.s
316 * configure: Rebuild.
317
318 2001-06-12 Tom Tromey <tromey@redhat.com>
319
320 * aclocal.m4, configure: Rebuilt.
321 * acinclude.m4: Find configure.host in srcdir.
322
323 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
324
325 * configure.in (AC_EXEEXT): Work around in case it expands to
326 nothing, as in autoconf 2.50.
327 * acinclude.m4: Likewise.
328 * aclocal.m4, configure: Rebuilt.
329
330 2001-06-07 Tom Tromey <tromey@redhat.com>
331
332 For PR bootstrap/3075:
333 * configure, aclocal.m4, Makefile.in: Rebuilt.
334 * configure.in: Don't call AC_CONFIG_AUX_DIR or
335 AC_CANONICAL_SYSTEM.
336 * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
337 AC_CANONICAL_SYSTEM here.
338 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
339 boehm_gc_basedir.
340
341 2001-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
342
343 * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
344 (libgcjgc_la_SOURCES): Remove typo.
345 * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
346 * Makefile.in: Rebuilt.
347
348 2001-05-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
349
350 Imported version version 6.0alpha7.
351
352 * README, README.Mac, README.OS2, README.QUICK, README.alpha,
353 README.amiga, README.debugging, README.dj, README.hp, README.linux,
354 README.rs6000, README.sgi, README.solaris2, README.uts,
355 README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
356 dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
357 gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
358 hpux_irix_threads.c, makefile.depend, nursery.c,
359 solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
360 cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
361 cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
362 include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
363 files.
364
365 2001-05-19 Hans Boehm <hans_boehm@hp.com>
366
367 * configure.host: Build with -fexceptions.
368 * linux_threads.c: Remember which thread stopped world for
369
370 2001-05-04 Loren J. Rittle <ljrittle@acm.org>
371 with final tuning by Bryce McKinlay
372
373 * configure.in: Add support for --enable-threads=posix on FreeBSD.
374 * configure: Rebuilt.
375
376 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
377
378 * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
379 (GC_noop1): Change declaration to take one argument.
380
381 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
382
383 * configure.in: Obtain THREADS with `gcc -v'.
384 * configure: Rebuilt.
385
386 2001-04-05 Hans Boehm <hans_boehm@hp.com>
387
388 * misc.c: Back out buggy changes to stack clearing code.
389 Reduce CLEAR_SIZE to 1/4 of original value to reduce time
390 spent clearing memory.
391
392 2001-04-04 Hans Boehm <hans_boehm@hp.com>
393
394 * finalize.c:
395 - Accomodate finalization requests for static objects.
396 (Will be required by hash synchronization. May be needed
397 in some configurations now.)
398
399 * gc_priv.h:
400 - Define MIN_WORDS. All allocation requests are rounded
401 up to at least this size. Removes a subtle assumption that
402 Java objects have a 2 word header.
403
404 * gcconfig.h:
405 - Adjust Linux/IA64 configuration for non-ancient kernels.
406 (Necessary fix for IA64.)
407
408 * linux_threads.c:
409 - Fix syntax error in currently unused code. Will be needed
410 for Linux/PA-RISC.
411
412 * malloc.c:
413 - Handle MIN_WORDS.
414
415 * misc.c:
416 - Handle MIN_WORDS.
417 - Change stack cleaning code to typically clear about one tenth
418 the memory it used to in the threads configuration. Occasionally
419 still clear more. (This is really a fix for a long-standing
420 and fairly significant performance bug with threads.)
421
422 * os_dep.c:
423 - Fix the code for finding the beginning of the data segment under
424 Linux. I believe this is necessary for some IA64 Linux
425 distributions. It will also helo other platforms, though those
426 may additionally require a gcconfig.h adjustment. (This basically
427 works around the absence of a data_start or __data_start
428 definition in glibc.)
429
430 * test.c:
431 - Handle rounding due to MIN_WORDS.
432
433 2001-03-22 Tom Tromey <tromey@redhat.com>
434
435 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
436
437 2001-03-19 Tom Tromey <tromey@redhat.com>
438
439 * Makefile.in: Rebuilt.
440 * Makefile.am (gctest_LDFLAGS): new macro.
441
442 2001-03-16 Tom Tromey <tromey@redhat.com>
443
444 * Makefile.in: Rebuilt.
445 * Makefile.am (TESTS_ENVIRONMENT): New macro.
446
447 2001-01-23 Rod Stewart <stewart@lab43.org>
448
449 * gcconfig.h: Check for `__arm__', not `arm'.
450
451 2000-12-30 Bryce McKinlay <bryce@albatross.co.nz>
452
453 * configure.in: Rename THREADLIB to THREADLIBS.
454 * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
455 ensures that we link the correct version of the linuxthreads semaphore
456 functions.
457 * Makefile.in: Rebuilt.
458 * configure: Rebuilt.
459
460 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
461 list of signals which are not blocked during suspend in the NO_SIGNALS
462 case.
463
464 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>
465
466 * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
467
468 2000-12-15 Bryce McKinlay <bryce@albatross.co.nz>
469
470 * Makefile.dist: Renamed from Makefile.orig.
471
472 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
473
474 * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
475 * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
476 set accordingly.
477 * Makefile.in: Rebuilt.
478 * configure: Likewise.
479
480 2000-12-10 Geoffrey Keating <geoffk@redhat.com>
481
482 * gcconfig.h: Add new case for powerpc EABI.
483 [PPC]: Handle embedded OS for powerpc simulator.
484
485 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>
486
487 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
488 cross-compile configuration only.
489 * Makefile.am: Build gcj_mlc.c.
490 * configure, Makefile.in: Rebuilt.
491
492 2000-09-10 Alexandre Oliva <aoliva@redhat.com>
493
494 * acinclude.m4: Include libtool macros from the top level.
495 * aclocal.m4, configure: Rebuilt.
496
497 2000-09-04 Anthony Green <green@redhat.com>
498
499 Fix for PR libgcj/230:
500 * mark.c (GC_mark_from_mark_stack): Remove call to
501 GC_debug_object_start.
502 * gc_priv.h (GC_debug_object_start): Remove prototype.
503
504 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
505
506 * gcconfig.h [OSF1] (_end): Declare as `int'.
507
508 2000-08-02 Tom Tromey <tromey@cygnus.com>
509
510 * gc_priv.h (GC_generic_malloc_inner): Prototype.
511 (GC_generic_malloc): Likewise.
512 (GC_add_to_black_list_normal): Likewise.
513 (GC_find_header): Likewise.
514 (GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
515 * gc_mark.h (GC_find_start): Prototype.
516 (GC_signal_mark_stack_overflow): Likewise.
517
518 2000-07-24 Alexandre Oliva <aoliva@redhat.com>
519
520 * configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
521 * configure: Rebuilt.
522
523 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
524
525 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
526
527 Imported version 5.1.
528 * acinclude.m4: Push version to 5.1.
529
530 2000-06-19 Andrew Haley <aph@cygnus.com>
531
532 * os_dep.c (read): Pass two dummy args to syscall().
533
534 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
535
536 Imported 5.0 release version.
537 * acinclude.m4: Increment version to 5.0.
538
539 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>
540
541 Imported version 5.0alpha7.
542 * acinclude.m4: Update version to 5.0a7.
543
544 2000-04-26 Jakub Jelinek <jakub@redhat.com>
545
546 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
547 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
548 - sparc glibc does not provide it.
549 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
550 Make STACKBOTTOM depend on the wordsize.
551 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
552 (struct frame): Declare on sparc*-linux*.
553 (GC_save_callers): Bias the frame pointers if needed (sparc64).
554 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
555 Implement on sparc64.
556 (GC_clear_stack_inner): Implement on sparc64.
557 * gc_priv.h (GC_test_and_set): Implement for sparc.
558 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
559 GC_save_regs_in_stack on sparc.
560
561 2000-04-23 Tom Tromey <tromey@cygnus.com>
562
563 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
564
565 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
566
567 Imported version version 5.0alpha6.
568 * acinclude.m4: Bump version to 5.0a6.
569 * configure.in: Don't use alpha_mach_dep.s.
570 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
571 obsolete files.
572 * Makefile.am, Makefile.in: irix_threads.c is now
573 hpux_irix_threads.c.
574 * Makefile.orig: Updated from gc distribution Makefile.
575
576 2000-03-26 Anthony Green <green@redhat.com>
577
578 * misc.c (GC_enable): Always define GC_enable and GC_disable.
579
580 2000-02-14 Tom Tromey <tromey@cygnus.com>
581
582 * gc.h (dlopen): Define as GC_dlopen on Linux.
583 (GC_dlopen): Declare on Linux.
584 * dyn_load.c (GC_dlopen): Define for Linux.
585
586 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
587
588 * gcconfig.h (DATASTART): Add missing extern declaration
589 for data_start on powerpc.
590
591 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
592
593 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
594 NO_SIGNALS case.
595
596 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
597
598 * gcconfig.h: Define DATASTART for Alpha Linux.
599
600 1999-12-19 Anthony Green <green@cygnus.com>
601
602 * gcconfig.h: Use libgcj hack for Alpha Linux.
603 Undefine MPROTEXT_VDB (from Jeff Sturm).
604 * os_dep.c: Remove Alpha Linux hacks.
605 * misc.c: Ditto.
606
607 1999-12-13 Tom Tromey <tromey@cygnus.com>
608
609 * aclocal.m4, configure: Rebuilt.
610 * acinclude.m4: Changed version to 5.0a4.
611 * Makefile.in: Rebuilt.
612 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
613
614 1999-12-12 Anthony Green <green@cygnus.com>
615
616 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
617 Linux.
618 (DYNAMIC_LOADING): Define for PowerPC Linux.
619 * os_dep.c: Remove some special cases for PowerPC Linux.
620 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
621 for PowerPC Linux.
622
623 1999-11-04 Tom Tromey <tromey@cygnus.com>
624
625 * Makefile.in: Rebuilt.
626 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
627
628 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
629 (GC_thr_init): Don't declare.
630
631 * configure: Rebuilt.
632 * configure.in: Removed qt threads case.
633 * dyn_load.c: Don't mention QUICK_THREADS.
634 * os_dep.c: Don't mention QUICK_THREADS.
635 * misc.c: Don't mention QUICK_THREADS.
636 * gcconfig.h: Don't mention QUICK_THREADS.
637 * gc_priv.h: Removed QUICK_THREADS code.
638 * quick_threads.c: Removed.
639
640 1999-11-03 Tom Tromey <tromey@cygnus.com>
641
642 * gcconfig.h: Merged in local changes from old config.h.
643
644 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
645
646 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
647
648 1999-11-02 Tom Tromey <tromey@cygnus.com>
649
650 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
651
652 * configure: Rebuilt.
653 * configure.in: Don't create boehm-config.h.
654 * Makefile.in: Rebuilt.
655 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
656 config.h.
657 ($(all_objs)): Depend on gcconfig.h.
658 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
659 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
660 * config.h: Removed.
661
662 1999-11-01 Tom Tromey <tromey@cygnus.com>
663
664 * Makefile.in: Rebuilt.
665 * Makefile.am (gctest_LDADD): Added THREADLIB.
666 (TESTS): New macro.
667 * configure: Rebuilt.
668 * configure.in (INCLUDES): New subst.
669
670 1999-09-29 Steve Chamberlain <sac@pobox.com>
671
672 * config.h: Added picoJava target.
673 * mach_dep.h (GC_push_regs): New code for picoJava.
674
675 1999-09-28 Tom Tromey <tromey@cygnus.com>
676
677 * aclocal.m4, configure: Rebuilt.
678 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
679 appropriate AC_PROG_ symbol.
680
681 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
682
683 * gc_priv.h: IRIX thread changes from
684 include/private/gc_priv.h.
685
686 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
687
688 * Makefile.in: Rebuilt.
689 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
690 builds.
691
692 * configure: Rebuilt.
693 * configure.in: Properly align --help output, fix capitalization
694 and punctuation.
695 * acinclude.m4: Likewise.
696
697 1999-08-04 Tom Tromey <tromey@cygnus.com>
698
699 * configure.in: Added missing `;;'. From Anthony Green.
700
701 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
702
703 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
704
705 1999-08-03 Tom Tromey <tromey@cygnus.com>
706
707 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
708 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
709
710 1999-08-02 Tom Tromey <tromey@cygnus.com>
711
712 * aclocal.m4, configure: Rebuilt for new libtool.
713
714 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
715
716 * mips_sgi_mach_dep.s: Enable PIC option.
717
718 1999-07-19 Tom Tromey <tromey@cygnus.com>
719
720 * config.h (MPROTECT_VDB): Don't define on Linux.
721
722 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
723
724 * Makefile.am (.s.lo): Avoid `#line' directives.
725 * Makefile.in: Rebuilt.
726
727 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
728
729 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
730 generate *-recursive for this Makefile, use *-am instead.
731 * Makefile.in: Rebuilt.
732
733 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
734
735 * Makefile.am (.s.lo): Renamed from `.s.o'.
736 * Makefile.in: Rebuilt.
737
738 1999-06-21 Tom Tromey <tromey@cygnus.com>
739
740 Alpha patch from Jeff Sturm:
741 * os_dep.c (GC_init_linuxalpha): New function.
742 * misc.c: Initialize for alpha linux.
743 * gc_priv.h (GC_test_and_set): Define for alpha.
744 * config.h: Don't assume __data_start on alpha.
745
746 * Makefile.in: Rebuilt.
747 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
748 -release.
749
750 * Makefile.in: Rebuilt.
751 * Makefile.am (toolexeclibdir): Define as libdir when
752 appropriate.
753 * configure: Rebuilt.
754 * configure.in (USE_LIBDIR): New conditional.
755
756 * configure: Rebuilt.
757 * configure.in: Recognize all forms of alpha.
758
759 1999-06-17 Anthony Green <green@cygnus.com>
760
761 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
762 Carlo Dapor <carlo@vis.ethz.ch>).
763
764 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
765
766 * configure.in: Switch from irix threads to posix threads
767 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
768 for mips architecture.
769 * configure: Regenerate.
770
771 1999-04-30 Tom Tromey <tromey@cygnus.com>
772
773 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
774
775 1999-04-26 Tom Tromey <tromey@cygnus.com>
776
777 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
778 `weak'.
779
780 1999-04-23 Tom Tromey <tromey@cygnus.com>
781
782 * Makefile.in, configure: Rebuilt.
783 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
784 (libgcjgc_la_SOURCES): Renamed.
785 (libgcjgc_la_LIBADD): Likewise.
786 (libgcjgc_la_DEPENDENCIES): Likewise.
787 (EXTRA_libgcjgc_la_SOURCES): Likewise.
788 (gctest_LDADD): Use libgcjgc.la.
789 (all_objs): Mention libgcj_la_OBJECTS.
790 (EXTRA_LTLIBRARIES): Renamed.
791 (toollib_LTLIBRARIES): Likewise.
792 (libgcjgc_la_LDFLAGS): New macro
793 (toolexecdir): Renamed.
794 (toolexeclibdir): Likewise.
795 (toolexeclib_LTLIBRARIES): Likewise.
796 (LTCOMPILE): Renamed; added libtool invocation.
797 (LINK): Added libtool invocation.
798 (.s.o): use LTCOMPILE.
799 * configure.in: Call AM_PROG_LIBTOOL.
800 (target_all): Set to libgcjgc.la.
801 Mention `.lo' forms of object files.
802
803 1999-04-21 Tom Tromey <tromey@cygnus.com>
804
805 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
806 GC_stackbottom.
807
808 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
809 sigcontext.h. From Matthias Klose <doko@itso.de>.
810
811 1999-04-16 Tom Tromey <tromey@cygnus.com>
812
813 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
814 David Pettersson <dapet@mai.liu.se>
815
816 1999-04-14 Tom Tromey <tromey@cygnus.com>
817
818 * configure: Rebuilt.
819 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
820 incorrect patch of 199-04-09.
821
822 * configure: Rebuilt.
823 * configure.in: Added support for alpha.
824 From David Pettersson <dapet@mai.liu.se>.
825
826 1999-04-13 Tom Tromey <tromey@cygnus.com>
827
828 * Makefile.in: Rebuilt.
829 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
830 solaris-threads.h.
831
832 1999-04-09 Tom Tromey <tromey@cygnus.com>
833
834 * configure: Rebuilt.
835 * configure.in: Use sparc_mach_dep.s when building on Solaris.
836
837 1999-02-23 Tom Tromey <tromey@cygnus.com>
838
839 * configure: Rebuilt.
840 * configure.in: For Linux, define _REENTRANT. For Solaris, define
841 SOLARIS_THREADS and _SOLARIS_PTHREADS.
842
843 1999-02-18 Tom Tromey <tromey@cygnus.com>
844
845 * quick_threads.c (GC_push_all_stacks): Change order of arguments
846 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
847 for case where LO is NULL.
848
849 1999-02-10 Tom Tromey <tromey@cygnus.com>
850
851 * aclocal.m4, configure, Makefile.in: Rebuilt.
852 * acinclude.m4: Updated to be used with automake 1.4.
853 * configure.in: Renamed libgc to libgcjgc. Updated to be used
854 with automake 1.4.
855 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
856 (libgcjgc_a_SOURCES): Likewise.
857 (libgcjgc_a_LIBADD): Likewise.
858 (libgcjgc_a_DEPENDENCIES): Likewise.
859 (EXTRA_libgcjgc_a_SOURCES): Likewise.
860 (gctest_LDADD): Likewise.
861 (all_objs): Likewise.
862
863 1999-01-08 Tom Tromey <tromey@cygnus.com>
864
865 * configure: Rebuilt.
866 * configure.in: Define LINUX_THREADS if using POSIX threads on
867 Linux.
868
869 * gc_priv.h (GC_test_and_set): Put return type into definition.
870
871 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
872
873 * Makefile.am: add support for eCos. In particular, add C++
874 support for compiling the file ecos.cc.
875 * ecos.cc: new file.
876 * acinclude.m4: add C++ support.
877 * aclocal.m4: likewise
878 * config.h: add eCos support.
879 * configure: likewise
880 * configure.in: likewise
881 * misc.c (GC_write): add eCos support.
882 * os_dep.c (tiny_sbrk): add eCos support.
883
884 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
885
886 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
887 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
888
889 1998-11-23 Tom Tromey <tromey@cygnus.com>
890
891 * configure.host (boehm_gc_cflags): Don't add `-O2'.
892
893 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
894
895 * Makefile.am, Makefile.in, configure.host: tx39 build option
896 "-G 0" added.
897
898 1998-11-17 Tom Tromey <tromey@cygnus.com>
899
900 * configure: Rebuilt.
901 * configure.in: Switch on host, not target.
902
903 1998-11-16 Tom Tromey <tromey@cygnus.com>
904
905 * gc_priv.h (GC_debug_object_start): Declare.
906 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
907 * gc.h (GC_debug_register_finalizer_no_order,
908 GC_register_finalizer_no_order): Declare.
909 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
910 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
911 (GC_debug_generic_malloc): Likewise.
912 (GC_debug_object_start): new function.
913
914 1998-11-11 Tom Tromey <tromey@cygnus.com>
915
916 * configure: Rebuilt.
917 * configure.in: Recognize --enable-java-gc, not --enable-gc.
918
919 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
920
921 * dyn_load.c: Handle QUICK_THREADS case.
922
923 1998-10-21 Tom Tromey <tromey@cygnus.com>
924
925 * configure: Rebuilt.
926 * configure.in: Put cpp defines here, not in config.h. Recognize
927 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
928 define PACKAGE or VERSION.
929 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
930 Don't define.
931
932 * os_dep.c (GC_default_push_other_roots): Define when
933 QUICK_THREADS defined.
934 * misc.c: Added QUICK_THREADS case.
935 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
936 * config.h (THREADS): Define if QUICK_THREADS defined.
937 * Makefile.in: Rebuilt.
938 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
939 quick_threads.c.
940 * quick_threads.c: New file.
941
942 1998-10-20 Tom Tromey <tromey@cygnus.com>
943
944 * aclocal.m4, configure: Rebuilt.
945 * acinclude.m4: Don't subst machine_dir or sys_dir.
946 * configure.host: Removed unused code.
947
948 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
949
950 * configure: Rebuilt.
951 * configure.in: Fix typo in previous patch.
952
953 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
954
955 * Makefile.in, aclocal.m4, configure: Rebuilt.
956 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
957 * configure.host: Created.
958
959 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
960
961 * Makefile.in: Rebuilt.
962 * Makefile.am (lib_LIBRARIES): Use target_all.
963 (EXTRA_LIBRARIES): New macro.
964 * configure: Rebuilt.
965 * configure.in: Recognize --enable-gc.
966
967 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
968
969 * Makefile.in: Rebuilt.
970 * Makefile.am (COMPILE): Define.
971 (LINK): Likewise.
972 (.s.o): Use MY_CFLAGS.
973 * configure: Rebuilt.
974 * configure.in (MY_CFLAGS): Define and subst.
975
976 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
977
978 * configure: Rebuilt.
979 * configure.in: Added --with-cross-host argument. Use
980 $with_cross_host to determine when cross-compiling.
981
982 * config.h (SMALL_CONFIG): Don't define.
983 * configure: Rebuilt.
984 * configure.in: Define SMALL_CONFIG when cross-compiling.
985
986 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
987
988 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
989 allchblk.c: Merged with 4.13a2 while preserving local changes.
990
991 * Makefile.orig: Updated from Makefile in 4.13a2.
992
993 * configure: Rebuilt.
994 * configure.in: Updated version number to 4.13a2. On Solaris,
995 don't build with -O when using gcc.
996
997 Merged in version 4.13alpha2:
998 * config.h (USE_MMAP): Re-enable on Solaris.
999 * solaris_pthreads.c: Removed RCS Id line.
1000 * alpha_mach_dep.s: Removed RCS Id line.
1001
1002 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
1003
1004 * config.h (USE_MMAP): Don't define for Solaris.
1005
1006 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
1007
1008 * Makefile.in: Rebuilt.
1009 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
1010
1011 * Makefile.in: Rebuilt.
1012 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
1013
1014 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
1015
1016 * Makefile.in: Rebuilt.
1017 * Makefile.am ($(all_objs)): Depend on config.h.
1018
1019 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
1020 DATASTART as &_etext.
1021 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
1022 * configure: Rebuilt.
1023 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
1024 tx39.
1025
1026 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
1027
1028 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
1029 (GC_maybe_gc): Likewise.
1030 * os_dep.c: If NO_SIGSET defined, then have empty
1031 GC_disable_signals and GC_enable_signals.
1032 * configure: Rebuilt.
1033 * configure.in: Added --with-target-subdir option. If
1034 cross-compiling, define NO_SIGSET and NO_CLOCK.
1035
1036 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
1037
1038 * Makefile.in: Rebuilt.
1039 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
1040 (AS): Removed.
1041 * aclocal.m4, configure: Rebuilt.
1042 * acinclude.m4: New file.
1043 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
1044
1045 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
1046
1047 * configure: Rebuilt.
1048 * configure.in: Link boehm-config.h to config.h.
1049 * Makefile.in: Rebuilt.
1050 * Makefile.am (INCLUDES): Removed.
1051 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
1052 JAVA_FINALIZATION): Define
1053
1054 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
1055
1056 * Many files: Use GC_bool, not bool.
1057 * gc_priv.h: Define GC_bool, not bool.
1058
1059 * misc.c (GC_dont_gc): Define as int.
1060 (GC_quiet): Likewise.
1061 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
1062 * alloc.c (GC_dont_expand): Define as int.
1063 * gc_priv.h: For gcc, define bool as char.
1064
1065 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
1066
1067 * Makefile.in: Rebuilt.
1068 * Makefile.am (check_PROGRAMS): New macro.
1069 (gctest_SOURCES): Likewise.
1070 (gctest_LDADD): Likewise.
1071
1072 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
1073
1074 * Makefile.in: Rebuilt.
1075 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
1076 * configure: Rebuilt.
1077 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
1078
1079 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
1080
1081 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
1082 New files.
1083 * Makefile.orig: Renamed from Makefile.
1084