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