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