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