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