Fixed ChangeLog merge snafu
[gcc.git] / boehm-gc / ChangeLog
1 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2
3 * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
4 (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
5 - sparc glibc does not provide it.
6 (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
7 Make STACKBOTTOM depend on the wordsize.
8 * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
9 (struct frame): Declare on sparc*-linux*.
10 (GC_save_callers): Bias the frame pointers if needed (sparc64).
11 * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
12 Implement on sparc64.
13 (GC_clear_stack_inner): Implement on sparc64.
14 * gc_priv.h (GC_test_and_set): Implement for sparc.
15 * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
16 GC_save_regs_in_stack on sparc.
17
18 2000-04-23 Tom Tromey <tromey@cygnus.com>
19
20 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
21
22 2000-04-19 Bryce McKinlay <bryce@albatross.co.nz>
23
24 Imported version version 5.0alpha6.
25 * acinclude.m4: Bump version to 5.0a6.
26 * configure.in: Don't use alpha_mach_dep.s.
27 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete
28 obsolete files.
29 * Makefile.am, Makefile.in: irix_threads.c is now
30 hpux_irix_threads.c.
31 * Makefile.orig: Updated from gc distribution Makefile.
32
33 2000-03-26 Anthony Green <green@redhat.com>
34
35 * misc.c (GC_enable): Always define GC_enable and GC_disable.
36
37 2000-02-14 Tom Tromey <tromey@cygnus.com>
38
39 * gc.h (dlopen): Define as GC_dlopen on Linux.
40 (GC_dlopen): Declare on Linux.
41 * dyn_load.c (GC_dlopen): Define for Linux.
42
43 Fri Jan 28 17:13:20 2000 Anthony Green <green@cygnus.com>
44
45 * gcconfig.h (DATASTART): Add missing extern declaration
46 for data_start on powerpc.
47
48 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>
49
50 * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
51 NO_SIGNALS case.
52
53 1999-12-19 Jeff Sturm <jsturm@sigma6.com>
54
55 * gcconfig.h: Define DATASTART for Alpha Linux.
56
57 1999-12-19 Anthony Green <green@cygnus.com>
58
59 * gcconfig.h: Use libgcj hack for Alpha Linux.
60 Undefine MPROTEXT_VDB (from Jeff Sturm).
61 * os_dep.c: Remove Alpha Linux hacks.
62 * misc.c: Ditto.
63
64 1999-12-13 Tom Tromey <tromey@cygnus.com>
65
66 * aclocal.m4, configure: Rebuilt.
67 * acinclude.m4: Changed version to 5.0a4.
68 * Makefile.in: Rebuilt.
69 * Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
70
71 1999-12-12 Anthony Green <green@cygnus.com>
72
73 * gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
74 Linux.
75 (DYNAMIC_LOADING): Define for PowerPC Linux.
76 * os_dep.c: Remove some special cases for PowerPC Linux.
77 * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
78 for PowerPC Linux.
79
80 1999-11-04 Tom Tromey <tromey@cygnus.com>
81
82 * Makefile.in: Rebuilt.
83 * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.
84
85 * misc.c (GC_init_inner): Don't call GC_init_linuxppc().
86 (GC_thr_init): Don't declare.
87
88 * configure: Rebuilt.
89 * configure.in: Removed qt threads case.
90 * dyn_load.c: Don't mention QUICK_THREADS.
91 * os_dep.c: Don't mention QUICK_THREADS.
92 * misc.c: Don't mention QUICK_THREADS.
93 * gcconfig.h: Don't mention QUICK_THREADS.
94 * gc_priv.h: Removed QUICK_THREADS code.
95 * quick_threads.c: Removed.
96
97 1999-11-03 Tom Tromey <tromey@cygnus.com>
98
99 * gcconfig.h: Merged in local changes from old config.h.
100
101 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
102
103 * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
104
105 1999-11-02 Tom Tromey <tromey@cygnus.com>
106
107 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
108
109 * configure: Rebuilt.
110 * configure.in: Don't create boehm-config.h.
111 * Makefile.in: Rebuilt.
112 * Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
113 config.h.
114 ($(all_objs)): Depend on gcconfig.h.
115 * gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
116 * gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
117 * config.h: Removed.
118
119 1999-11-01 Tom Tromey <tromey@cygnus.com>
120
121 * Makefile.in: Rebuilt.
122 * Makefile.am (gctest_LDADD): Added THREADLIB.
123 (TESTS): New macro.
124 * configure: Rebuilt.
125 * configure.in (INCLUDES): New subst.
126
127 1999-09-29 Steve Chamberlain <sac@pobox.com>
128
129 * config.h: Added picoJava target.
130 * mach_dep.h (GC_push_regs): New code for picoJava.
131
132 1999-09-28 Tom Tromey <tromey@cygnus.com>
133
134 * aclocal.m4, configure: Rebuilt.
135 * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
136 appropriate AC_PROG_ symbol.
137
138 Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
139
140 * gc_priv.h: IRIX thread changes from
141 include/private/gc_priv.h.
142
143 Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
144
145 * Makefile.in: Rebuilt.
146 * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
147 builds.
148
149 * configure: Rebuilt.
150 * configure.in: Properly align --help output, fix capitalization
151 and punctuation.
152 * acinclude.m4: Likewise.
153
154 1999-08-04 Tom Tromey <tromey@cygnus.com>
155
156 * configure.in: Added missing `;;'. From Anthony Green.
157
158 Mon Aug 2 23:09:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
159
160 * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
161
162 1999-08-03 Tom Tromey <tromey@cygnus.com>
163
164 * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
165 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
166
167 1999-08-02 Tom Tromey <tromey@cygnus.com>
168
169 * aclocal.m4, configure: Rebuilt for new libtool.
170
171 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
172
173 * mips_sgi_mach_dep.s: Enable PIC option.
174
175 1999-07-19 Tom Tromey <tromey@cygnus.com>
176
177 * config.h (MPROTECT_VDB): Don't define on Linux.
178
179 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
180
181 * Makefile.am (.s.lo): Avoid `#line' directives.
182 * Makefile.in: Rebuilt.
183
184 1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
185
186 * Makefile.am (*-recursive, *-am, *-multi): Automake does not
187 generate *-recursive for this Makefile, use *-am instead.
188 * Makefile.in: Rebuilt.
189
190 1999-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
191
192 * Makefile.am (.s.lo): Renamed from `.s.o'.
193 * Makefile.in: Rebuilt.
194
195 1999-06-21 Tom Tromey <tromey@cygnus.com>
196
197 Alpha patch from Jeff Sturm:
198 * os_dep.c (GC_init_linuxalpha): New function.
199 * misc.c: Initialize for alpha linux.
200 * gc_priv.h (GC_test_and_set): Define for alpha.
201 * config.h: Don't assume __data_start on alpha.
202
203 * Makefile.in: Rebuilt.
204 * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
205 -release.
206
207 * Makefile.in: Rebuilt.
208 * Makefile.am (toolexeclibdir): Define as libdir when
209 appropriate.
210 * configure: Rebuilt.
211 * configure.in (USE_LIBDIR): New conditional.
212
213 * configure: Rebuilt.
214 * configure.in: Recognize all forms of alpha.
215
216 1999-06-17 Anthony Green <green@cygnus.com>
217
218 * mach_dep.c (GC_push_regs): FreeBSD-elf support (from
219 Carlo Dapor <carlo@vis.ethz.ch>).
220
221 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
222
223 * configure.in: Switch from irix threads to posix threads
224 Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
225 for mips architecture.
226 * configure: Regenerate.
227
228 1999-04-30 Tom Tromey <tromey@cygnus.com>
229
230 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
231
232 1999-04-26 Tom Tromey <tromey@cygnus.com>
233
234 * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
235 `weak'.
236
237 1999-04-23 Tom Tromey <tromey@cygnus.com>
238
239 * Makefile.in, configure: Rebuilt.
240 * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la.
241 (libgcjgc_la_SOURCES): Renamed.
242 (libgcjgc_la_LIBADD): Likewise.
243 (libgcjgc_la_DEPENDENCIES): Likewise.
244 (EXTRA_libgcjgc_la_SOURCES): Likewise.
245 (gctest_LDADD): Use libgcjgc.la.
246 (all_objs): Mention libgcj_la_OBJECTS.
247 (EXTRA_LTLIBRARIES): Renamed.
248 (toollib_LTLIBRARIES): Likewise.
249 (libgcjgc_la_LDFLAGS): New macro
250 (toolexecdir): Renamed.
251 (toolexeclibdir): Likewise.
252 (toolexeclib_LTLIBRARIES): Likewise.
253 (LTCOMPILE): Renamed; added libtool invocation.
254 (LINK): Added libtool invocation.
255 (.s.o): use LTCOMPILE.
256 * configure.in: Call AM_PROG_LIBTOOL.
257 (target_all): Set to libgcjgc.la.
258 Mention `.lo' forms of object files.
259
260 1999-04-21 Tom Tromey <tromey@cygnus.com>
261
262 * misc.c (GC_init_inner): If QUICK_THREADS defined, compute
263 GC_stackbottom.
264
265 * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
266 sigcontext.h. From Matthias Klose <doko@itso.de>.
267
268 1999-04-16 Tom Tromey <tromey@cygnus.com>
269
270 * config.h (__start): Declare as `int' in alpha/OSF1 case. From
271 David Pettersson <dapet@mai.liu.se>
272
273 1999-04-14 Tom Tromey <tromey@cygnus.com>
274
275 * configure: Rebuilt.
276 * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
277 incorrect patch of 199-04-09.
278
279 * configure: Rebuilt.
280 * configure.in: Added support for alpha.
281 From David Pettersson <dapet@mai.liu.se>.
282
283 1999-04-13 Tom Tromey <tromey@cygnus.com>
284
285 * Makefile.in: Rebuilt.
286 * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
287 solaris-threads.h.
288
289 1999-04-09 Tom Tromey <tromey@cygnus.com>
290
291 * configure: Rebuilt.
292 * configure.in: Use sparc_mach_dep.s when building on Solaris.
293
294 1999-02-23 Tom Tromey <tromey@cygnus.com>
295
296 * configure: Rebuilt.
297 * configure.in: For Linux, define _REENTRANT. For Solaris, define
298 SOLARIS_THREADS and _SOLARIS_PTHREADS.
299
300 1999-02-18 Tom Tromey <tromey@cygnus.com>
301
302 * quick_threads.c (GC_push_all_stacks): Change order of arguments
303 to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check
304 for case where LO is NULL.
305
306 1999-02-10 Tom Tromey <tromey@cygnus.com>
307
308 * aclocal.m4, configure, Makefile.in: Rebuilt.
309 * acinclude.m4: Updated to be used with automake 1.4.
310 * configure.in: Renamed libgc to libgcjgc. Updated to be used
311 with automake 1.4.
312 * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc.
313 (libgcjgc_a_SOURCES): Likewise.
314 (libgcjgc_a_LIBADD): Likewise.
315 (libgcjgc_a_DEPENDENCIES): Likewise.
316 (EXTRA_libgcjgc_a_SOURCES): Likewise.
317 (gctest_LDADD): Likewise.
318 (all_objs): Likewise.
319
320 1999-01-08 Tom Tromey <tromey@cygnus.com>
321
322 * configure: Rebuilt.
323 * configure.in: Define LINUX_THREADS if using POSIX threads on
324 Linux.
325
326 * gc_priv.h (GC_test_and_set): Put return type into definition.
327
328 1998-11-24 Andrew Haley <aph@viagra.cygnus.co.uk>
329
330 * Makefile.am: add support for eCos. In particular, add C++
331 support for compiling the file ecos.cc.
332 * ecos.cc: new file.
333 * acinclude.m4: add C++ support.
334 * aclocal.m4: likewise
335 * config.h: add eCos support.
336 * configure: likewise
337 * configure.in: likewise
338 * misc.c (GC_write): add eCos support.
339 * os_dep.c (tiny_sbrk): add eCos support.
340
341 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com>
342
343 * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c.
344 * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c.
345
346 1998-11-23 Tom Tromey <tromey@cygnus.com>
347
348 * configure.host (boehm_gc_cflags): Don't add `-O2'.
349
350 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk>
351
352 * Makefile.am, Makefile.in, configure.host: tx39 build option
353 "-G 0" added.
354
355 1998-11-17 Tom Tromey <tromey@cygnus.com>
356
357 * configure: Rebuilt.
358 * configure.in: Switch on host, not target.
359
360 1998-11-16 Tom Tromey <tromey@cygnus.com>
361
362 * gc_priv.h (GC_debug_object_start): Declare.
363 * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start.
364 * gc.h (GC_debug_register_finalizer_no_order,
365 GC_register_finalizer_no_order): Declare.
366 (GC_REGISTER_FINALIZER_NO_ORDER): New macro.
367 * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function.
368 (GC_debug_generic_malloc): Likewise.
369 (GC_debug_object_start): new function.
370
371 1998-11-11 Tom Tromey <tromey@cygnus.com>
372
373 * configure: Rebuilt.
374 * configure.in: Recognize --enable-java-gc, not --enable-gc.
375
376 Tue Nov 3 18:01:12 1998 Tom Tromey <tromey@sanguine.cygnus.com>
377
378 * dyn_load.c: Handle QUICK_THREADS case.
379
380 1998-10-21 Tom Tromey <tromey@cygnus.com>
381
382 * configure: Rebuilt.
383 * configure.in: Put cpp defines here, not in config.h. Recognize
384 --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't
385 define PACKAGE or VERSION.
386 * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION):
387 Don't define.
388
389 * os_dep.c (GC_default_push_other_roots): Define when
390 QUICK_THREADS defined.
391 * misc.c: Added QUICK_THREADS case.
392 * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK.
393 * config.h (THREADS): Define if QUICK_THREADS defined.
394 * Makefile.in: Rebuilt.
395 * Makefile.am (libgc_a_SOURCES): Added linux_threads.c,
396 quick_threads.c.
397 * quick_threads.c: New file.
398
399 1998-10-20 Tom Tromey <tromey@cygnus.com>
400
401 * aclocal.m4, configure: Rebuilt.
402 * acinclude.m4: Don't subst machine_dir or sys_dir.
403 * configure.host: Removed unused code.
404
405 Sun Oct 11 08:18:02 1998 Anthony Green <green@cygnus.com>
406
407 * configure: Rebuilt.
408 * configure.in: Fix typo in previous patch.
409
410 Sun Oct 11 08:06:11 1998 Anthony Green <green@cygnus.com>
411
412 * Makefile.in, aclocal.m4, configure: Rebuilt.
413 * Makefile.am, acinclude.m4, configure.in: Add multilib support.
414 * configure.host: Created.
415
416 Tue Sep 1 10:58:15 1998 Tom Tromey <tromey@cygnus.com>
417
418 * Makefile.in: Rebuilt.
419 * Makefile.am (lib_LIBRARIES): Use target_all.
420 (EXTRA_LIBRARIES): New macro.
421 * configure: Rebuilt.
422 * configure.in: Recognize --enable-gc.
423
424 Thu Aug 13 10:52:45 1998 Tom Tromey <tromey@cygnus.com>
425
426 * Makefile.in: Rebuilt.
427 * Makefile.am (COMPILE): Define.
428 (LINK): Likewise.
429 (.s.o): Use MY_CFLAGS.
430 * configure: Rebuilt.
431 * configure.in (MY_CFLAGS): Define and subst.
432
433 Wed Aug 12 11:41:43 1998 Tom Tromey <tromey@cygnus.com>
434
435 * configure: Rebuilt.
436 * configure.in: Added --with-cross-host argument. Use
437 $with_cross_host to determine when cross-compiling.
438
439 * config.h (SMALL_CONFIG): Don't define.
440 * configure: Rebuilt.
441 * configure.in: Define SMALL_CONFIG when cross-compiling.
442
443 Tue Aug 11 11:41:25 1998 Tom Tromey <tromey@cygnus.com>
444
445 * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c,
446 allchblk.c: Merged with 4.13a2 while preserving local changes.
447
448 * Makefile.orig: Updated from Makefile in 4.13a2.
449
450 * configure: Rebuilt.
451 * configure.in: Updated version number to 4.13a2. On Solaris,
452 don't build with -O when using gcc.
453
454 Merged in version 4.13alpha2:
455 * config.h (USE_MMAP): Re-enable on Solaris.
456 * solaris_pthreads.c: Removed RCS Id line.
457 * alpha_mach_dep.s: Removed RCS Id line.
458
459 Wed Jul 22 15:38:12 1998 Tom Tromey <tromey@cygnus.com>
460
461 * config.h (USE_MMAP): Don't define for Solaris.
462
463 Wed Jun 10 12:51:41 1998 Tom Tromey <tromey@cygnus.com>
464
465 * Makefile.in: Rebuilt.
466 * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c.
467
468 * Makefile.in: Rebuilt.
469 * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c.
470
471 Thu May 14 15:32:58 1998 Tom Tromey <tromey@cygnus.com>
472
473 * Makefile.in: Rebuilt.
474 * Makefile.am ($(all_objs)): Depend on config.h.
475
476 * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define
477 DATASTART as &_etext.
478 * misc.c (GC_init_inner): If STACKBASE defined, then use it.
479 * configure: Rebuilt.
480 * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the
481 tx39.
482
483 Tue May 12 13:15:45 1998 Tom Tromey <tromey@cygnus.com>
484
485 * alloc.c: Don't call GET_TIME if NO_CLOCK defined.
486 (GC_maybe_gc): Likewise.
487 * os_dep.c: If NO_SIGSET defined, then have empty
488 GC_disable_signals and GC_enable_signals.
489 * configure: Rebuilt.
490 * configure.in: Added --with-target-subdir option. If
491 cross-compiling, define NO_SIGSET and NO_CLOCK.
492
493 Wed May 6 16:40:28 1998 Tom Tromey <tromey@cygnus.com>
494
495 * Makefile.in: Rebuilt.
496 * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp.
497 (AS): Removed.
498 * aclocal.m4, configure: Rebuilt.
499 * acinclude.m4: New file.
500 * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC.
501
502 Thu Apr 30 14:51:12 1998 Tom Tromey <tromey@cygnus.com>
503
504 * configure: Rebuilt.
505 * configure.in: Link boehm-config.h to config.h.
506 * Makefile.in: Rebuilt.
507 * Makefile.am (INCLUDES): Removed.
508 * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING,
509 JAVA_FINALIZATION): Define
510
511 Wed Apr 29 11:03:14 1998 Tom Tromey <tromey@cygnus.com>
512
513 * Many files: Use GC_bool, not bool.
514 * gc_priv.h: Define GC_bool, not bool.
515
516 * misc.c (GC_dont_gc): Define as int.
517 (GC_quiet): Likewise.
518 * gc_priv.h (GC_never_stop_func): Declare as returning bool.
519 * alloc.c (GC_dont_expand): Define as int.
520 * gc_priv.h: For gcc, define bool as char.
521
522 Tue Apr 28 22:44:16 1998 Tom Tromey <tromey@cygnus.com>
523
524 * Makefile.in: Rebuilt.
525 * Makefile.am (check_PROGRAMS): New macro.
526 (gctest_SOURCES): Likewise.
527 (gctest_LDADD): Likewise.
528
529 Mon Apr 27 23:53:24 1998 Tom Tromey <tromey@cygnus.com>
530
531 * Makefile.in: Rebuilt.
532 * Makefile.am (libgc_a_SOURCES): Added dyn_load.c.
533 * configure: Rebuilt.
534 * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3.
535
536 Wed Apr 15 11:40:56 1998 Tom Tromey <tromey@sanguine.cygnus.com>
537
538 * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4:
539 New files.
540 * Makefile.orig: Renamed from Makefile.
541