OSDN Git Service

* config/i386/i386.md (avx2_vec_dup<mode>): Macroize insn from
[pf3gnuchains/gcc-fork.git] / libmudflap / ChangeLog
1 2011-07-31  Tom de Vries  <tom@codesourcery.com>
2
3         PR middle-end/43513
4         * testsuite/libmudflap.c/fail31-frag.c: Adapt testcase to prevent
5         folding of alloca.
6
7 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8
9         Revert:
10         2011-07-15  Jakub Jelinek  <jakub@redhat.com>
11
12         PR testsuite/49753
13         PR tree-optimization/49309
14         * testsuite/libmudflap.c++/pass68-frag.cxx: New test.
15
16 2011-07-15  Jakub Jelinek  <jakub@redhat.com>
17
18         PR testsuite/49753
19         PR tree-optimization/49309
20         * testsuite/libmudflap.c++/pass68-frag.cxx: New test.
21
22 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
23
24         * configure.ac: Don't create pth.
25         Check for library containing sched_yield.
26         * configure: Regenerate.
27         * config.h.in: Regenerate.
28
29         * testsuite/lib/libmudflap.exp (libmudflap-init): Use
30         mfconfig_libs in -static check.
31
32 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
33
34         PR libmudflap/49550
35         * mf-runtime.c (__wrap_main) [__sun__ && __svr4__]: Don't register
36         stdin, stdout, stderr.
37         Register __ctype, __ctype_mask.
38
39         * configure.ac: Check for mmap64.
40         Check for rawmemchr, stpcpy, mempcpy.
41         * configure: Regenerate.
42         * config.h.in: Regenerate.
43         * mf-hooks1.c [HAVE_MMAP64] (__mf_0fn_mmap64): New function.
44         (mmap64): New wrapper function.
45         * mf-impl.h (__mf_dynamic_index) [HAVE_MMAP64]: Add dyn_mmap64.
46         * mf-runtime.c (__mf_dynamic) [HAVE_MMAP64]: Handle mmap64.
47
48         * mf-hooks2.c [HAVE_GETMNTENT && HAVE_SYS_MNTTAB_H]: Implement
49         getmntent wrapper.
50
51         * mf-hooks3.c (_REENTRANT): Define.
52
53         * testsuite/libmudflap.c/heap-scalestress.c (SCALE): Reduce to 10000.
54
55         * testsuite/libmudflap.c/pass-stratcliff.c: Include ../config.h.
56         (MIN): Define.
57         Use HAVE_RAWMEMCHR, HAVE_STPCPY, HAVE_MEMPCPY as guards.
58
59         * testsuite/libmudflap.c/pass47-frag.c: Expect __ctype warning on
60         *-*-solaris2.*.
61
62 2011-07-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
63
64         PR libmudflap/49549
65         * testsuite/lib/libmudflap.exp (load_gcc_lib): Load
66         target-supports.exp.
67         * testsuite/libmudflap.cth/cthfrags.exp: Only pass
68         --noinhibit-exec to GNU ld.
69
70 2011-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
71
72         PR libmudflap/38738
73         * configure.ac: Check for sys/mnttab.h.
74         Check for library containing connect.
75         * configure: Regenerate.
76         * config.h.in: Regenerate.
77         * mf-hooks2.c [HAVE_SYS_MNTTAB_H]: Include <sys/mnttab.h>.
78         * testsuite/libmudflap.c/pass-stratcliff.c (main) [__sun__ &&
79         __svr4__]: Disable rawmemchr, stpcpy, mempcpy tests.
80
81 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
82
83         * configure: Regenerate.
84
85 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
86
87         * mf-runtime.c (__mf_usage): Update copyright notice dates.
88
89 2010-10-31  Jason Merrill  <jason@redhat.com>
90
91         PR testsuite/20003
92         * testsuite/libmudflap.cth/pass40-frag.c: Increase timeout to 30.
93
94 2010-08-20  Uros Bizjak  <ubizjak@gmail.com>
95
96         * testsuite/libmudflap.c++/pass41-frag.cxx (dg-prune-output):
97         New dg directive.
98
99 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
100
101         PR bootstrap/43170
102         * configure: Regenerate.
103
104 2010-05-16  Uros Bizjak  <ubizjak@gmail.com>
105
106         * testsuite/libmudflap.c/pass46-frag.c (dg-options): Remove -Wall.
107
108 2010-05-15  Uros Bizjak  <ubizjak@gmail.com>
109
110         * testsuite/lib/mfdg.exp (additional_prunes): New global.
111         (dg-test): Clear additional_prunes before test is run.
112         (dg-prune-output): New procedure.
113         * testsuite/lib/libmudflap.exp (libmudflap-dg-test): Do not call
114         prune_gcc_output.
115         (libmudflap-dg-prune): New procedure.
116         * testsuite/libmudflap.c++/pass57-frag.cxx (dg-prune-output):
117         New dg directive.
118
119 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
120
121         PR other/43620
122         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
123         * Makefile.in: Regenerate.
124         * testsuite/Makefile.in: Regenerate.
125
126 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
127
128         * Makefile.in: Regenerate.
129         * aclocal.m4: Regenerate.
130         * testsuite/Makefile.in: Regenerate.
131
132 2010-03-15  David S. Miller  <davem@davemloft.net>
133
134         * testsuite/libmudflap.c/pass54-frag.c: Add explicit return from
135         main.
136
137 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
138
139         * mf-runtime.c (__mf_usage): Update copyright notice dates.
140
141 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
142
143         * Makefile.in: Regenerate.
144         * configure: Regenerate.
145         * testsuite/Makefile.in: Regenerate.
146
147 2009-09-22  Frank Ch. Eigler  <fche@redhat.com>
148
149         PR libmudflap/41433
150         * mf-runtime.c (__mf_init): Ignore $MUDFLAP_OPTIONS if
151         running setuid or setgid.
152
153 2009-09-01  Loren J. Rittle  <ljrittle@acm.org>
154
155         * mf-runtime.c (__mf_init): Support FreeBSD.
156         Prime mutex which calls calloc upon first lock to avoid deadlock.
157         * mf-hooks1.c (__mf_0fn_mmap): Support FreeBSD.
158         Ignore red zone allocation request for initial thread's stack.
159
160 2009-09-01  Loren J. Rittle  <ljrittle@acm.org>
161             Andreas Schwab  <schwab@linux-m68k.org>
162
163         * testsuite/libmudflap.c/pass51-frag.c (MAP_FAILED): Define,
164         if not in system header; use it.  On FreeBSD, must pass fd==-1
165         with MAP_ANON flag.  Correct mmap error check.
166         * testsuite/libmudflap.c/fail40-frag.c: Ditto.
167
168 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
169
170         * configure.ac (AC_PREREQ): Bump to 2.64.
171
172 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
173
174         * Makefile.am (install-html, install-pdf): Remove.
175         * Makefile.in: Regenerate.
176
177         * Makefile.in: Regenerate.
178         * aclocal.m4: Regenerate.
179         * config.h.in: Regenerate.
180         * configure: Regenerate.
181         * testsuite/Makefile.in: Regenerate.
182
183 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
184
185         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
186
187 2009-07-16  Joseph Myers  <joseph@codesourcery.com>
188
189         * configure: Regenerate.
190
191 2009-07-11  Richard Sandiford  <rdsandiford@googlemail.com>
192
193         PR testsuite/40699
194         PR testsuite/40707
195         PR testsuite/40709
196         * testsuite/lib/libmudflap.exp: Revert 2009-06-30 commit.
197
198 2009-07-01  Richard Guenther  <rguenther@suse.de>
199
200         PR tree-optimization/19831
201         * testsuite/libmudflap.c/fail11-frag.c: Make allocated memory
202         escape.
203         * testsuite/libmudflap.c/fail12-frag.c: Likewise.
204         * testsuite/libmudflap.c/fail16-frag.c: Likewise.
205         * testsuite/libmudflap.c/fail31-frag.c: Likewise.
206
207 2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>
208
209         * testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "."
210         to ld_library_path.  Use add_path.  Add just find_libgcc_s to
211         ld_library_path, not every libgcc multilib directory.
212
213 2009-04-09  Nick Clifton  <nickc@redhat.com>
214
215         * mf-hooks1.c: Change copyright header to refer to version 3
216         of the GNU General Public License with version 3.1 of the GCC
217         Runtime Library Exception and to point readers at the COPYING3
218         and COPYING3.RUNTIME files and the FSF's license web page.
219         * mf-heuristics.c: Likewise.
220         * mf-hooks2.c: Likewise.
221         * mf-hooks3.c: Likewise.
222         * mf-impl.h: Likewise.
223         * mf-runtime.c: Likewise.
224         * mf-runtime.h: Likewise.
225
226 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
227
228         * testsuite/lib/mfdg.exp: Change copyright header to refer to
229         version 3 of the GNU General Public License and to point readers
230         at the COPYING3 file and the FSF's license web page.
231         * testsuite/lib/libmudflap.exp: Likewise.
232
233 2009-03-31  Ben Elliston  <bje@au.ibm.com>
234
235         PR libmudflap/38462
236         * testsuite/libmudflap.c/fail27-frag.c: Match `mudflap dead
237         object', not `mudflap object'.
238
239 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
240
241         * configure: Regenerate.
242
243 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
244
245         * mf-runtime.c (__mf_usage): Update copyright notice dates.
246
247 2009-01-23  Jie Zhang  <jie.zhang@analog.com>
248
249         * mf-impl.h (__mf_get_state, __mf_set_state): Don't use
250         __thread when TLS support is emulated.
251         * mf-hooks3.c (__mf_get_state, __mf_set_state): Likewise.
252         * mf-runtime.c (__mf_state_1): Likewise.
253         * configure.ac: Use GCC_CHECK_EMUTLS.
254         * configure: Regenerate.
255         * config.h.in: Regenerate.
256
257 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
258
259         * configure: Regenerate.
260
261 2008-11-26  Janis Johnson  <janis187@us.ibm.com>
262
263         PR testsuite/28870
264         * testsuite/lib/mfdg.exp (dg-test): Use new timeout support.
265         (dg-timeout): Remove.
266         (standard-wait): Remove.
267         * testsuite/lib/libmudflap.exp: Include new timeout library files.
268         (libmudflap_target_compile): Set timeout value from new proc.
269
270 2008-11-10  Jakub Jelinek  <jakub@redhat.com>
271
272         PR middle-end/35314
273         * testsuite/libmudflap.c/pass67-frag.c: New test.
274
275 2008-10-09  Jakub Jelinek  <jakub@redhat.com>
276
277         PR c++/37568
278         * testsuite/libmudflap.c++/pass66-frag.cxx: New test.
279
280 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
281             Steve Ellcey  <sje@cup.hp.com>
282
283         * configure: Regenerate for new libtool.
284         * Makefile.in: Ditto.
285         * testsuite/Makefile.in: Ditto.
286
287 2008-09-15  Jakub Jelinek  <jakub@redhat.com>
288
289         PR libmudflap/36397
290         * testsuite/libmudflap.c/pass64-frag.c: New test.
291
292 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
293
294         * Makefile.in: Regenerate.
295         * config.h.in: Regenerate.
296         * configure: Regenerate.
297         * testsuite/Makefile.in: Regenerate.
298
299 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
300
301         PR bootstrap/35457
302         * aclocal.m4: Regenerate.
303         * configure: Regenerate.
304
305 2008-03-20  Volker Reichelt  <v.reichelt@netcologne.de>
306
307         * testsuite/libmudflap.c/pass63-frag.c: New test.
308
309 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
310
311         * aclocal.m4: Regenerate.
312         * configure: Likewise.
313         * Makefile.in: Likewise.
314         * testsuite/Makefile.in: Likewise.
315
316 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
317
318         * mf-runtime.c (__mf_usage): Update copyright notice dates.
319
320 2008-02-21  Uros Bizjak  <ubizjak@gmail.com>
321
322         * testsuite/libmudflap.c/fail8-frag.c: Adjust scan pattern for
323         mudflap dead object.
324         * testsuite/libmudflap.c/fail9-frag.c: Ditto.
325
326 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
327
328         * configure: Regenerate.
329
330 2008-01-05  Jakub Jelinek  <jakub@redhat.com>
331
332         PR tree-optimization/34618
333         * testsuite/libmudflap.c/pass62-frag.c: New test.
334
335 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
336
337         PR c++/34619
338         * testsuite/libmudflap.c++/pass61-frag.cxx: New test.
339
340 2008-01-01  Volker Reichelt  <v.reichelt@netcologne.de>
341
342         PR libmudflap/26442
343         * testsuite/libmudflap.c++/pass60-frag.cxx: New test.
344
345 2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>
346
347         * configure: Regenerate following changes to ../config/tls.m4.
348
349 2007-07-26  Tom Tromey  <tromey@redhat.com>
350
351         * Makefile.in: Rebuilt.
352         * Makefile.am (clean-local): Removed.
353         (pth/mf-runtime.lo, pth/mf-heuristics.lo, pth/mf-hooks1.lo,
354         pth/mf-hooks2.lo, pth/mf-hooks3.lo): Likewise.
355         (libmudflapth_la_SOURCES): List sources.
356         (libmudflapth_la_LIBADD): Clear.
357         (libmudflapth_la_CFLAGS): New variable.
358
359 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
360
361         * aclocal.m4: Regenerated.
362
363 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
364
365         * configure: Regenerate.
366
367 2007-05-31  Frank Ch. Eigler  <fche@redhat.com>
368
369         From Andi Kleen <ak@suse.de>:
370         * mf-runtime.c (options): Rename structure for compatibility with
371         glibc getopt_long.
372
373 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
374
375         * Makefile.in: Regenerate.
376         * configure: Regenerate.
377         * aclocal.m4: Regenerate.
378         * testsuite/Makefile.in: Regenerate.
379
380 2007-03-14  Uros Bizjak  <ubizjak@gmail.com>
381
382         * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
383
384 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
385
386         * Makefile.am: Add dummy install-pdf target.
387         * Makefile.in: Regenerate
388
389 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
390
391         PR libgomp/28468
392         * configure: Regenerate.
393
394 2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
395
396         * configure: Regenerate.
397
398 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
399
400         * configure: Regenerated.
401
402 2006-11-10  Frank Ch. Eigler  <fche@redhat.com>
403
404         PR libmudflap/28578
405         * mf-hooks1.c (__mf_0fn_malloc): Make the bootstrap buffers
406         static but not function scope static.
407         (free): Skip deallocation attempts for objects placed into
408         bootstrap buffers.
409         * testsuite/libmudflap.cth/pass59-frag.c: New test.
410
411 2006-11-06  Frank Ch. Eigler  <fche@redhat.com>
412
413         From Herman ten Brugge <hermantenbrugge@home.nl>:
414         * mf-runtime.c (__mf_uncache_object): Optimize the code so that
415         small and large objects are handled a lot faster.
416
417 2006-11-06  Frank Ch. Eigler  <fche@redhat.com>
418
419         * configure.ac (__libc_freeres): Look for it.
420         * mf-impl.h (call_libc_freeres): New configuration flag.
421         * mf-runtime.c (__mf_set_default_options): Set it by default.
422         (__mfu_report): Call it if needed.
423         (__mfu_unregister): Remove "unaccessed registered object" warning.
424         * configure, config.h.in: Regenerated.
425
426 2006-09-18  Tom Tromey  <tromey@redhat.com>
427
428         * configure: Rebuilt.
429
430 2006-06-21  Frank Ch. Eigler  <fche@redhat.com>
431
432         PR 21274
433         mf-runtime.h installation based on ssp patch for PR 26473 from
434         Mark Mitchell  <mark@codesourcery.com>.
435         * configure.ac (ACX_NONCANONICAL_TARGET): Use it.
436         * Makefile.am (target_noncanonical): Define.
437         (libsubincludedir): New variable.
438         (nobase_libsubinclude_HEADERS): Add mf-runtime.h.
439         (include_HEADERS): Remove.
440         * configure, aclocal.m4, config.h.in: Regenerated.
441         * Makefile.in, testsuite/Makefile.in: Likewise.
442         * mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT
443         and _THREAD_SAFE redefinition values.
444
445 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
446
447         * Makefile.am: Add install-html target. Add install-html to .PHONY
448         * Makefile.in: Regenerate.
449
450 2006-04-19  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
451
452         PR mudflap/26789
453         * testsuite/libmudflap.c++/error1-frag.cxx: New test.
454
455         PR mudflap/26790
456         * testsuite/libmudflap.c++/error2-frag.cxx: New test.
457
458 2006-04-10  Matthias Klose  <doko@debian.org>
459
460         * testsuite/lib/libmudflap.exp (libmudflap-init): Recognize multilib
461         directory names containing underscores.
462
463 2005-11-22  Janis Johnson  <janis187@us.ibm.com>
464
465         * testsuite/lib/libmudflap.exp (libmudflap-init): Remove -static from
466         MUDFLAP_FLAGS if static library not supported.
467         * testsuite/libmudflap.c/cfrags.exp (MUDFLAP_FLAGS): new.
468         * testsuite/libmudflap.c/externs.exp: Ditto.
469         * testsuite/libmudflap.c++/ctors.exp: Ditto.
470         * testsuite/libmudflap.c++/c++frags.exp: Ditto.
471         * testsuite/libmudflap.cth/cthfrags.exp: Ditto.
472
473 2005-10-04  James E Wilson  <wilson@specifix.com>
474
475         * configure.ac (mudflap_cv_entry_point): Use quadrigraphs to declare
476         $name as array of characters with unknown bound.  Also store into the
477         array.
478         * configure: Regenerate.
479
480 2005-09-30  James E. Wilson  <wilson@specifix.com>
481
482         * configure.ac (pthread.h): Use AC_CHECK_HEADERS instead of
483         AC_CHECK_HEADER.
484         (target_thread_file): New.  Set from sed'ed gcc output.
485         (posix_threads): New.  Set from target_thread_file.  Use instead of
486         ac_have_pthread_h.
487         (pthread_create_version): Move initialization before code using it.
488         * configure: Regenerate.
489
490         * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown
491         bounds.
492
493 2005-09-29  James E. Wilson  <wilson@specifix.com>
494
495         * mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
496         with HAVE_MMAP ifdef.
497
498 2005-09-23  Frank Ch. Eigler  <fche@elastic.org>
499
500         PR 23084.
501         * mf-hooks2.c (accept): Tolerate NULL sockaddr* parameter.
502
503 2005-09-23  Frank Ch. Eigler  <fche@elastic.org>
504
505         * testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319.
506
507 2005-09-23  Tom Tromey  <tromey@redhat.com>
508
509         * aclocal.m4, configure: Rebuilt.
510         * configure.ac: Use GCC_CHECK_TLS.
511         * acinclude.m4 (LIBMUDFLAP_CHECK_TLS, LIBMUDFLAP_ENABLE): Moved
512         to ../config.
513
514 2005-08-22  Jim Wilson  <wilson@specifix.com>
515
516         * mf-hooks2.c (MF_REGISTER_fopen): Define to __MF_TYPE_STATIC when
517         __FreeBSD__ is defined.
518
519 2005-08-17  Jim Wilson  <wilson@specifix.com>
520
521         * mf-hooks1.c (malloc, calloc, realloc, free,
522         __mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling
523         the real routines, and END_MALLOC_PROTECT afterwards.
524         * mf-impl.h (enum __mf_state_enum): Expand comment.  Add in_malloc.
525         (BEGIN_PROTECT): Handle in_malloc state.
526         (BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New.
527         * testsuite/libmudflap.c/hook2-allocstuff.c: New.
528
529 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
530
531         * All files: Update FSF address.
532
533 2005-08-15  Ulrich Weigand  <weigand@informatik.uni-erlangen.de>
534
535         * mf-hooks3.c (main_seen_p): Remove.
536         (__mf_get_state): Remove attempt to recognize the main thread.
537
538 2005-08-15  Maciej W. Rozycki  <macro@linux-mips.org>
539
540         * configure.ac: Test for the name of the symbol used for the entry
541         point; define ENTRY_POINT to the result.
542         * configure: Regenerate.
543         * config.h.in: Regenerate.
544         * mf-heuristics.c: Replace _start with ENTRY_POINT throughout.
545
546 2005-08-14  Ulrich Weigand  <weigand@informatik.uni-erlangen.de>
547
548         * mf-runtime.c (__mf_state_1): Initialize to reentrant.
549         (__mf_init): Set thread state active.
550         * mf-hooks3.c (__mf_pthread_spawner): Always set thread
551         state active.
552         (pthread_create wrapper): Always use thread spawner.
553
554         * testsuite/libmudflap.cth/pass37-frag.c: Increase timeout.
555         * testsuite/libmudflap.cth/pass39-frag.c: Likewise.
556
557 2005-07-16  Richard Henderson  <rth@redhat.com>
558
559         * acinclude.m4: New file.
560         * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS.
561         * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild.
562         * mf-hooks1.c (__mf_0fn_malloc): Move body from ...
563         (__mf_0fn_calloc): ... here.
564         * mf-hooks3.c (struct pthread_info): Remove.
565         (__mf_pthread_info, __mf_pthread_info_idx): Remove.
566         (LIBMUDFLAPTH_THREADS_MAX): Set to 1021.
567         (struct mf_thread_data): New.
568         (mf_thread_data, mf_thread_data_lock): New.
569         (__mf_allocate_blank_threadinfo): Remove.
570         (__mf_find_threadinfo): Rewrite and simplify.  Only use if TLS is
571         not available.
572         (__mf_state_perthread): Remove.
573         (__mf_get_state, __mf_set_state): New.
574         (__mf_pthread_cleanup): Use &errno, rather than saved pointer.
575         Update mf_thread_data killing procedure.
576         (__mf_pthread_spawner): Similarly.
577         (__mf_0fn_pthread_create): Only use wrapper if necessary.  Remove
578         code to allocate thread stack space.
579         (__mf_0fn_pthread_join, pthread_join): Remove.
580         (__mf_0fn_pthread_exit, pthread_exit): Remove.
581         * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove.
582         (__mf_state_1): Rename from __mf_state; use TLS when available.
583         (__mf_get_state, __mf_set_state): New.  Update all users.
584         * mf-runtime.c (begin_recursion_protect1): New.
585         (BEGIN_RECURSION_PROTECT): Use it.
586         (__mf_state_1): Rename from __mf_state; use TLS when available.
587         (threads_active_p): Remove.
588         (__mf_usage): Compute it directly.
589
590 2005-06-19  Ulrich Weigand  <uweigand@de.ibm.com>
591
592         * testsuite/libmudflap.c/externs-1.c (main): Add return statement.
593
594 2005-06-15  Frank Ch. Eigler  <fche@redhat.com>
595
596         Fix for uncaching bug reported by Herman ten Brugge.
597         * mf-runtime.c (__mf_uncache_object): Search whole cache.
598         * testsuite/libmudflap.c/fail40-frag.c: New test.
599
600 2005-05-23  Alfred M. Szmidt  <ams@gnu.org>
601
602         PR libmudflap/21724
603         * Makefile.am (AM_MAKEFLAGS): Pass includedir.
604         * Makefile.in: Amend.
605
606 2005-06-14  Frank Ch. Eigler  <fche@redhat.com>
607
608         PR mudflap/21023
609         * testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files.
610         * testsuite/libmudflap.c/cfrags.exp: Bypass new sources.
611
612 2005-06-14  Frank Ch. Eigler  <fche@redhat.com>
613
614         PR libmudflap/21094
615         * testsuite/libmudflap.c++/*.exp: Assert build tree g++.
616
617 2005-06-14  Frank Ch. Eigler  <fche@redhat.com>
618
619         PR mudflap/22064
620         * mf-impl.h (mudflap_mode, violation_mode): Make these ordinary
621         unsigned vars with #defines instead of enums.
622
623 2005-05-09  Mike Stump  <mrs@apple.com>
624
625         * configure: Regenerate.
626
627 2005-04-12  Mike Stump  <mrs@apple.com>
628
629         * configure: Regenerate.
630
631 2005-04-12  Frank Ch. Eigler  <fche@redhat.com>
632
633         PR mudflap/19266
634         * testsuite/libmudflap.c++/c++frags.exp: Also test -O permutation.
635         * testsuite/libmudflap.c++/pass57-frag.cxx: New test.
636
637 2005-04-04  Alan Modra  <amodra@bigpond.net.au>
638
639         * mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
640
641 2005-03-31  Mike Stump  <mrs@apple.com>
642
643         * mf-runtime.h: Add libmudflap copyright clause.
644
645 2005-03-21  Mike Stump  <mrs@apple.com>
646
647         * mf-heuristics.c: Fix whitespace at end of line.
648         * mf-hooks1.c: Likewise.
649         * mf-hooks2.c: Likewise.
650         * mf-hooks3.c: Likewise.
651         * mf-impl.h: Likewise.
652         * mf-runtime.c: Likewise.
653         * mf-runtime.h: Likewise.
654
655 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
656
657         * configure.ac: Do not invoke TL_AC_GCC_VERSION.
658         In all substitutions, expand gcc_version in Makefile.
659         * aclocal.m4, configure: Regenerate.
660         * Makefile.am: Set gcc_version.
661         * Makefile.in, testsuite/Makefile.in: Regenerate.
662
663 2005-03-17  Frank Ch. Eigler  <fche@redhat.com>
664
665         * mf-runtime.c (__mfu_check): Respect ignore_reads configuration.
666         * testsuite/libmudflap.c/{pass56,fail39}-frag.c: New tests.
667
668 2005-02-13  Frank Ch. Eigler  <fche@redhat.com>
669
670         PR mudflap/19319
671         * testsuite/libmudflap.c++/pass55-frag.c: New test.
672
673 2005-01-05  Richard Henderson  <rth@redhat.com>
674
675         * testsuite/libmudflap.c/pass32-frag.c: Fix typo.
676
677 2005-01-02  Greg McGary  <greg@mcgary.org>
678
679         * mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
680         * mf-runtime.h: New file, replaces mf-runtime.h.in.
681         * configure.ac (AC_CONFIG_FILES): mf-runtime.h is no longer generated.
682         * Makefile.in: Ditto.
683         * testsuite/lib/libmudflap.exp: Add -I${srcdir}/.. to get mf-runtime.h
684         * testsuite/libmudflap.c/pass32-frag.c: s/uintptr_t/__mf_uintptr_t/
685         * testsuite/libmudflap.c/fail36-frag.c: New test.
686         * testsuite/libmudflap.c/fail37-frag.c: New test.
687         * testsuite/libmudflap.c/fail38-frag.c: New test.
688
689 2004-12-08  Kelley Cook  <kcook@gcc.gnu.org>
690
691         * Makefile.am: Add ../config to ACLOCAL_AMFLAGS.
692         * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate.
693
694 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
695
696         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
697         * aclocal.m4: Include ../config/gcc-version.m4.
698         * configure, Makefile.in, testsuite/Makefile.in: Regenerate.
699
700 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
701
702         * Makefile.am: Define ACLOCAL_AMFLAGS.
703         * acinclude.m4: Remove.
704         * stamp-h.in: Remove superfluous stamp file.
705         * aclocal.m4, configure, Makefile.in: Regenerate.
706         * testsuite/Makefile.in: Likewise.
707
708 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
709
710         * Makefile.am: Revert previous.
711         * acinclude.m4: Restore.
712         * aclocal.m4, configure, Makefile.in: Regenerate.
713         * testsuite/Makefile.in: Likewise.
714
715 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
716
717         * Makefile.am: Define ACLOCAL_AMFLAGS.
718         * acinclude.m4: Remove.
719         * aclocal.m4, configure, Makefile.in: Regenerate.
720         * testsuite/Makefile.in: Likewise.
721
722 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
723
724         * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.
725
726 2004-11-23  Kelley Cook  <kcook@gcc.gnu.org>
727
728         * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3.
729         * testsuite/Makefile.in: Likewise.
730
731 2004-11-01  Andreas Schwab  <schwab@suse.de>
732
733         * configure.ac: (target_alias): Default to $host_alias, not
734         $target.
735         * configure: Regenerated.
736
737 2004-10-28  Frank Ch. Eigler  <fche@redhat.com>
738
739         * testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests.
740         * testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning
741         message.
742
743 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
744
745         PR other/18138
746         * testsuite/lib/libmudflap.exp: Accept more than one multilib libgcc.
747
748 2004-10-12  Frank Ch. Eigler  <fche@redhat.com>
749
750         * configure.ac: Check for more headers, functions.
751         * mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
752         tracking overridden FILE buffers.
753         (fopen, setvbuf): New/revised hook functions for buffer overriding.
754         (setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
755         (fflush): Accept given NULL stream (means "all streams").
756         * mf-runtime.h.in:
757         * mf-runtime.c (__mfu_check): Accept accesses that span adjacent
758         HEAP/GUESS objects.
759         (LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
760         (__mf_adapt_cache): Use them all.
761         * testsuite/libmudflap.c/pass35-frag.c: Update warning message.
762         * testsuite/libmudflap.c++/ctors.exp: Ditto.
763         * testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
764         * configure, config.h.in: Regenerated.
765
766 2004-10-05  Frank Ch. Eigler  <fche@redhat.com>
767
768         * configure.ac: Checking for sys/socket.h once is enough.
769         * configure: Regenerated.
770
771 2004-10-04  Frank Ch. Eigler  <fche@redhat.com>
772
773         * configure.ac: Look for more headers & functions.
774         * mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
775         * mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
776         * mf-runtime.c (options): Clean up integer signedness warnings.
777         (main): Add a declaration to fix a warning.
778         * mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
779         * configure, config.h.in: Regenerated.
780
781 2004-10-02  Frank Ch. Eigler  <fche@redhat.com>
782
783         * testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c:
784         New tests for proper base/limit checking for aggregates.
785
786 2004-09-15  Joseph S. Myers  <jsm@polyomino.org.uk>
787
788         * testsuite/libmudflap.c/pass35-frag.c: Update expected message.
789
790 2004-09-07  Frank Ch. Eigler  <fche@redhat.com>
791
792         * configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.
793         * mf-hooks2.c (strerror): Unregister previous string returned by
794         previous strerror.
795         (getlogin,cuserid,getpwnam,getpwuid,getgrnam,getgrgid): New wrappers.
796         (getservent,getservbyname,getservbyport,gai_strerror): Ditto.
797         * mf-runtime.h.in: Add redefine_extname pragmas for them all.
798         * mf-runtime.c (__mf_describe_object): Clarify object life status.
799         * testsuite/libmudflap.c/pass48-frag.c, pass49-frag.c, fail32-frag.c:
800         New tests.
801         * configure, config.h.in: Regenerated.
802
803 2004-08-03  Dale Johannesen  <dalej@apple.com>
804
805          * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
806
807 2004-08-03  Frank Ch. Eigler  <fche@redhat.com>
808
809         * mf-runtime.c (compare_uintptr_t): Remove function.  Inline
810         simplified contents in all former callers.
811
812 2004-07-27  Ulrich Weigand  <weigand@informatik.uni-erlangen.de>
813
814         * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
815         the statically linked case.
816
817 2004-07-27  Frank Ch. Eigler  <fche@redhat.com>
818
819         * splay-tree.[ch]: Remove.  Merge contents into ...
820         * mf-runtime.c: ... here, renaming symbols and making all functions
821         static.  Remove unused min/max functions.
822         * Makefile.am: Forget about splay-tree.[ch].
823         * Makefile.in, testsuite/Makefile.in: Regenerated.
824
825 2004-07-21  Frank Ch. Eigler  <fche@redhat.com>
826
827         * mf-runtime.c (__mfu_check): Remove mistaken mode-nop handling.
828         (__mfu_usage): Include (C) 2004.
829         * mf-hooks3.c (__mf_find_threadinfo): Don't call tracing functions
830         here.  Include a comment explaining why.
831
832 2004-07-20  Frank Ch. Eigler  <fche@redhat.com>
833
834         * mf-impl.h (__mf_options): Add ignore_reads and timestamps fields.
835         * mf-runtime.c (options): Give them a name.
836         (__mf_set_default_options): Set them.
837         (__mf_insert_new_object, __mfu_unregister): Optionalize timestamps.
838         (__mf_violation): Warning cleanup.
839         * mf-impl.h (MF_VALIDATE_EXTENT): Support ignore_reads option.
840         * splay-tree.c (splay_tree_delete_helper): Remove obsolete decl.
841
842 2004-07-15  Frank Ch. Eigler  <fche@redhat.com>
843
844         g++/15861
845         * mf-runtime.c (__mf_init): Make it non-static.  Tolerate
846         repeated invocation.
847
848 2004-07-09  Frank Ch. Eigler  <fche@redhat.com>
849
850         Test case for g++/15861
851         * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves.
852         * testsuite/libmudflap.c++/ctors.exp: Driver.
853         * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default.
854         Look only for *frag* test cases.
855
856 2004-07-08  Frank Ch. Eigler  <fche@redhat.com>
857
858         ANSI C conversion, libmudflap specialization, recursion limiting.
859         * splay-tree.h (splay_tree_{de,}allocate_fn): Remove allocation_data
860         argument and indirection function pointers, update callers.
861         (splay_tree_s): Add statistics and recursion control fields
862         num_keys, max_depth, depth, rebalance_p.
863         * splay-tree.c (splay_tree_splay_helper): Track recursion depth.
864         Back out of search if it exceeds limit.
865         (splay_tree_splay): Manage recursion limiting with rebalancing as
866         needed.
867         (splay_tree_new): More initialization.
868         (splay_tree_rebalance): New function.
869         (splay_tree_foreach): Rewrite using nonrecursive logic.
870         (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate):
871         Remove.  Point indirect calls to mf-runtime.c's routines.
872         (splay_tree_compare_ints, splay_tree_compare_pointers): Remove unused
873         functions.
874         (splay_tree_delete, splay_tree_delete_helper): Ditto.
875         * testsuite/heap-scalestress.c: New test based on one from
876         Eyal Lebedinsky <eyal@eyal.emu.id.au>:
877
878 2004-07-05  Matthias Klose  <doko@debian.org>
879
880         * libtool-version: New.
881         * Makefile.am (libmudflap_la_LDFLAGS, libmudflapth_la_LDFLAGS):
882         Use -version-info for soname.
883         * Makefile.in: Regenerate.
884         * configure.ac: Remove libtool_VERSION macro
885         * configure: Regenerate
886
887 2004-07-05  Zack Weinberg  <zack@codesourcery.com>
888
889         * mf-runtime.h.in: Wrap declarations of struct __mf_cache,
890         __mf_lookup_cache, __mf_lc_mask, or __mf_lc_shift in
891         #ifndef _MUDFLAP.
892
893 2004-06-29  Frank Ch. Eigler  <fche@redhat.com>
894
895         Splay tree implementation fork.
896         * splay-tree.c, splay-tree.h: Copied & modified from libiberty.
897         Use hard-coded comparison function for uintptr_t.  Remove key/value
898         deallocation logic.  Cache last splayed key for consecutive lookups.
899         * Makefile.am, Makefile.in: Use them, don't link to them.
900         * mf-runtime.c (__mf_object_tree): Adapt to simpler splay_tree_new.
901         (__mf_find_objects2): Flip successor/predecessor search sequence.
902         * ansidecl.h, libiberty.h: Removed dummy files.
903
904 2004-06-29  Nick Clifton  <nickc@redhat.com>
905
906         * configure.ac (AC_CHECK_HEADERS): Add dirent.h
907         * configure: Regenerate.
908         * mf-hooks2.c: Surround uses of dirent.h with #ifdef
909         HAVE_DIRENT_H.
910         Remove spurious inclusion of <strings.h>.
911
912 2004-06-29  Nick Clifton  <nickc@redhat.com>
913
914         * mf-runtime.c (pthread_join): Only apply the weak pragma if the
915         function actually exists.
916
917 2004-06-25  Frank Ch. Eigler  <fche@redhat.com>
918
919         * ansidecl.h, libiberty.h: New dummy files for building splay-tree.
920         * config.h.in: Regenerated.
921
922 2004-06-24  Frank Ch. Eigler  <fche@redhat.com>
923
924         Adopt splay trees for object database.
925         * Makefile.am: Copy splay-tree.* from libiberty.
926         * Makefile.in, testsuite/Makefile.in: Regenerated.
927         * mf-runtime.h.in (__mf_unregister): Add third parameter (type).
928         * mf-hooks[123].c (*): Add new third parameter to mf_unregister.
929         * mf-impl.h (BEGIN_PROTECT): Remove some trace text.
930         * mf-runtime.c: Rewrite code dealing with object database to use
931         libiberty splay trees.  Remove tree liveness aging option.
932         * testsuite/libmudflap.c/fail18-frag.c: Add volatile flag.
933
934 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
935
936         * configure.ac: New name of configure.in.  Update
937         AC_INIT, AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES,
938         AC_OUTPUT, AM_INIT_AUTOMAKE to the preferred style for
939         Autoconf 2.5x and Automake 1.7 or later.
940         * configure.in: Remove.
941         * configure: Regenerate.
942
943         * Makefile.am: Remove useless multilib rules.
944         * Makefile.in: Regenerate.
945
946 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
947
948         * .cvsignore: New file.
949
950 2004-06-10  Stephen Crowley  <stephen.crowley@sbcglobal.net>
951
952         PR libmudflap/13505
953         * mf-hooks2.c (semctl): Add cygwin porting hack.
954
955 2004-06-09  Frank Ch. Eigler  <fche@redhat.com>
956
957         ctype support.
958         * configure.in: Look for ctype header and glibc implementation.
959         * mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype
960         array hooks for glibc 2.3.
961         * mf-runtime.h.in: Wrap them.
962         * mf-runtime.c (__mf_init): Leave marker regarding other ctype
963         implementations.
964         * testsuite/libmudflap.c/pass47-frag.c: New test.
965         * configure, config.h.in: Regenerated.
966
967 2004-06-04  Frank Ch. Eigler  <fche@redhat.com>
968
969         Portability improvements, e.g., libmudflap/15293.
970         * configure.in: Look for glibc extension functions.  Look for
971         support of -f{function,data}-sections.  Look for more headers.
972         Create testsuite/mfconfig.exp.  Correct more "test x.." thinkos.
973         * Makefile.am: Use $(SECTION_FLAGS).  Collapse piecemeal-compiled
974         mf-hooks* into usual single object per source.
975         * mf-hooks*.c: Remove all #if WRAP_foo conditionals.
976         * mf-hooks2.c: #include a bunch more system headers.  Define strnlen
977         if system doesn't provide one.
978         * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields.
979         (pthread_create): Use it to properly GC dead thread stacks.
980         * mf-runtime.c (__mf_violation): Correct snprintf type warning.
981         * testsuite/Makefile.am: Stop generating site.exp.
982         * testsuite/mfconfig.exp.in: New file.
983         * testsuite/config/default.exp: Load new mfconfig.exp.
984         * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries.
985         (prune_gcc_output): Add glibc static linking warnings.
986         * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs.
987         * testsuite/libmudflap.c/pass46-frag.c: Ditto.
988         * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
989         Regenerated with autoconf 2.57 and automake 1.7.
990
991 2004-06-04  Per Bothner  <per@bothner.com>
992
993         * configure.in (LIBMUDFLAPTH):  Fix thinko.
994
995         * configure.in:  Check for more headers.
996         * mf-hooks2.c:  Conditionalize on HAVE_SYS_SOCKET_H etc.
997
998         * mf-runtime.c:  In two places conditionalize on SIUSR1 rather than
999         HAVE_SIGNAL as mingw has signal.h but not SIUSR1.
1000
1001 2004-06-01  Andreas Jaeger  <aj@suse.de>
1002
1003         * configure.in: Handle multilibs, support
1004         --enable-version-specific-runtime-libs.
1005         * Makefile.am (lib_LTLIBRARIES): Rename to ...
1006         (toolexeclib_LTLIBRARIES): this for multilib support.
1007         * Makefile.in: Regenerated.
1008         * configure: Regenerated.
1009         * aclocal.m4: Regenerated.
1010         * config.h.in: Regenerated.
1011         * testsuite/Makefile.in: Regenerated.
1012
1013 2004-06-01  Andreas Jaeger  <aj@suse.de>
1014
1015         * testsuite/lib/libmudflap.exp (libmudflap-init): Handle
1016         multilibs, using multilib directory instead of hardcoded path.
1017         Set LD_RUN_PATH.
1018
1019 2004-05-21  Frank Ch. Eigler  <fche@redhat.com>
1020
1021         * Makefile.am (AM_MAKEFLAGS): Pass RUNTESTFLAGS.
1022         * Makefile.in: Ditto.
1023
1024 2004-05-18  Kaz Kojima  <kkojima@gcc.gnu.org>
1025
1026         * acinclude.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
1027         * aclocal.m4, configure: Rebuilt.
1028
1029 2004-05-17  Frank Ch. Eigler  <fche@redhat.com>
1030
1031         * lib/libmudflap.exp (libmudflap-init): For C++ test cases only,
1032         import some build settings from libstdc++-v3 testsuite_flags.
1033         * .../cfrags.exp, .../c++frags.exp, .../cthfrags.exp: Corresponding
1034         changes to pass test language.
1035
1036         * mf-runtime.c (__mfu_check): Poison the cache with antidote for
1037         quicker mode-nop handling.
1038
1039 2004-03-25  Frank Ch. Eigler  <fche@redhat.com>
1040
1041         * mf-impl.h: Added libgcc license header.
1042
1043 2004-03-20  Frank Ch. Eigler  <fche@redhat.com>
1044
1045         * mf-hooks[123].c, mf-runtime.c, mf-heuristics.c:
1046         Added libgcc license header.
1047         * mf-hooks3.c (__mf_0fn_pthread_create): Correct arg constness.
1048         (pthread_create): Simplify stack allocation syntax.
1049
1050 2004-03-08  Loren J. Rittle  <ljrittle@acm.org>
1051
1052         * mf-hooks2.c: Support FreeBSD.
1053         (WRAP_gets): Avoid gets().
1054         * testsuite/libmudflap.c/pass-stratcliff.c: Do not
1055         test unimplemented mem/str calls on FreeBSD.
1056         * testsuite/libmudflap.c/pass21-frag.c: Do not include
1057         <alloca.h> on FreeBSD.
1058
1059 2004-01-30  Frank Ch. Eigler  <fche@redhat.com>
1060
1061         * testsuite/libmudflap.c/pass36-frag.c: Add missing free() call.
1062         * testsuite/libmudflap.c/pass46-frag.c: New test for -fmudflapir.
1063         * testsuite/libmudflap.cth/cthfrags.exp: Add -DSTATIC to compiler
1064         flags for static linking permutation.
1065         * testsuite/libmudflap.cth/pass40-frag.c: When -DSTATIC, avoid
1066         some pthreads code that croaks on linux glibc tls.
1067
1068 2004-01-27  Frank Ch. Eigler  <fche@redhat.com>
1069
1070         * testsuite/libmudflap.c/fail31-frag.c, pass45-frag.c: New tests.
1071
1072 2004-01-15  Frank Ch. Eigler  <fche@redhat.com>
1073
1074         * testsuite/libmudflap.c/pass44-frag.c: New test.
1075
1076 2004-01-12  Frank Ch. Eigler  <fche@redhat.com>
1077
1078         * testsuite/libmudflap.c/fail{28,29,30}-frag.c: New tests.
1079
1080 2004-01-08  Frank Ch. Eigler  <fche@redhat.com>
1081
1082         * testsuite/libmudflap.c/pass43-frag.c: Added missing program rc.
1083
1084 2003-12-11  Frank Ch. Eigler  <fche@redhat.com>
1085
1086         * testsuite/libmudflap.c/pass42-frag.c, pass43-frag.c: New tests.
1087
1088 2003-12-08  Andrew Pinski  <pinskia@physics.uc.edu>
1089
1090         PR libmudflap/12670
1091         * configure.in: Add check for see if
1092         socklen_t typedef is in sys/socket.h.
1093         * mf-hooks1.c: Add define if socklen_t
1094         is not typedef.
1095         * mf-hooks2.c: Likewise.
1096         * mf-hooks3.c: Likewise.
1097         * config.h.in: Regen.
1098         * configure: Regen.
1099
1100 2003-12-08  Frank Ch. Eigler  <fche@redhat.com>
1101
1102         * mf-runtime.c (__mf_watch_or_not): Tweak tracing message.
1103         * testsuite/libmudflap.c/fail21-frag.c: Defeat aliasing
1104         optimizations.
1105         * testsuite/libmudflap.c/pass25-frag.c: Ditto.
1106         * testsuite/libmudflap.c/pass26-frag.c: Tolerate non-overlapping
1107         (unoptimized) allocation of stack space.
1108
1109 2003-12-07  Richard Henderson  <rth@redhat.com>
1110
1111         * testsuite/libmudflap.c/fail23-frag.c (main): Adjust addend to 11.
1112         * testsuite/libmudflap.c/fail27-frag.c (foo): Mark noinline.
1113
1114 2003-12-06  Andrew Pinski <apinski@apple.com>
1115
1116         partial PR libmudflap/12670
1117         * mf-hooks1.c: Respect Darwin checks.  Conditionalize POSIX_SOURCE.
1118         * mf-hooks2.c: Likewise.
1119         * mf-hooks3.c: Likewise.
1120
1121 2003-11-19  Frank Ch. Eigler  <fche@redhat.com>
1122
1123         libstdc++/11696
1124         * mf-runtime.h.in: Switch to #pragma redefine_extname for
1125         symbols interposed at compile time.
1126         * testsuite/libmudflap.c++/pass41-frag.cxx: New test.
1127
1128         libmudflap/12939
1129         * mf-hooks2.c (semctl): Tolerate FreeBSD.
1130
1131         * configure.in: Reorganize check for <pthread.h>.
1132         * configure: Regenerated.
1133
1134 2003-11-04  David Edelsohn  <edelsohn@gnu.org>
1135
1136         * mf-runtime.c (_ALL_SOURCE): Define for AIX.
1137         (_LARGE_FILE_API): Define for AIX.
1138         * mf-hooks[123]: Same.
1139         (_XOPEN_SOURCE_EXTENDED): Define to 1 for AIX.
1140
1141 2003-10-21  David Edelsohn  <edelsohn@gnu.org>
1142
1143         * mf-runtime.c (_XOPEN_SOURCE_EXTENDED): Define to 1 for AIX.
1144
1145 2003-07-29  Frank Ch. Eigler  <fche@redhat.com>
1146
1147         2003-07-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1148
1149         * configure.in: Update check for union semun.
1150
1151 2003-07-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1152
1153         PR other/11673
1154         * mf-hooks2.c [WRAP_semctl]: Fix check for HAVE_UNION_SEMUN.
1155
1156 2003-07-29  Frank Ch. Eigler  <fche@redhat.com>
1157
1158         PR other/11673
1159         * configure.in: Add checks for 64-bit LFS functions, struct semun
1160         definition, for BSD compatibility.
1161         * mf-hooks1.c: Respect BSD checks.  Conditionalize POSIX_SOURCE.
1162         * mf-hooks2.c: Ditto.  Include <strings.h> for bcmp* decls.
1163         * mf-hooks3.c: Ditto.
1164         (pthread_create): Try MAP_ANON on platforms without the MAP_ANONYMOUS
1165         mmap flag.
1166         * configure, config.h.in: Regenerated.
1167
1168 2003-07-23  Frank Ch. Eigler  <fche@redhat.com>
1169
1170         Multithreading fixes:
1171         * mf-runtime.c (__mf_object): Store allocating/deallocating
1172         thread id.
1173         (options): Support new "-thread-stack" option.
1174         Rename "-heur-argv-environ" option to "-heur-stdlib".
1175         Disable "-lc-mask" and "-lc-shift" options.
1176         (__mf_dynamic): Add function pointers for pthread_join/_exit.
1177         (__assert_fail): New self-contained function for glibc.
1178         * mf-hooks3.c: Essentially rewritten, particularly related to
1179         use of __mf_pthread_info array.
1180         (pthread_join, _exit): New hook functions.
1181         * mf-impl.h (BEGIN_PROTECT): Handle starting_p case.
1182         * testsuite/libmudflap.cth/pass40-frag.c: New test.
1183
1184         Warning cleanups:
1185         * mf-heuristics.c: Add type casts for tracing, sub calls.
1186         * mf-impl.h (BEGIN_PROTECT): Redefine to omit result type.
1187         Update all callers to declare explicit result holder.
1188         (END_PROTECT): Removed.
1189         * testsuite/*/*frags.exp: Clean up default MUDFLAP_OPTIONS.
1190
1191 2003-07-15  Diego Novillo  <dnovillo@redhat.com>
1192
1193         * testsuite/libmudflap.c/fail21-frag.c: Add volatile modifiers.
1194         * testsuite/libmudflap.c/fail15-frag.c: Likewise.
1195         * testsuite/libmudflap.c/fail13-frag.c: Likewise.
1196
1197 2003-07-04  Frank Ch. Eigler  <fche@redhat.com>
1198
1199         * mf-hooks1.c, 2.c, 3.c: New file, splits up content from old ...
1200         * mf-hooks: Removed.
1201         * mf-impl.h (MF_VALIDATE_EXTENT, BEGIN_PROTECT, END_PROTECT):
1202         Move these macros from old mf-hooks.c here.
1203         * Makefile.am: Adapt to split-up hook sources for faster builds.
1204         * Makefile.in: Regenerated.
1205
1206         * mf-heuristics.c: Remove #if-0 block.
1207
1208         * mf-impl.h (__mf_state): Reorganize declaration and implementation.
1209         (__mf_starting_p): New state only for use while dlsym bootstrapping.
1210         (CALL_REAL, __mf_init): Corresponding changes.
1211         (TRACE, VERBOSE_TRACE): Include thread id and "mf:" prefix.  Update
1212         all callers to remove redundant "mf:" prefix.
1213         * mf-runtime.h.in: #define a few reentrancy macros for libmudflapth.
1214         * mf-hooks3.c: Rewrite chunks to support per-thread __mf_state value.
1215         (__mf_pthread_info): Become a hash table.
1216
1217         * testsuite/lib/mfdg.exp: Support new "dg-timeout" and
1218         "dg-repetitions" directives to control test case execution.
1219         * testsuite/libmudflap.cth/pass37-frag.c: Add timeout and repeat
1220         options.
1221         * testsuite/libmudflap.cth/pass39-frag.c: Ditto for this new test.
1222
1223 2003-06-25  Frank Ch. Eigler  <fche@redhat.com>
1224
1225         * mf-hooks.c (alloca): Separate into stub.
1226         (__mf_wrap_alloca_indirect): New function.  Use CALL_REAL
1227         malloc/free for alloca blocks.
1228         (pthread_create): Tolerate failing pthread_attr_get* calls.
1229         * mf-runtime.c (__mf_fini): Call __mf_wrap_alloca_indirect.
1230         * mf-impl.h (CALL_WRAP): Remove macro.
1231         * testsuite/libmudflap.c/pass21-frag.c: Include <alloca.h>.
1232         * testsuite/libmudflap.c/pass23-frag.c: Include more struct
1233         padding for ia64 BIT_FIELD_REF constructs.
1234
1235 2003-06-19  Frank Ch. Eigler  <fche@redhat.com>
1236
1237         * mf-hooks.c (struct pthread_info): Add "thread_errno" field.
1238         (__mf_pthread_spawner, __mf_pthread_cleanup): Use it with GUESS
1239         libmudflap object type.
1240         * mf-runtime.c (__mfu_unregister): Correct cemetary logic to avoid
1241         crashes on unregistering STATIC objects.
1242
1243 2003-06-17  Frank Ch. Eigler  <fche@redhat.com>
1244
1245         Based on patch from Eyal Lebedinsky <eyal@eyal.emu.id.au>:
1246         * mf-hooks.c (__mf_pthread_spawner): Register thread errno.
1247         (time, strerror, fopen, fopen64, fclose, fread): New hooks.
1248         (fwrite, fgetc, fgets, getc, gets, ungetc, fputc): New hooks.
1249         (fputs, putc, puts, clearerr, feof, ferror, fileno): New hooks.
1250         (printf, fprintf, sprintf, snprintf, vprintf, vfprintf): New hooks.
1251         (vsprintf, vsnprintf, access, remove, fflush, fseek): New hooks.
1252         (fseeko64, ftell, ftello64, rewind, fgetpos, fsetpos): New hooks.
1253         (stat, stat64, fstat, lstat, mkfifo, setvbuf, setbuf): New hooks.
1254         (setvbuf, opendir, closedir, readdir, recv, recvfrom): New hooks.
1255         (recvmsg, send, sendto, sendmsg, setsockopt, getsockopt): New hooks.
1256         (accept, bind, connect, gethostname, sethostname): New hooks.
1257         (gethostbyname, wait, waitpid, popen, pclose, execve): New hooks.
1258         (execv, execvp, system, dlopen, dlclose, dlerror, dlsym): New hooks.
1259         (semop, semctl, shmctl, shmat, shmdt): New hooks.
1260         * mf-runtime.h.in: Corresponding changes.
1261         * mf-runtime.c (__mf_ini): Register stdio objects.  Use STATIC type.
1262         (opts) Rename heur_argv_environ to heur_std_data.
1263         (__mf_wrap_main): Use STATIC type for argv/environ strings.
1264         * Makefile.am: Corresponding changes.
1265         * Makefile.in: Regenerated.
1266
1267 2003-06-11  Frank Ch. Eigler  <fche@redhat.com>
1268
1269         * mf-heuristics.c (__mf_heuristic_check): Disable stack_bounds
1270         heuristic for threaded case, and for non-x86-linux targets.
1271         * mf-hooks.c (__mf_0fn_calloc): Provide a working dummy implementation
1272         for use during pre-main() program startup.
1273         (__mf_0fn_*): Make these functions non-static.
1274         * mf-impl.h (DECLARE, CALL_REAL): Support calls to 0fn backup hook
1275         functions.
1276         * mf-runtime.c (__mf_state): Set initial state to "starting".
1277         (__mf_resolve_single_dynamic): Tolerate repeated calls for same symbol.
1278         (__wrap_main): New function to register argv[] and environ[] strings.
1279         (__mf_ini): Call it.
1280         (*): In all trace functions, use "%p" as formatter for uintptr_t.
1281
1282         * testsuite/libmudflap.c/pass38-frag.c: New test case.
1283         * testsuite/libmudflap.cth/pass37-frag.c: Improved test.
1284
1285         * acinclude.m4: Add comments with aoliva's concerns about x86_64
1286         pass_all.
1287         * aclocal.m4, configure: Regenerated.
1288
1289 2003-06-04  Frank Ch. Eigler  <fche@redhat.com>
1290
1291         * acinclude.m4: Correct typo in AC_MSG_CHECKING.
1292         * aclocal.m4, configure: Regenerated.
1293
1294 2003-06-03  Frank Ch. Eigler  <fche@redhat.com>
1295
1296         * acinclude.m4: Force "pass_all" deplibs_check_method for libtool
1297         for x86_64 target.  Disable caching for this value.
1298         * aclocal.m4, configure: Regenerated.
1299
1300 2003-06-02  Frank Ch. Eigler  <fche@redhat.com>
1301
1302         * testsuite/libmudflap.c/pass38-frag.c: Deleted.  -fwritable-strings
1303         is about to become deprecated, and its present handling bugs are
1304         unworthy of fixing.
1305
1306 2003-05-30  Frank Ch. Eigler  <fche@redhat.com>
1307
1308         * testsuite/libmudflap.c/pass38-frag.c: New test for
1309         -fwritable-strings.
1310
1311 2003-05-23  Frank Ch. Eigler  <fche@redhat.com>
1312
1313         * mf-runtime.c (__mf_sigusr1_handle): Call unlocked variant of
1314         __mf_report, asserting reentrant calling context.
1315
1316 2003-05-23  Frank Ch. Eigler  <fche@redhat.com>
1317
1318         * mf-hooks.c (realloc): Correct reentrancy logic.
1319         * testsuite/libmudflap.c/hook-allocstuff.c: New test case.
1320
1321 2003-05-20  Frank Ch. Eigler  <fche@redhat.com>
1322
1323         * mf-hooks.c (LIBMUDFLAPTH_THREADS_MAX): New macro, replaces
1324         PTHREAD_THREADS_MAX.  Update users.
1325         * mf-runtime.c (__mf_usage): Print [active] instead of [default]
1326         for active options.
1327         * testsuite/Makefile.am (all-local): Prime dejagnu site.exp file
1328         with libmudflapth presence indicator.
1329         * testsuite/Makefile.in: Regenerated.
1330
1331 2003-05-16  Frank Ch. Eigler  <fche@redhat.com>
1332
1333         * Makefile.am (AM_CFLAGS): Remove "-ansi".
1334         * configure.in: Remove silly no-pthreads => no-shared logic.
1335         * Makefile.in, configure: Regenerated.
1336         * mf-heuristics.c (__mf_heuristic_check): Remove reentrancy hacks.
1337         * mf-hooks.c (BEGIN_PROTECT, END_PROTECT): Reorganize reentrancy
1338         code.  Count reentrancy events.
1339         (all hook functions): Don't directly manipulate __mf_state variable.
1340         Add TRACE calls to hook functions without them.
1341         * mf-impl.h (LOCKTH): Try to count lock contention events.
1342         (VERBOSE_TRACE, TRACE): Remove reentrancy hacks.
1343         * mf-runtime.c (BEGIN_RECURSION_PROTECT, END_RECURSION_PROTECT):
1344         Reorganize reentrancy code.
1345         (external __mf_ entry points): Use RECURSION_PROTECT mechanism to
1346         identify reentrancy with mutex holding times.
1347         (internal __mfu_ entry points): Remove internal reentrancy code.
1348         (__mf_init): Use ordinary locked calls.
1349         (__mfu_report): Print the two new counts.
1350         * testsuite/lib/libmudflap.exp: Filter out junk ld/pthreads messages.
1351         * testsuite/libmudfap.cth/cthfrags.exp: New test driver.
1352         * testsuite/libmudflap.cth/pass37-frag.c: New pthreads test.
1353         * testsuite/libmudfap.cth/cfrags.exp: Adapt to new libmudflap
1354         option defaults.
1355
1356 2003-05-09  Frank Ch. Eigler  <fche@redhat.com>
1357
1358         * configure.in: Add pthread support, plus glibc and porting hacks.
1359         * Makefile.am (LIBMUDFLAPTH): New conditional, to build -lmudflapth
1360         from objects built into ./pth/.
1361         * mf-runtime.c (__mfu_watch,register,...): Fork new unlocked
1362         functions for internal entry points.  Update callers to pick
1363         locked vs. unlocked variants.
1364         (__mf_resolve_single_dynamic): Extend to support symbol versioning
1365         info coming in from a static data structure.
1366         (*): Reorder miscellaneous declarations to group data vs functions.
1367         (__mf_set_default_options): Simplify.
1368         (__mf_usage): Mention threading status of host executable.
1369         * mf-impl.h: Move max/min decls here.  Reorganize __mf_dynamic
1370         decls to match above.
1371         (LOCKTH, UNLOCKTH): New macros for Big Libmudflap Lock management.
1372         * mf-heuristics.c: Choose between locked/unlocked calls.  Add
1373         some lock/unlock markers.  Remove some unused code.
1374         * mf-hooks: Ditto.
1375         (pthread_create): New hook function.
1376         (__mf_pthread_cleanup, _spawner): New helper functions.
1377         * configure. aclocal.m4, config.h.in, Makefile.in: Regenerated.
1378
1379 2003-05-02  Frank Ch. Eigler  <fche@redhat.com>
1380
1381         * testsuite/libmudflap.c/fail27-frag.c: Add more volatile flags.
1382
1383 2002-04-28  Frank Ch. Eigler  <fche@redhat.com>
1384
1385         * Makefile.am (HOOKOBJS): Add *time related hooks.
1386         * configure.in: Look for pthreads.h header.
1387         * mf-hooks.c (asctime, ctime, gmtime, localtime): New wrappers.
1388         * mf-runtime.c: Begin sketching some pthreads support.
1389         (__mf_usage): Check for -lpthread presence.
1390         (__mf_unregister): Confirm matching unregistration base.
1391         (__mf_find_objects_rec): Reduce unnecessary recursion.
1392         * mf-runtime.h.in: Add "nothrow" attribute to functions.  Add
1393         #defines for new hook functions.
1394         * mf-impl.h: Corresponding changes.
1395         * config.h.in, configure, Makefile.in: Regenerated.
1396
1397 2002-04-27  Diego Novillo  <dnovillo@redhat.com>
1398
1399         * testsuite/libmudflap.c/fail1-frag.c: Add volatile
1400         modifiers to prevent being optimized away.
1401         * testsuite/libmudflap.c/fail10-frag.c: Likewise.
1402         * testsuite/libmudflap.c/fail13-frag.c: Likewise.
1403         * testsuite/libmudflap.c/fail14-frag.c: Likewise.
1404         * testsuite/libmudflap.c/fail15-frag.c: Likewise.
1405         * testsuite/libmudflap.c/fail2-frag.c: Likewise.
1406         * testsuite/libmudflap.c/fail20-frag.c: Likewise.
1407         * testsuite/libmudflap.c/fail3-frag.c: Likewise.
1408
1409 2003-04-15  Frank Ch. Eigler  <fche@redhat.com>
1410
1411         * Makefile.am (libmudflap_la_LIBADD): Remove -ldl.
1412         * configure.in: Look for uintptr_t and -ldl on target.
1413         * mf-runtime.h.in: Adjust uintptr_t declaration logic.
1414         * Makefile.in, aclocal.m4, configure, config.h.in: Regenerated.
1415         * testsuite/Makefile.in: Regenerated.
1416         * mf-runtime.c (__mf_sigusr1_respond): Tweak declaration and calls
1417         for better C compliance.
1418
1419 2003-04-15  Frank Ch. Eigler  <fche@redhat.com>
1420
1421         * mf-hooks.c (MF_VALIDATE_EXTENT): Remove unnecessary reentrancy
1422         prevention code.
1423         * mf-runtime.c (__mf_set_default_options): Turn off
1424         check-initialization.
1425         (__mf_describe_object): Shorten description.
1426         * testsuite/libmudflap.c/fail25-frag.c: Turn on check-initialization.
1427
1428 2003-04-07  Frank Ch. Eigler  <fche@redhat.com>
1429
1430         * mf-hooks.c (__mf_0fn_mmap): Correct return value, as per <rth>.
1431
1432 2003-04-02  Frank Ch. Eigler  <fche@redhat.com>
1433
1434         * mf-hooks.c (BEGIN_PROTECT): Handle startup-time reentrant
1435         calls specially.
1436         (__mf_0fn_malloc ... _munmap): New dummy backup calls.
1437         * mf-impl.h (CALL_BACKUP): New macros.
1438         * mf-runtime.c (__mf_init): Tweak __mf_state during startup.
1439
1440 2003-03-31  Frank Ch. Eigler  <fche@redhat.com>
1441
1442         * Makefile.am (AM_CFLAGS): Remove optimization flags.
1443         (HOOKOBJS): Remove dlopen hook.
1444         (libmudflap_la_LIBADD): Add -ldl.
1445         * mf-hooks.c (dlopen): Remove hook.
1446         * mf-impl.h (__mf_dynamic): Ditto.
1447         * mf-runtime.c (__mf_resolve_dynamics): Ditto.
1448         * Makefile.in: Regenerated.
1449
1450 2003-03-28  Frank Ch. Eigler  <fche@redhat.com>
1451
1452         * configure.in: Check for target gettimeofday, signal, some headers.
1453         * mf-impl.h (__mf_opts): Add new "sigusr1_report" field.  Comment
1454         out inop multi_threaded field.
1455         * mf-runtime.c (options): Handle new "-sigusr1-report" option.
1456         (__mf_set_options): Correct handling of "-help".
1457         (__mf_sigusr1_respond): New function to manage SIGUSR1 response.
1458         (__mf_check, __mf_register, __mf_unregister): Call it.
1459         (__mf_insert_new_object, __mf_unregister): Respect HAVE_GETTIMEOFDAY.
1460         (__mf_report_leaks): Make callable
1461         (__mf_tree_analyze): Traverse in-order.  Accumulate address bit
1462         distribution statistics.
1463         (__mf_adapt_cache): Rewrite shift guessing logic based on address
1464         bit distributions.
1465         * config.h.in, configure: Regenerated.
1466         * testsuite/libmudflap.c/fail27-frag.c: New test.
1467         * testsuite/libmudflap.c/pass36-frag.c: New test.
1468
1469 2003-03-11  Frank Ch. Eigler  <fche@redhat.com>
1470
1471         * mf-runtime.h.in: Tweak.
1472         * Makefile.am, configure.in: Tweak mf-runtime.h generation some more.
1473         Don't use intermediate files nor AC_OUTPUT-time postprocessing.
1474         * Makefile.in, testsuite/Makefile.in, configure: Regenerated.
1475
1476 2003-03-10  Frank Ch. Eigler  <fche@redhat.com>
1477
1478         * configure.in: Tweak generation of mf-runtime.h some more.  It
1479         needs to work from both config.status and configure.
1480         * configure: Regenerated.
1481
1482 2003-03-10  Frank Ch. Eigler  <fche@redhat.com>
1483
1484         * Makefile.am: Reorganize hook file building.  Add auto dependencies.
1485         * configure.in: Tweak generation of mf-runtime.h.
1486         * mf-runtime.h.in: Add new __MF_TYPE_HEAP_I.
1487         * mf-hooks.c (*): Adapt to initialized-heap object type.
1488         * mf-impl.h: Tweak cemetary boundaries.
1489         * mf-runtime.c (__mf_check): Adapt to new initialized-heap object
1490         type.
1491         (__mf_insert_new_object, __mf_register, __mf_unregister): Ditto.
1492         (__mf_describe_object, __mf_report_leaks, __mf_violation): Ditto.
1493         * testsuite/lib/libmudflap.exp (includes): Include build tree.
1494         * testsuite/libmudflap.c/pass{26,5}: Further adapt to initialization
1495         checking.
1496         * testsuite/.../fail{25,26}-frag.c: New tests.
1497         * testsuite/.../pass{32,33,34,35}-frag.c: New tests.
1498         * Makefile.in, configure: Regenerated.
1499
1500 2003-03-05  Frank Ch. Eigler  <fche@redhat.com>
1501
1502         * mf-runtime.c (__mf_set_default_options): Turn on initialization
1503         checking by default.
1504         (__mf_insert_new_object): As a temporary hack, assume that new
1505         objects registered on the stack start out initialized.
1506         * testsuite/libmudflap.c/fail9,pass23,pass[6789]-*: Initialize
1507         heap objects by hand.
1508
1509 2003-03-05  Frank Ch. Eigler  <fche@redhat.com>
1510
1511         Switch to macro-style hooks for str*/mem*/b* functions.
1512         * mf-runtime.h.in (__MF_TYPE_*): Moved some internal values out.
1513         (mem*, str*, b*): Added macro-style hooks for _MUDFLAP case.
1514         * mf-runtime.c: #include config.h to enable glibc backtraces again.
1515         (__mf_set_default_options): Turn off heur_proc_map.
1516         (*): Adapt to to macro-style hook functions.
1517         (__mf_object_dead_head, __mf_object_cemetary): Correct bounds.
1518         (__mf_check, __mf_register, __mf_unregister): Tweak tracing message.
1519         (__mf_violation): Handle __MF_VIOL_WATCH.
1520         * mf-impl.h (__MF_TYPE_*): Moved these internal values here.
1521         (__mf_dynamic): Removed mem*/str*/b* functions.
1522         (TRACE, VERBOSE_TRACE): Add reentrancy locking.
1523         (WRAPPER2): New macro for macro-style hooks.
1524         * mf-hooks.c: Convert mem*/str*/b* functions to simpler
1525         macro-style hooks.
1526         (BEGIN_PROTECT): Tweak tracing vs reentrancy-lock ordering.
1527         * mf-heuristics.c: Adapt to macro-style hook functions.
1528         Correct some comments.
1529         * testsuite/lib/mfdg.exp (dg-test): Simplify result string for
1530         output pattern tests.
1531         * testsuite/libmudflap.c/fail[89]-frag.c: Elaborate output test.
1532         * testsuite/libmudflap.c++/c++frags.exp: Enable non-static tests.
1533
1534 2003-02-28  Frank Ch. Eigler  <fche@redhat.com>
1535
1536         * testsuite/libmudflap.c/fail23-frag.c, pass30-frag.c: New tests
1537         for global array registration.
1538         * testsuite/libmudflap.c++/fail24-frag.cxx, pass31-frag.cxx: Ditto.
1539         * testsuite/libmudflap.c++/c++frags.exp: Tweak -static multilib hack.
1540
1541 2003-02-27  Frank Ch. Eigler  <fche@redhat.com>
1542
1543         * Makefile.am: Add gross make bug workarounds.  Tweaked
1544         SUBDIRS and AM_CFLAGS.
1545         * Makefile.in: Regenerated.
1546
1547 2003-02-26  Frank Ch. Eigler  <fche@redhat.com>
1548
1549         Switch to dejagnu.
1550         * configure.in (AC_PROG_CXX): Don't look for C++ any more.
1551         * Makefile.am (TESTS): Remove simple automake testing.
1552         * configure, Makefile.in: Regenerated.
1553         (SUBDIRS): Include new testsuite/ directory.
1554         * tests/*: Removed all files; moved bulk under:
1555         * testsuite/*: New subdirectory tree.
1556         * testsuite/libmudflap.c/cfrags.exp: New file, C test driver.
1557         * testsuite/libmudflap.c++/c++frags.exp: New file, C++ test driver.
1558         * testsuite/lib/libmudflap.exp: New file, derived from libstdc++.
1559         * testsuite/lib/mfdg.exp: New file, derived from dejagnu.
1560         * testsuite/config/default.exp: New file.
1561         * testsuite/Makefile.am, Makefile.in: New files.
1562
1563 2003-01-29  Frank Ch. Eigler  <fche@redhat.com>
1564
1565         * Makefile.am (TESTS_ENVIRONMENT): Remove redundant "-mode-check".
1566         (TESTS): Add fail22 and pass29 tests.
1567         * mf-runtime.h.in: Change API to take void*/size_t region parameters.
1568         Add new access-type parameter for __mf_check.  Move __MF_VIOL* out.
1569         * mf-impl.h: Corresponding changes.  Update CLAMP* macros for void*
1570         values.  Move __MF_VIOL* here.
1571         * mf-runtime.c (*): Adapt to void*/size_t API in mf-runtime.h.
1572         (check_initialization): New field in __mf_opts.  Default off.
1573         (read_count,write_count): New fields in __mf_object.
1574         (__mf_check): Implement basic initialization checking.
1575         (__mf_insert_new_object): Assume STATIC|GUESS regions are initialized.
1576         (__mf_describe_object): Print new fields.
1577         (__mf_violation): Identify check/read vs. check/write in messages.
1578         * test/pass29-frag.c, test/fail22-frag.c: Basic tests for new
1579         "-check-initialized" mudflap option.
1580         * test/pass25-frag.c, test/fail21-frag.c: Adapt to API changes.
1581         * mf-hooks.c (MF_VALIDATE_EXTENT): Add new access-type parameter.
1582         Drop __FILE__/__LINE__ hack.  Update callers.
1583         (*): Adapt to new mf-runtime.h API.
1584         * Makefile.in: regenerated.
1585
1586 2003-01-24  Frank Ch. Eigler  <fche@redhat.com>
1587
1588         * configure.in: Build mf-runtime.h a more proper way.
1589         * mf-hooks.c (strdup, strndup): Correct reentrancy logic.
1590         * mf-runtime.c (verbose_violations): Turn on by default.
1591         * mf-runtime.h.in: Remove some miscellaneous stuff ...
1592         * mf-impl.h: ... and move it here.
1593         * configure: Regenerated.
1594
1595 2003-01-22  Frank Ch. Eigler  <fche@redhat.com>
1596
1597         * configure.in: Look for C++ compiler.
1598         * test/*-frag.c, mf-driver.c: Reformatted with GNU indent and
1599         fixed type warnings when built with C++.
1600         * test/pass27-frag.cxx, pass28-frag.cxx: New C++ tests.
1601         * Makefile.am (TESTS): Run them.
1602         (*) Add new rules for building and running C++ tests.
1603         (TESTFLAGS): Set new default to avoid libstdc++-v3 shlib issues.
1604         * mf-runtime.h.in: Protect with extern "C".
1605         * Makefile, configure: Regenerated.
1606
1607 2003-01-06  Frank Ch. Eigler  <fche@redhat.com>
1608
1609         Portability improvements.
1610         * configure.in: Look for glibc backtrace headers/functions.
1611         * mf-hooks.c: Don't include <execinfo.h> any more.
1612         * mf-runtime.c (__mf_set_options): Call more stdlib functions
1613         via CALL_REAL.
1614         (__mf_backtrace): Provide alternate baby implementation in
1615         absence of glibc.
1616         * test/mf-driver.c: Portability tweaks.
1617         * acinclude.m4: New file, containing top level libtool.m4.
1618         * aclocal.m4, configure, Makefile.in, config.h.in: Regenerated.
1619
1620 2002-12-19  Frank Ch. Eigler  <fche@redhat.com>
1621
1622         * mf-runtime.h.in (HAVE_UINTPTR_T): Define unconditionally.
1623
1624 2002-11-08  Frank Ch. Eigler  <fche@redhat.com>
1625
1626         * mf-runtime.c (options): Add new "wipe-heap", "wipe-stack"
1627         options.
1628         (__mf_unregister): Implement stack/heap object wiping.
1629         (__mf_set_options): Renamed from __mf_process_opts.
1630         (__mf_uncache_object): Change arg type, correct callers.
1631         * mf-impl.h: Corresponding changes.
1632         * mf-hooks.c (realloc): Save/restore heap-wiping flag.
1633         * mf-runtime.h.in (__mf_set_options): Extend public API.
1634         * test/pass26-frag.c: New test for stack wiping.
1635         * Makefile.am (TESTS): Run it.
1636         * Makefile.in: Regenerated.
1637
1638 2002-11-07  Frank Ch. Eigler  <fche@redhat.com>
1639
1640         * mf-runtime.h.in (__mf_watch, __mf_unwatch): Extend public API.
1641         * mf-runtime.c (__mf_object_t): Add watching_p field.
1642         (__mf_watch_or_not): New function to implement
1643         object watch flagging.
1644         (__mf_watch, __mf_unwatch): New wrappers for above.
1645         (__mf_check, __mf_describe_object): Handle objects with watching_p.
1646         (__mf_count_violation): Enlarge array.
1647         (__mf_uncache_object): Renamed from __mf_remove_old_object.  Don't
1648         unlink object.  Clear cache properly.
1649         (__mf_unregister): Unlink object explicitly before uncaching.
1650         * test/fail21-frag.c, pass25-frag.c: New tests.
1651         * Makefile.in, aclocal.m4: Regenerated.
1652
1653 2002-11-05  Frank Ch. Eigler  <fche@redhat.com>
1654
1655         * test/fail20-frag.c: New test for NULL pointer dereferencing.
1656         * Makefile.am (TESTS): Add it.
1657         * test/pass-stratcliff.c: Add decls of stpcpy.
1658         * configure.in: Test for <stdint.h>.  Generate mf-runtime.h in
1659         build tree from config.h and new file mf-runtime.h.in.
1660         * mf-runtime.h.in: Renamed from mf-runtime.h.  Tweak uintptr_t decl.
1661         * Makefile.in, configure, config.h.in: Regenerated.
1662         * mf-hooks.c: Add #undef for wrapped glibc str*/mem* macros.
1663         * mf-runtime.c (options, __mf_set_default_options): Support new
1664         default "abbreviate" option.
1665         (__mf_object.description_epoch): New field.
1666         (__mf_describe_object): Conditionally abbreviate objects already
1667         displayed in current epoch.  Accept NULL input to increment epoch.
1668         (__mf_fini, __mf_ini): Reset description epoch.
1669         (__mf_register, __mf_unregister, __mf_adapt_cache, __mf_init): Ensure
1670         that NULL pointer slot in lookup cache is invalidated.  Register a
1671         NOACCESS region around NULL.
1672         * mf-impl.h: Corresponding changes.
1673
1674 2002-10-16  Frank Ch. Eigler  <fche@redhat.com>
1675
1676         * test/fail19-frag.c, pass24-frag.c, pass-stratcliff.c: New tests.
1677         * Makefile.am: Run them.  Install mf-runtime.h.
1678         * Makefile.in: Regenerated.
1679         * mf-hooks.c: Add some markers for more missing functions.
1680         * mf-runtime.c (__mf_adapt_cache): Experiment with a utilization-based
1681         statistic to tune tune cache size (mask).
1682
1683 2002-10-01  Frank Ch. Eigler  <fche@redhat.com>
1684
1685         * test/pass23-frag.c: New test for bit_field_ref expressions.
1686         * Makefile.am, Makefile.in: Add new test.
1687         * mf-hooks.c (mmap, munmap): Rewrite to track individual pages.
1688         (MF_VALIDATE_EXTENT): Accept zero-size mem/str operations.
1689         * mf-runtime.c (__mf_init): Register errno global.
1690         (__mf_find_object): Removed function.
1691         (__mf_check): Rewrite logic to support accesses across some
1692         contiguous but distinctly registered objects.
1693         (__mf_remove_old_object): Tolerate cache entries that span
1694         contiguous objects.
1695
1696 2002-09-30  Frank Ch. Eigler  <fche@redhat.com>
1697
1698         * test/pass21-frag.c, pass22-frag.c: New tests: alloca, bitfields.
1699         * Makefile.am, Makefile.in: Run new tests.
1700         * mf-hooks.c (alloca): Correct stack direction logic.
1701
1702 2002-09-26  Frank Ch. Eigler  <fche@redhat.com>
1703
1704         * mf-impl.h (adapt_cache): New option.
1705         * mf-runtime.c (__mf_set_default_options): Set its default value.
1706         Tweak the tree_aging parameter down.
1707         (__mf_check): Maintain separate counter for cache-adaptation.
1708         (__mf_tree_analyze): New function to collect object tree stats.
1709         (__mf_adapt_cache): New function to automate cache parameters.
1710
1711 2002-09-24  Frank Ch. Eigler  <fche@redhat.com>
1712
1713         * mf-heuristics.c (__init_misc, __mf_heuristic_check): Add
1714         hypothetical #if-0'd argv/envp region registration.
1715         * mf-runtime.c (__mf_init): Add kludged form of above.
1716         (*) Add "heur_argv_environ" flag, default on, to govern this.
1717         * mf-impl.h: Corresponding changes.
1718
1719 2002-09-20  Frank Ch. Eigler  <fche@redhat.com>
1720
1721         * test/fail18-frag.c: New test file for NOACCESS regions.
1722         * Makefile.am (TESTS): Add new test.
1723         * Makefile.in: Regenerated.
1724
1725         * mf-heuristics.c (__mf_heuristics_check): Correct deja_vu logic.
1726         * mf-impl.h (tree_aging): Add new mudflap_option, default 1000000.
1727         (optimize_object_tree): Remove unused mudflap_option.
1728         * mf-runtime.h (__MF_TYPE_NOACCESS): New region type.  Add printing
1729         support throughout.  Use .._MAX_CEM for cemetary upper bound.
1730         * mf-runtime.c (__mf_init): Register __mf_* globals as NOACCESS
1731         regions.
1732         (__mf_object): Add new liveness field for use by tree aging.
1733         (__mf_check): Trigger tree aging when needed.
1734         (__mf_age_tree): New function to decay liveness field.
1735         (__mf_find_objects_rec): Use liveness field to rotate tree.
1736         (__mf_insert_new_object): Only provide backtrace for HEAP objects.
1737         (__mf_unregister): Ditto.
1738         (__mf_register): Tweak duplicate-static message.
1739         (__mf_violation: Tweak nearby-object counter printing.
1740
1741 2002-09-16  Frank Ch. Eigler  <fche@redhat.com>
1742
1743         * test/pass20-frag.c: New test file.
1744         * Makefile.am (TESTS): Reorganize.  Add pass20 test.
1745         * Makefile.in: Regenerated.
1746
1747         * mf-impl.h (TRACE_IN, TRACE_OUT): Remove macros.  Update callers.
1748         * mf-hooks.c (BEGIN_PROTECT): Add hook tracing here.
1749         * mf-heuristic.c (__mf_heuristic_check): Track seen /proc/self/map
1750         entries to avoid repeat registration.
1751         * mf-runtime.c (__mf_object_cemetary): Don't bother bury GUESS regions.
1752         (__mf_register, __mf_unregister): Rewrite GUESS handling logic.
1753
1754 2002-09-09  Frank Ch. Eigler  <fche@redhat.com>
1755
1756         * Makefile.am: Create test sources with #include, not cat>>.
1757         * Makefile.in: Regenerated.
1758         * test/buildtest.sh: Removed.
1759         * test/driver.c (abort_handler, main): Be quiet.
1760
1761 2002-09-06  Frank Ch. Eigler  <fche@redhat.com>
1762
1763         * test/pass18-frag.c, pass19-frag.c: New tests.
1764         * Makefile.am (check): Run them.  Rebuild test programs each time.
1765         * Makefile.in: Regenerated.
1766
1767 2002-09-06  Frank Ch. Eigler  <fche@redhat.com>
1768
1769         * mf-runtime.c (__mf_register): Correct SEGV-inducing error in
1770         overlapping object search.
1771         (__mf_violation): Likewise for nearby objects.
1772         Improve nearby-object listing.
1773
1774         cleanup:
1775         * mf-runtime.c, mf-hooks.c: Remove "{{{"/"}}}" folding marks.
1776         * mf-heuristics.c (__mf_heuristic_check): Tweak message.
1777
1778 2002-09-03  Frank Ch. Eigler  <fche@redhat.com>
1779
1780         alloca support:
1781         * Makefile.am (AM_CFLAGS): New definition of needed settings.
1782         (HOOKOBJS): Add alloca-hook.o.
1783         * mf-hooks.c (alloca): New function to implement alloca in libiberty
1784         style.
1785         * mf-runtime.c (__mf_report): Call alloca(0) to flush remaining blocks.
1786         (__mf_backtrace): Reimplement without using alloca.
1787         * Makefile.in: Regenerated.
1788
1789         cleanup:
1790         * mf-hooks.c: Use VERBOSE_TRACE throughout instead of fprintf(stderr).
1791         Correct signedness bugs in length-tracking variables.
1792         * mf-impl.h: Make options unsigned.
1793         (CALL_WRAP): New macro to parallel CALL_REAL().
1794         (DECLARE): Remove erroneous ";" at end.
1795         * mf-runtime.c, mf-hooks.c, mf-heuristics.c: Replace remaining %p
1796         formatting specs with %08lx.  Correct several compiler warnings.
1797
1798 2002-08-28  Frank Ch. Eigler  <fche@redhat.com>
1799
1800         * mf-runtime.c (__mf_violation): Try harder to locate nearby objects.
1801
1802 2002-08-27  Frank Ch. Eigler  <fche@redhat.com>
1803
1804         libmudflap hook breakup:
1805         * Makefile.am (TESTS_ENVIRONMENT): Add ../../gcc to LD_LIBRARY_PATH
1806         for libgcc_s.
1807         (TESTS): Make dependent on libmudflap.
1808         (HOOKOBJS): Break up mf-hooks.o into many little hook objects,
1809         compiled from segments of mf-hooks.c.
1810         * mf-hooks.c: Corresponding changes: wrap each function in
1811         #ifdef/#endif.
1812         * Makefile.in: Regenerated.
1813
1814         Heuristics reorganization:
1815         * mf-heuristics.c (__mf_register_ro_sections, __mf_init_heuristics):
1816         Remove these functions.  Update callers.
1817         (__mf_heuristic_check): Incorporate all the various heuristics.
1818         Encode cacheability/retry judgement into trinary return value.
1819         Separate start-end logic into a separate fallback heuristic.  Only
1820         register relevant /proc/self/map segments.
1821         * mf-impl.h: Corresponding changes.
1822         * mf-runtime.c (__mf_check): Reorganize heuristics fallback logic.
1823         (__mf_init): Don't call __mf_init_heuristics.
1824
1825         Tracing cleanup:
1826         * mf-heuristics.c, mf-runtime.c: Use new MUDFLAP_OPTION
1827         "-verbose-trace" to emit all tracing messages other than those of
1828         basic public api.  Eliminate some duplicate/excessive messages.
1829         * mf-runtime.h: Corresponding changes.
1830
1831 2002-08-27  Graydon Hoare  <graydon@redhat.com>
1832
1833         * mf-impl.h (WRAPPER): Change to create linker aliases for __wrap
1834         and __real when compiled with -DPIC.
1835         * mf-hooks.c (WRAPPER): Change all uses of WRAPPER macro slightly.
1836         * Makefile.am (AUTOMAKE_OPTIONS): Fix LD_LIBRARY_PATH for tests.
1837         * Makefile.in: Regenerate.
1838
1839 2002-08-26  Graydon Hoare  <graydon@redhat.com>
1840
1841         * mf-impl.h: New file, private implementation header.
1842         * mf-runtime.h: Reorganize a bit.
1843         (CLAMPSZ): Fix arithmetic.
1844         (__MF_CACHE_MISS_P): Fix arithmetic.
1845         * mf-runtime.c: Reorganize a bit.
1846         (__mf_dynamic): New structure.
1847         (resolve_single_dynamic): New function.
1848         (__mf_resolve_dynamics): New function.
1849         (__mf_init): Initialize dynamic wrappers.
1850         * mf-hooks.c: Macro-ize __real calls.
1851         Clamp various bits of arithmetic.
1852         Add explicit __mf_check call contexts.
1853         * Makefile.am: Add dependencies on mf-impl.h
1854         * Makefile.in: Regenerate.
1855         * configure.in: Comment out shared override.
1856         * configure: Regenerate.
1857
1858 2002-08-22  Graydon Hoare  <graydon@redhat.com>
1859
1860         * mf-runtime.c (__mf_process_opts): Sanity-check free_queue_length.
1861         (__mf_check): Re-inialize and check heuristics before violation.
1862         (__mf_register): Permit updating pure-guess regions.
1863         * mf-hooks.c (__wrap_free): Correct some free queue logic.
1864         (__wrap_dlopen): New wrapper function.
1865         (__wrap_mmap): New wrapper function.
1866         (__wrap_munmap): New wrapper function.
1867         * mf-heuristics.c (__mf_register_ro_sections): Register *all* regions
1868         which are not stack addresses.
1869         (is_stack_address): New function.
1870         (__mf_init_heuristics): Save and restore state, always initialize with
1871         "starting" state.
1872
1873 2002-08-21  Frank Ch. Eigler  <fche@redhat.com>
1874
1875         * mf-hooks.c (MF_VALIDATE_EXTENT): Rewrite to correct off-by-one
1876         error.  Pass location string.
1877         (wrap_strcpy, wrap_strncpy): Remove extra %s in trace strings.
1878         * mf-runtime.c (options): Add lc-mask, lc-shift options.
1879         (__mf_process_opts): Apply some sanity checking for lc-mask.
1880         (__mf_check, __mf_violation): Take new location-string argument.
1881         Update callers to pass NULL if necessary.
1882         (__mf_backtrace): New smart backtracer function.  Calls replace
1883         several ad-hoc blocks elsewhere.
1884         (__mf_describe_object): Remove bad reentrancy test.  Improve
1885         tracing message.
1886         * mf-runtime.h: Corresponding changes.  Public/private markup.
1887         (__MF_CACHE_MISS_P): New macro.
1888
1889 2002-08-20  Graydon Hoare  <graydon@redhat.com>
1890
1891         * mf-runtime.h: New option: stack_bound (heuristic).
1892         Move some macros out of implementation files.
1893         * mf-runtime.c: New option string: -stack-bound.
1894         Unify recursion protection with hooks.
1895         Add more logging.
1896         (__mf_check): Call __mf_heuristic_check.
1897         (__mf_process_opts): Fix "no-" processing.
1898         * mf-heuristics.c (__mf_heuristic_check): New function.
1899         * mf-hooks.c: Much off-by-one fixing, recursion protection.
1900
1901 2002-08-20  Frank Ch. Eigler  <fche@redhat.com>
1902
1903         Option parsing improvements, region splitting bug fixes:
1904         * mf-heuristics.c (__mf_register_ro_sections): Add warned casts.
1905         * mf-runtime.h (heur_proc_map): New libmudflap option.
1906         * mf-runtime.c (__mf_set_default_options): Set it.
1907         (__mf_usage): Print default values/status.
1908         (__mf_process_opts): Support general "no-" option string prefix.
1909         (__mf_init): Print __mf_usage on unknown-option error.
1910         (__mf_register): Print trace message up front.
1911         Correct region splitting logic for case where a subregion disappears.
1912         Correct memory leak.
1913         (__mf_violation): Make even basic message conditional on option.
1914
1915         Build cleanup:
1916         * Makefile.am (TESTS_ENVIRONMENT): Add -no-heur-proc-map.
1917         (clean-local): New target.
1918         (test/*x rules): Add -g CFLAGS.
1919         (CFLAGS): Add -freorder-blocks.
1920         (MFCONFIG_CFLAGS, INCLUDE): Remove unneeded settings.
1921         * Makefile.in: Regenerated.
1922         * Makefile, mf-config.h: Removed files.
1923
1924 2002-08-16  Graydon Hoare  <graydon@redhat.com>
1925
1926         * mf-runtime.c (__mf_insert_new_object): Factor out of
1927         __mf_register.
1928         (__mf_remove_old_object): Factor out of __mf_unregister.
1929         (__mf_register): Handle guessed regions, splitting
1930         guesses when new registrations arrive.
1931         (__mf_unregister): Do not unregister guesses.
1932         * mf-runtime.h: Move convenience macros around,
1933         declare new option fields. Add __MF_TYPE_GUESS.
1934         * mf-hooks.c (__wrap_*alloc): Use crumple zones.
1935         (__wrap_free): Call __real_free for deferred frees.
1936         * Makefile.am: Add more tests, fix dependency.
1937         * Makefile.in: Regenerate.
1938         * test/pass[13..17]-frag.c: New testcases.
1939         * test/fail[13..17]-frag.c: New testcases.
1940
1941 2002-08-15  Graydon Hoare  <graydon@redhat.com>
1942
1943         * mf-heuristics.c: New file.
1944         * mf-runtime.c (options): Add -trace-calls option.
1945         (__mf_init): Call __mf_init_heuristics.
1946
1947 2002-08-14  Graydon Hoare  <graydon@redhat.com>
1948
1949         * Makefile.am (TESTS): Add testsuite support.
1950         * Makefile.in: Regenerate.
1951         * test/mf-driver.c: New file.
1952         * test/buildtest.sh: New file.
1953         * test/passNN-frag.c: New testcases.
1954         * test/failNN-frag.c: New testcases.
1955
1956 2002-08-14  Graydon Hoare  <graydon@redhat.com>
1957
1958         * mf-hooks.c: Change __real_strlen() to __real_strlen()+1 when
1959         verifying non-size-limited string extents.
1960
1961 2002-08-14  Frank Ch. Eigler  <fche@redhat.com>
1962
1963         * mf-hooks.c: Make __wrap string* functions use __real_str[n]len
1964         instead of plain str[n]len for internal checks.
1965         * mf-runtime.c (__mf_violation): Print optional stack traceback.
1966
1967 2002-08-14  Frank Ch. Eigler  <fche@redhat.com>
1968
1969         * mf-hooks.c: Remove #if-0 around hooks that are now ld-wrapped.
1970
1971 2002-08-13  Graydon Hoare  <graydon@redhat.com>
1972
1973         * mf-runtime.c: Rework configuration to operate on
1974         environment variable options rather than #defines
1975         (__mf_violation): Add simple fork-a-gdb violaiton mode.
1976         (__mf_init): Set static __mf_active_p flag on startup,
1977         to inhibit mudflap wrap-based checking during crt0.s.
1978         * mf-runtime.h: Declare options structure.
1979         * mf-hooks.c: New wrappings for mem*, b*, str*
1980         libc functions (temporarily #if 0-ed out).
1981
1982 2002-08-12  Frank Ch. Eigler  <fche@redhat.com>
1983
1984         * Makefile.am, configure.in: New files.
1985         * Makefile.in, Makefile, configure, config.h.in: New generated files.
1986         * stamp-h.in, aclocal.m4: Ditto.
1987
1988 2002-08-08  Frank Ch. Eigler  <fche@redhat.com>
1989
1990         * Makefile: New file.
1991         * mf-config.h: New file: runtime configuration.
1992         * mf-hooks.c: New file: interposed libc functions.
1993         * mf-runtime.c: New file: bulk of runtime.
1994         * mf-runtime.h: New file: public functions.