OSDN Git Service

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