OSDN Git Service

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