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