mf-hooks3.c (main_seen_p): Remove.
[gcc.git] / libmudflap / ChangeLog
1 2005-08-15 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
2
3 * mf-hooks3.c (main_seen_p): Remove.
4 (__mf_get_state): Remove attempt to recognize the main thread.
5
6 2005-08-15 Maciej W. Rozycki <macro@linux-mips.org>
7
8 * configure.ac: Test for the name of the symbol used for the entry
9 point; define ENTRY_POINT to the result.
10 * configure: Regenerate.
11 * config.h.in: Regenerate.
12 * mf-heuristics.c: Replace _start with ENTRY_POINT throughout.
13
14 2005-08-14 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
15
16 * mf-runtime.c (__mf_state_1): Initialize to reentrant.
17 (__mf_init): Set thread state active.
18 * mf-hooks3.c (__mf_pthread_spawner): Always set thread
19 state active.
20 (pthread_create wrapper): Always use thread spawner.
21
22 * testsuite/libmudflap.cth/pass37-frag.c: Increase timeout.
23 * testsuite/libmudflap.cth/pass39-frag.c: Likewise.
24
25 2005-07-16 Richard Henderson <rth@redhat.com>
26
27 * acinclude.m4: New file.
28 * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS.
29 * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild.
30 * mf-hooks1.c (__mf_0fn_malloc): Move body from ...
31 (__mf_0fn_calloc): ... here.
32 * mf-hooks3.c (struct pthread_info): Remove.
33 (__mf_pthread_info, __mf_pthread_info_idx): Remove.
34 (LIBMUDFLAPTH_THREADS_MAX): Set to 1021.
35 (struct mf_thread_data): New.
36 (mf_thread_data, mf_thread_data_lock): New.
37 (__mf_allocate_blank_threadinfo): Remove.
38 (__mf_find_threadinfo): Rewrite and simplify. Only use if TLS is
39 not available.
40 (__mf_state_perthread): Remove.
41 (__mf_get_state, __mf_set_state): New.
42 (__mf_pthread_cleanup): Use &errno, rather than saved pointer.
43 Update mf_thread_data killing procedure.
44 (__mf_pthread_spawner): Similarly.
45 (__mf_0fn_pthread_create): Only use wrapper if necessary. Remove
46 code to allocate thread stack space.
47 (__mf_0fn_pthread_join, pthread_join): Remove.
48 (__mf_0fn_pthread_exit, pthread_exit): Remove.
49 * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove.
50 (__mf_state_1): Rename from __mf_state; use TLS when available.
51 (__mf_get_state, __mf_set_state): New. Update all users.
52 * mf-runtime.c (begin_recursion_protect1): New.
53 (BEGIN_RECURSION_PROTECT): Use it.
54 (__mf_state_1): Rename from __mf_state; use TLS when available.
55 (threads_active_p): Remove.
56 (__mf_usage): Compute it directly.
57
58 2005-06-19 Ulrich Weigand <uweigand@de.ibm.com>
59
60 * testsuite/libmudflap.c/externs-1.c (main): Add return statement.
61
62 2005-06-15 Frank Ch. Eigler <fche@redhat.com>
63
64 Fix for uncaching bug reported by Herman ten Brugge.
65 * mf-runtime.c (__mf_uncache_object): Search whole cache.
66 * testsuite/libmudflap.c/fail40-frag.c: New test.
67
68 2005-05-23 Alfred M. Szmidt <ams@gnu.org>
69
70 PR libmudflap/21724
71 * Makefile.am (AM_MAKEFLAGS): Pass includedir.
72 * Makefile.in: Amend.
73
74 2005-06-14 Frank Ch. Eigler <fche@redhat.com>
75
76 PR mudflap/21023
77 * testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files.
78 * testsuite/libmudflap.c/cfrags.exp: Bypass new sources.
79
80 2005-06-14 Frank Ch. Eigler <fche@redhat.com>
81
82 PR libmudflap/21094
83 * testsuite/libmudflap.c++/*.exp: Assert build tree g++.
84
85 2005-06-14 Frank Ch. Eigler <fche@redhat.com>
86
87 PR mudflap/22064
88 * mf-impl.h (mudflap_mode, violation_mode): Make these ordinary
89 unsigned vars with #defines instead of enums.
90
91 2005-05-09 Mike Stump <mrs@apple.com>
92
93 * configure: Regenerate.
94
95 2005-04-12 Mike Stump <mrs@apple.com>
96
97 * configure: Regenerate.
98
99 2005-04-12 Frank Ch. Eigler <fche@redhat.com>
100
101 PR mudflap/19266
102 * testsuite/libmudflap.c++/c++frags.exp: Also test -O permutation.
103 * testsuite/libmudflap.c++/pass57-frag.cxx: New test.
104
105 2005-04-04 Alan Modra <amodra@bigpond.net.au>
106
107 * mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
108
109 2005-03-31 Mike Stump <mrs@apple.com>
110
111 * mf-runtime.h: Add libmudflap copyright clause.
112
113 2005-03-21 Mike Stump <mrs@apple.com>
114
115 * mf-heuristics.c: Fix whitespace at end of line.
116 * mf-hooks1.c: Likewise.
117 * mf-hooks2.c: Likewise.
118 * mf-hooks3.c: Likewise.
119 * mf-impl.h: Likewise.
120 * mf-runtime.c: Likewise.
121 * mf-runtime.h: Likewise.
122
123 2005-03-21 Zack Weinberg <zack@codesourcery.com>
124
125 * configure.ac: Do not invoke TL_AC_GCC_VERSION.
126 In all substitutions, expand gcc_version in Makefile.
127 * aclocal.m4, configure: Regenerate.
128 * Makefile.am: Set gcc_version.
129 * Makefile.in, testsuite/Makefile.in: Regenerate.
130
131 2005-03-17 Frank Ch. Eigler <fche@redhat.com>
132
133 * mf-runtime.c (__mfu_check): Respect ignore_reads configuration.
134 * testsuite/libmudflap.c/{pass56,fail39}-frag.c: New tests.
135
136 2005-02-13 Frank Ch. Eigler <fche@redhat.com>
137
138 PR mudflap/19319
139 * testsuite/libmudflap.c++/pass55-frag.c: New test.
140
141 2005-01-05 Richard Henderson <rth@redhat.com>
142
143 * testsuite/libmudflap.c/pass32-frag.c: Fix typo.
144
145 2005-01-02 Greg McGary <greg@mcgary.org>
146
147 * mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
148 * mf-runtime.h: New file, replaces mf-runtime.h.in.
149 * configure.ac (AC_CONFIG_FILES): mf-runtime.h is no longer generated.
150 * Makefile.in: Ditto.
151 * testsuite/lib/libmudflap.exp: Add -I${srcdir}/.. to get mf-runtime.h
152 * testsuite/libmudflap.c/pass32-frag.c: s/uintptr_t/__mf_uintptr_t/
153 * testsuite/libmudflap.c/fail36-frag.c: New test.
154 * testsuite/libmudflap.c/fail37-frag.c: New test.
155 * testsuite/libmudflap.c/fail38-frag.c: New test.
156
157 2004-12-08 Kelley Cook <kcook@gcc.gnu.org>
158
159 * Makefile.am: Add ../config to ACLOCAL_AMFLAGS.
160 * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate.
161
162 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
163
164 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
165 * aclocal.m4: Include ../config/gcc-version.m4.
166 * configure, Makefile.in, testsuite/Makefile.in: Regenerate.
167
168 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
169
170 * Makefile.am: Define ACLOCAL_AMFLAGS.
171 * acinclude.m4: Remove.
172 * stamp-h.in: Remove superfluous stamp file.
173 * aclocal.m4, configure, Makefile.in: Regenerate.
174 * testsuite/Makefile.in: Likewise.
175
176 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
177
178 * Makefile.am: Revert previous.
179 * acinclude.m4: Restore.
180 * aclocal.m4, configure, Makefile.in: Regenerate.
181 * testsuite/Makefile.in: Likewise.
182
183 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
184
185 * Makefile.am: Define ACLOCAL_AMFLAGS.
186 * acinclude.m4: Remove.
187 * aclocal.m4, configure, Makefile.in: Regenerate.
188 * testsuite/Makefile.in: Likewise.
189
190 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
191
192 * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.
193
194 2004-11-23 Kelley Cook <kcook@gcc.gnu.org>
195
196 * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3.
197 * testsuite/Makefile.in: Likewise.
198
199 2004-11-01 Andreas Schwab <schwab@suse.de>
200
201 * configure.ac: (target_alias): Default to $host_alias, not
202 $target.
203 * configure: Regenerated.
204
205 2004-10-28 Frank Ch. Eigler <fche@redhat.com>
206
207 * testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests.
208 * testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning
209 message.
210
211 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
212
213 PR other/18138
214 * testsuite/lib/libmudflap.exp: Accept more than one multilib libgcc.
215
216 2004-10-12 Frank Ch. Eigler <fche@redhat.com>
217
218 * configure.ac: Check for more headers, functions.
219 * mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
220 tracking overridden FILE buffers.
221 (fopen, setvbuf): New/revised hook functions for buffer overriding.
222 (setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
223 (fflush): Accept given NULL stream (means "all streams").
224 * mf-runtime.h.in:
225 * mf-runtime.c (__mfu_check): Accept accesses that span adjacent
226 HEAP/GUESS objects.
227 (LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
228 (__mf_adapt_cache): Use them all.
229 * testsuite/libmudflap.c/pass35-frag.c: Update warning message.
230 * testsuite/libmudflap.c++/ctors.exp: Ditto.
231 * testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
232 * configure, config.h.in: Regenerated.
233
234 2004-10-05 Frank Ch. Eigler <fche@redhat.com>
235
236 * configure.ac: Checking for sys/socket.h once is enough.
237 * configure: Regenerated.
238
239 2004-10-04 Frank Ch. Eigler <fche@redhat.com>
240
241 * configure.ac: Look for more headers & functions.
242 * mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
243 * mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
244 * mf-runtime.c (options): Clean up integer signedness warnings.
245 (main): Add a declaration to fix a warning.
246 * mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
247 * configure, config.h.in: Regenerated.
248
249 2004-10-02 Frank Ch. Eigler <fche@redhat.com>
250
251 * testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c:
252 New tests for proper base/limit checking for aggregates.
253
254 2004-09-15 Joseph S. Myers <jsm@polyomino.org.uk>
255
256 * testsuite/libmudflap.c/pass35-frag.c: Update expected message.
257
258 2004-09-07 Frank Ch. Eigler <fche@redhat.com>
259
260 * configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.
261 * mf-hooks2.c (strerror): Unregister previous string returned by
262 previous strerror.
263 (getlogin,cuserid,getpwnam,getpwuid,getgrnam,getgrgid): New wrappers.
264 (getservent,getservbyname,getservbyport,gai_strerror): Ditto.
265 * mf-runtime.h.in: Add redefine_extname pragmas for them all.
266 * mf-runtime.c (__mf_describe_object): Clarify object life status.
267 * testsuite/libmudflap.c/pass48-frag.c, pass49-frag.c, fail32-frag.c:
268 New tests.
269 * configure, config.h.in: Regenerated.
270
271 2004-08-03 Dale Johannesen <dalej@apple.com>
272
273 * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
274
275 2004-08-03 Frank Ch. Eigler <fche@redhat.com>
276
277 * mf-runtime.c (compare_uintptr_t): Remove function. Inline
278 simplified contents in all former callers.
279
280 2004-07-27 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
281
282 * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
283 the statically linked case.
284
285 2004-07-27 Frank Ch. Eigler <fche@redhat.com>
286
287 * splay-tree.[ch]: Remove. Merge contents into ...
288 * mf-runtime.c: ... here, renaming symbols and making all functions
289 static. Remove unused min/max functions.
290 * Makefile.am: Forget about splay-tree.[ch].
291 * Makefile.in, testsuite/Makefile.in: Regenerated.
292
293 2004-07-21 Frank Ch. Eigler <fche@redhat.com>
294
295 * mf-runtime.c (__mfu_check): Remove mistaken mode-nop handling.
296 (__mfu_usage): Include (C) 2004.
297 * mf-hooks3.c (__mf_find_threadinfo): Don't call tracing functions
298 here. Include a comment explaining why.
299
300 2004-07-20 Frank Ch. Eigler <fche@redhat.com>
301
302 * mf-impl.h (__mf_options): Add ignore_reads and timestamps fields.
303 * mf-runtime.c (options): Give them a name.
304 (__mf_set_default_options): Set them.
305 (__mf_insert_new_object, __mfu_unregister): Optionalize timestamps.
306 (__mf_violation): Warning cleanup.
307 * mf-impl.h (MF_VALIDATE_EXTENT): Support ignore_reads option.
308 * splay-tree.c (splay_tree_delete_helper): Remove obsolete decl.
309
310 2004-07-15 Frank Ch. Eigler <fche@redhat.com>
311
312 g++/15861
313 * mf-runtime.c (__mf_init): Make it non-static. Tolerate
314 repeated invocation.
315
316 2004-07-09 Frank Ch. Eigler <fche@redhat.com>
317
318 Test case for g++/15861
319 * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves.
320 * testsuite/libmudflap.c++/ctors.exp: Driver.
321 * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default.
322 Look only for *frag* test cases.
323
324 2004-07-08 Frank Ch. Eigler <fche@redhat.com>
325
326 ANSI C conversion, libmudflap specialization, recursion limiting.
327 * splay-tree.h (splay_tree_{de,}allocate_fn): Remove allocation_data
328 argument and indirection function pointers, update callers.
329 (splay_tree_s): Add statistics and recursion control fields
330 num_keys, max_depth, depth, rebalance_p.
331 * splay-tree.c (splay_tree_splay_helper): Track recursion depth.
332 Back out of search if it exceeds limit.
333 (splay_tree_splay): Manage recursion limiting with rebalancing as
334 needed.
335 (splay_tree_new): More initialization.
336 (splay_tree_rebalance): New function.
337 (splay_tree_foreach): Rewrite using nonrecursive logic.
338 (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate):
339 Remove. Point indirect calls to mf-runtime.c's routines.
340 (splay_tree_compare_ints, splay_tree_compare_pointers): Remove unused
341 functions.
342 (splay_tree_delete, splay_tree_delete_helper): Ditto.
343 * testsuite/heap-scalestress.c: New test based on one from
344 Eyal Lebedinsky <eyal@eyal.emu.id.au>:
345
346 2004-07-05 Matthias Klose <doko@debian.org>
347
348 * libtool-version: New.
349 * Makefile.am (libmudflap_la_LDFLAGS, libmudflapth_la_LDFLAGS):
350 Use -version-info for soname.
351 * Makefile.in: Regenerate.
352 * configure.ac: Remove libtool_VERSION macro
353 * configure: Regenerate
354
355 2004-07-05 Zack Weinberg <zack@codesourcery.com>
356
357 * mf-runtime.h.in: Wrap declarations of struct __mf_cache,
358 __mf_lookup_cache, __mf_lc_mask, or __mf_lc_shift in
359 #ifndef _MUDFLAP.
360
361 2004-06-29 Frank Ch. Eigler <fche@redhat.com>
362
363 Splay tree implementation fork.
364 * splay-tree.c, splay-tree.h: Copied & modified from libiberty.
365 Use hard-coded comparison function for uintptr_t. Remove key/value
366 deallocation logic. Cache last splayed key for consecutive lookups.
367 * Makefile.am, Makefile.in: Use them, don't link to them.
368 * mf-runtime.c (__mf_object_tree): Adapt to simpler splay_tree_new.
369 (__mf_find_objects2): Flip successor/predecessor search sequence.
370 * ansidecl.h, libiberty.h: Removed dummy files.
371
372 2004-06-29 Nick Clifton <nickc@redhat.com>
373
374 * configure.ac (AC_CHECK_HEADERS): Add dirent.h
375 * configure: Regenerate.
376 * mf-hooks2.c: Surround uses of dirent.h with #ifdef
377 HAVE_DIRENT_H.
378 Remove spurious inclusion of <strings.h>.
379
380 2004-06-29 Nick Clifton <nickc@redhat.com>
381
382 * mf-runtime.c (pthread_join): Only apply the weak pragma if the
383 function actually exists.
384
385 2004-06-25 Frank Ch. Eigler <fche@redhat.com>
386
387 * ansidecl.h, libiberty.h: New dummy files for building splay-tree.
388 * config.h.in: Regenerated.
389
390 2004-06-24 Frank Ch. Eigler <fche@redhat.com>
391
392 Adopt splay trees for object database.
393 * Makefile.am: Copy splay-tree.* from libiberty.
394 * Makefile.in, testsuite/Makefile.in: Regenerated.
395 * mf-runtime.h.in (__mf_unregister): Add third parameter (type).
396 * mf-hooks[123].c (*): Add new third parameter to mf_unregister.
397 * mf-impl.h (BEGIN_PROTECT): Remove some trace text.
398 * mf-runtime.c: Rewrite code dealing with object database to use
399 libiberty splay trees. Remove tree liveness aging option.
400 * testsuite/libmudflap.c/fail18-frag.c: Add volatile flag.
401
402 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
403
404 * configure.ac: New name of configure.in. Update
405 AC_INIT, AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES,
406 AC_OUTPUT, AM_INIT_AUTOMAKE to the preferred style for
407 Autoconf 2.5x and Automake 1.7 or later.
408 * configure.in: Remove.
409 * configure: Regenerate.
410
411 * Makefile.am: Remove useless multilib rules.
412 * Makefile.in: Regenerate.
413
414 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
415
416 * .cvsignore: New file.
417
418 2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net>
419
420 PR libmudflap/13505
421 * mf-hooks2.c (semctl): Add cygwin porting hack.
422
423 2004-06-09 Frank Ch. Eigler <fche@redhat.com>
424
425 ctype support.
426 * configure.in: Look for ctype header and glibc implementation.
427 * mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype
428 array hooks for glibc 2.3.
429 * mf-runtime.h.in: Wrap them.
430 * mf-runtime.c (__mf_init): Leave marker regarding other ctype
431 implementations.
432 * testsuite/libmudflap.c/pass47-frag.c: New test.
433 * configure, config.h.in: Regenerated.
434
435 2004-06-04 Frank Ch. Eigler <fche@redhat.com>
436
437 Portability improvements, e.g., libmudflap/15293.
438 * configure.in: Look for glibc extension functions. Look for
439 support of -f{function,data}-sections. Look for more headers.
440 Create testsuite/mfconfig.exp. Correct more "test x.." thinkos.
441 * Makefile.am: Use $(SECTION_FLAGS). Collapse piecemeal-compiled
442 mf-hooks* into usual single object per source.
443 * mf-hooks*.c: Remove all #if WRAP_foo conditionals.
444 * mf-hooks2.c: #include a bunch more system headers. Define strnlen
445 if system doesn't provide one.
446 * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields.
447 (pthread_create): Use it to properly GC dead thread stacks.
448 * mf-runtime.c (__mf_violation): Correct snprintf type warning.
449 * testsuite/Makefile.am: Stop generating site.exp.
450 * testsuite/mfconfig.exp.in: New file.
451 * testsuite/config/default.exp: Load new mfconfig.exp.
452 * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries.
453 (prune_gcc_output): Add glibc static linking warnings.
454 * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs.
455 * testsuite/libmudflap.c/pass46-frag.c: Ditto.
456 * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
457 Regenerated with autoconf 2.57 and automake 1.7.
458
459 2004-06-04 Per Bothner <per@bothner.com>
460
461 * configure.in (LIBMUDFLAPTH): Fix thinko.
462
463 * configure.in: Check for more headers.
464 * mf-hooks2.c: Conditionalize on HAVE_SYS_SOCKET_H etc.
465
466 * mf-runtime.c: In two places conditionalize on SIUSR1 rather than
467 HAVE_SIGNAL as mingw has signal.h but not SIUSR1.
468
469 2004-06-01 Andreas Jaeger <aj@suse.de>
470
471 * configure.in: Handle multilibs, support
472 --enable-version-specific-runtime-libs.
473 * Makefile.am (lib_LTLIBRARIES): Rename to ...
474 (toolexeclib_LTLIBRARIES): this for multilib support.
475 * Makefile.in: Regenerated.
476 * configure: Regenerated.
477 * aclocal.m4: Regenerated.
478 * config.h.in: Regenerated.
479 * testsuite/Makefile.in: Regenerated.
480
481 2004-06-01 Andreas Jaeger <aj@suse.de>
482
483 * testsuite/lib/libmudflap.exp (libmudflap-init): Handle
484 multilibs, using multilib directory instead of hardcoded path.
485 Set LD_RUN_PATH.
486
487 2004-05-21 Frank Ch. Eigler <fche@redhat.com>
488
489 * Makefile.am (AM_MAKEFLAGS): Pass RUNTESTFLAGS.
490 * Makefile.in: Ditto.
491
492 2004-05-18 Kaz Kojima <kkojima@gcc.gnu.org>
493
494 * acinclude.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
495 * aclocal.m4, configure: Rebuilt.
496
497 2004-05-17 Frank Ch. Eigler <fche@redhat.com>
498
499 * lib/libmudflap.exp (libmudflap-init): For C++ test cases only,
500 import some build settings from libstdc++-v3 testsuite_flags.
501 * .../cfrags.exp, .../c++frags.exp, .../cthfrags.exp: Corresponding
502 changes to pass test language.
503
504 * mf-runtime.c (__mfu_check): Poison the cache with antidote for
505 quicker mode-nop handling.
506
507 2004-03-25 Frank Ch. Eigler <fche@redhat.com>
508
509 * mf-impl.h: Added libgcc license header.
510
511 2004-03-20 Frank Ch. Eigler <fche@redhat.com>
512
513 * mf-hooks[123].c, mf-runtime.c, mf-heuristics.c:
514 Added libgcc license header.
515 * mf-hooks3.c (__mf_0fn_pthread_create): Correct arg constness.
516 (pthread_create): Simplify stack allocation syntax.
517
518 2004-03-08 Loren J. Rittle <ljrittle@acm.org>
519
520 * mf-hooks2.c: Support FreeBSD.
521 (WRAP_gets): Avoid gets().
522 * testsuite/libmudflap.c/pass-stratcliff.c: Do not
523 test unimplemented mem/str calls on FreeBSD.
524 * testsuite/libmudflap.c/pass21-frag.c: Do not include
525 <alloca.h> on FreeBSD.
526
527 2004-01-30 Frank Ch. Eigler <fche@redhat.com>
528
529 * testsuite/libmudflap.c/pass36-frag.c: Add missing free() call.
530 * testsuite/libmudflap.c/pass46-frag.c: New test for -fmudflapir.
531 * testsuite/libmudflap.cth/cthfrags.exp: Add -DSTATIC to compiler
532 flags for static linking permutation.
533 * testsuite/libmudflap.cth/pass40-frag.c: When -DSTATIC, avoid
534 some pthreads code that croaks on linux glibc tls.
535
536 2004-01-27 Frank Ch. Eigler <fche@redhat.com>
537
538 * testsuite/libmudflap.c/fail31-frag.c, pass45-frag.c: New tests.
539
540 2004-01-15 Frank Ch. Eigler <fche@redhat.com>
541
542 * testsuite/libmudflap.c/pass44-frag.c: New test.
543
544 2004-01-12 Frank Ch. Eigler <fche@redhat.com>
545
546 * testsuite/libmudflap.c/fail{28,29,30}-frag.c: New tests.
547
548 2004-01-08 Frank Ch. Eigler <fche@redhat.com>
549
550 * testsuite/libmudflap.c/pass43-frag.c: Added missing program rc.
551
552 2003-12-11 Frank Ch. Eigler <fche@redhat.com>
553
554 * testsuite/libmudflap.c/pass42-frag.c, pass43-frag.c: New tests.
555
556 2003-12-08 Andrew Pinski <pinskia@physics.uc.edu>
557
558 PR libmudflap/12670
559 * configure.in: Add check for see if
560 socklen_t typedef is in sys/socket.h.
561 * mf-hooks1.c: Add define if socklen_t
562 is not typedef.
563 * mf-hooks2.c: Likewise.
564 * mf-hooks3.c: Likewise.
565 * config.h.in: Regen.
566 * configure: Regen.
567
568 2003-12-08 Frank Ch. Eigler <fche@redhat.com>
569
570 * mf-runtime.c (__mf_watch_or_not): Tweak tracing message.
571 * testsuite/libmudflap.c/fail21-frag.c: Defeat aliasing
572 optimizations.
573 * testsuite/libmudflap.c/pass25-frag.c: Ditto.
574 * testsuite/libmudflap.c/pass26-frag.c: Tolerate non-overlapping
575 (unoptimized) allocation of stack space.
576
577 2003-12-07 Richard Henderson <rth@redhat.com>
578
579 * testsuite/libmudflap.c/fail23-frag.c (main): Adjust addend to 11.
580 * testsuite/libmudflap.c/fail27-frag.c (foo): Mark noinline.
581
582 2003-12-06 Andrew Pinski <apinski@apple.com>
583
584 partial PR libmudflap/12670
585 * mf-hooks1.c: Respect Darwin checks. Conditionalize POSIX_SOURCE.
586 * mf-hooks2.c: Likewise.
587 * mf-hooks3.c: Likewise.
588
589 2003-11-19 Frank Ch. Eigler <fche@redhat.com>
590
591 libstdc++/11696
592 * mf-runtime.h.in: Switch to #pragma redefine_extname for
593 symbols interposed at compile time.
594 * testsuite/libmudflap.c++/pass41-frag.cxx: New test.
595
596 libmudflap/12939
597 * mf-hooks2.c (semctl): Tolerate FreeBSD.
598
599 * configure.in: Reorganize check for <pthread.h>.
600 * configure: Regenerated.
601
602 2003-11-04 David Edelsohn <edelsohn@gnu.org>
603
604 * mf-runtime.c (_ALL_SOURCE): Define for AIX.
605 (_LARGE_FILE_API): Define for AIX.
606 * mf-hooks[123]: Same.
607 (_XOPEN_SOURCE_EXTENDED): Define to 1 for AIX.
608
609 2003-10-21 David Edelsohn <edelsohn@gnu.org>
610
611 * mf-runtime.c (_XOPEN_SOURCE_EXTENDED): Define to 1 for AIX.
612
613 2003-07-29 Frank Ch. Eigler <fche@redhat.com>
614
615 2003-07-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
616
617 * configure.in: Update check for union semun.
618
619 2003-07-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
620
621 PR other/11673
622 * mf-hooks2.c [WRAP_semctl]: Fix check for HAVE_UNION_SEMUN.
623
624 2003-07-29 Frank Ch. Eigler <fche@redhat.com>
625
626 PR other/11673
627 * configure.in: Add checks for 64-bit LFS functions, struct semun
628 definition, for BSD compatibility.
629 * mf-hooks1.c: Respect BSD checks. Conditionalize POSIX_SOURCE.
630 * mf-hooks2.c: Ditto. Include <strings.h> for bcmp* decls.
631 * mf-hooks3.c: Ditto.
632 (pthread_create): Try MAP_ANON on platforms without the MAP_ANONYMOUS
633 mmap flag.
634 * configure, config.h.in: Regenerated.
635
636 2003-07-23 Frank Ch. Eigler <fche@redhat.com>
637
638 Multithreading fixes:
639 * mf-runtime.c (__mf_object): Store allocating/deallocating
640 thread id.
641 (options): Support new "-thread-stack" option.
642 Rename "-heur-argv-environ" option to "-heur-stdlib".
643 Disable "-lc-mask" and "-lc-shift" options.
644 (__mf_dynamic): Add function pointers for pthread_join/_exit.
645 (__assert_fail): New self-contained function for glibc.
646 * mf-hooks3.c: Essentially rewritten, particularly related to
647 use of __mf_pthread_info array.
648 (pthread_join, _exit): New hook functions.
649 * mf-impl.h (BEGIN_PROTECT): Handle starting_p case.
650 * testsuite/libmudflap.cth/pass40-frag.c: New test.
651
652 Warning cleanups:
653 * mf-heuristics.c: Add type casts for tracing, sub calls.
654 * mf-impl.h (BEGIN_PROTECT): Redefine to omit result type.
655 Update all callers to declare explicit result holder.
656 (END_PROTECT): Removed.
657 * testsuite/*/*frags.exp: Clean up default MUDFLAP_OPTIONS.
658
659 2003-07-15 Diego Novillo <dnovillo@redhat.com>
660
661 * testsuite/libmudflap.c/fail21-frag.c: Add volatile modifiers.
662 * testsuite/libmudflap.c/fail15-frag.c: Likewise.
663 * testsuite/libmudflap.c/fail13-frag.c: Likewise.
664
665 2003-07-04 Frank Ch. Eigler <fche@redhat.com>
666
667 * mf-hooks1.c, 2.c, 3.c: New file, splits up content from old ...
668 * mf-hooks: Removed.
669 * mf-impl.h (MF_VALIDATE_EXTENT, BEGIN_PROTECT, END_PROTECT):
670 Move these macros from old mf-hooks.c here.
671 * Makefile.am: Adapt to split-up hook sources for faster builds.
672 * Makefile.in: Regenerated.
673
674 * mf-heuristics.c: Remove #if-0 block.
675
676 * mf-impl.h (__mf_state): Reorganize declaration and implementation.
677 (__mf_starting_p): New state only for use while dlsym bootstrapping.
678 (CALL_REAL, __mf_init): Corresponding changes.
679 (TRACE, VERBOSE_TRACE): Include thread id and "mf:" prefix. Update
680 all callers to remove redundant "mf:" prefix.
681 * mf-runtime.h.in: #define a few reentrancy macros for libmudflapth.
682 * mf-hooks3.c: Rewrite chunks to support per-thread __mf_state value.
683 (__mf_pthread_info): Become a hash table.
684
685 * testsuite/lib/mfdg.exp: Support new "dg-timeout" and
686 "dg-repetitions" directives to control test case execution.
687 * testsuite/libmudflap.cth/pass37-frag.c: Add timeout and repeat
688 options.
689 * testsuite/libmudflap.cth/pass39-frag.c: Ditto for this new test.
690
691 2003-06-25 Frank Ch. Eigler <fche@redhat.com>
692
693 * mf-hooks.c (alloca): Separate into stub.
694 (__mf_wrap_alloca_indirect): New function. Use CALL_REAL
695 malloc/free for alloca blocks.
696 (pthread_create): Tolerate failing pthread_attr_get* calls.
697 * mf-runtime.c (__mf_fini): Call __mf_wrap_alloca_indirect.
698 * mf-impl.h (CALL_WRAP): Remove macro.
699 * testsuite/libmudflap.c/pass21-frag.c: Include <alloca.h>.
700 * testsuite/libmudflap.c/pass23-frag.c: Include more struct
701 padding for ia64 BIT_FIELD_REF constructs.
702
703 2003-06-19 Frank Ch. Eigler <fche@redhat.com>
704
705 * mf-hooks.c (struct pthread_info): Add "thread_errno" field.
706 (__mf_pthread_spawner, __mf_pthread_cleanup): Use it with GUESS
707 libmudflap object type.
708 * mf-runtime.c (__mfu_unregister): Correct cemetary logic to avoid
709 crashes on unregistering STATIC objects.
710
711 2003-06-17 Frank Ch. Eigler <fche@redhat.com>
712
713 Based on patch from Eyal Lebedinsky <eyal@eyal.emu.id.au>:
714 * mf-hooks.c (__mf_pthread_spawner): Register thread errno.
715 (time, strerror, fopen, fopen64, fclose, fread): New hooks.
716 (fwrite, fgetc, fgets, getc, gets, ungetc, fputc): New hooks.
717 (fputs, putc, puts, clearerr, feof, ferror, fileno): New hooks.
718 (printf, fprintf, sprintf, snprintf, vprintf, vfprintf): New hooks.
719 (vsprintf, vsnprintf, access, remove, fflush, fseek): New hooks.
720 (fseeko64, ftell, ftello64, rewind, fgetpos, fsetpos): New hooks.
721 (stat, stat64, fstat, lstat, mkfifo, setvbuf, setbuf): New hooks.
722 (setvbuf, opendir, closedir, readdir, recv, recvfrom): New hooks.
723 (recvmsg, send, sendto, sendmsg, setsockopt, getsockopt): New hooks.
724 (accept, bind, connect, gethostname, sethostname): New hooks.
725 (gethostbyname, wait, waitpid, popen, pclose, execve): New hooks.
726 (execv, execvp, system, dlopen, dlclose, dlerror, dlsym): New hooks.
727 (semop, semctl, shmctl, shmat, shmdt): New hooks.
728 * mf-runtime.h.in: Corresponding changes.
729 * mf-runtime.c (__mf_ini): Register stdio objects. Use STATIC type.
730 (opts) Rename heur_argv_environ to heur_std_data.
731 (__mf_wrap_main): Use STATIC type for argv/environ strings.
732 * Makefile.am: Corresponding changes.
733 * Makefile.in: Regenerated.
734
735 2003-06-11 Frank Ch. Eigler <fche@redhat.com>
736
737 * mf-heuristics.c (__mf_heuristic_check): Disable stack_bounds
738 heuristic for threaded case, and for non-x86-linux targets.
739 * mf-hooks.c (__mf_0fn_calloc): Provide a working dummy implementation
740 for use during pre-main() program startup.
741 (__mf_0fn_*): Make these functions non-static.
742 * mf-impl.h (DECLARE, CALL_REAL): Support calls to 0fn backup hook
743 functions.
744 * mf-runtime.c (__mf_state): Set initial state to "starting".
745 (__mf_resolve_single_dynamic): Tolerate repeated calls for same symbol.
746 (__wrap_main): New function to register argv[] and environ[] strings.
747 (__mf_ini): Call it.
748 (*): In all trace functions, use "%p" as formatter for uintptr_t.
749
750 * testsuite/libmudflap.c/pass38-frag.c: New test case.
751 * testsuite/libmudflap.cth/pass37-frag.c: Improved test.
752
753 * acinclude.m4: Add comments with aoliva's concerns about x86_64
754 pass_all.
755 * aclocal.m4, configure: Regenerated.
756
757 2003-06-04 Frank Ch. Eigler <fche@redhat.com>
758
759 * acinclude.m4: Correct typo in AC_MSG_CHECKING.
760 * aclocal.m4, configure: Regenerated.
761
762 2003-06-03 Frank Ch. Eigler <fche@redhat.com>
763
764 * acinclude.m4: Force "pass_all" deplibs_check_method for libtool
765 for x86_64 target. Disable caching for this value.
766 * aclocal.m4, configure: Regenerated.
767
768 2003-06-02 Frank Ch. Eigler <fche@redhat.com>
769
770 * testsuite/libmudflap.c/pass38-frag.c: Deleted. -fwritable-strings
771 is about to become deprecated, and its present handling bugs are
772 unworthy of fixing.
773
774 2003-05-30 Frank Ch. Eigler <fche@redhat.com>
775
776 * testsuite/libmudflap.c/pass38-frag.c: New test for
777 -fwritable-strings.
778
779 2003-05-23 Frank Ch. Eigler <fche@redhat.com>
780
781 * mf-runtime.c (__mf_sigusr1_handle): Call unlocked variant of
782 __mf_report, asserting reentrant calling context.
783
784 2003-05-23 Frank Ch. Eigler <fche@redhat.com>
785
786 * mf-hooks.c (realloc): Correct reentrancy logic.
787 * testsuite/libmudflap.c/hook-allocstuff.c: New test case.
788
789 2003-05-20 Frank Ch. Eigler <fche@redhat.com>
790
791 * mf-hooks.c (LIBMUDFLAPTH_THREADS_MAX): New macro, replaces
792 PTHREAD_THREADS_MAX. Update users.
793 * mf-runtime.c (__mf_usage): Print [active] instead of [default]
794 for active options.
795 * testsuite/Makefile.am (all-local): Prime dejagnu site.exp file
796 with libmudflapth presence indicator.
797 * testsuite/Makefile.in: Regenerated.
798
799 2003-05-16 Frank Ch. Eigler <fche@redhat.com>
800
801 * Makefile.am (AM_CFLAGS): Remove "-ansi".
802 * configure.in: Remove silly no-pthreads => no-shared logic.
803 * Makefile.in, configure: Regenerated.
804 * mf-heuristics.c (__mf_heuristic_check): Remove reentrancy hacks.
805 * mf-hooks.c (BEGIN_PROTECT, END_PROTECT): Reorganize reentrancy
806 code. Count reentrancy events.
807 (all hook functions): Don't directly manipulate __mf_state variable.
808 Add TRACE calls to hook functions without them.
809 * mf-impl.h (LOCKTH): Try to count lock contention events.
810 (VERBOSE_TRACE, TRACE): Remove reentrancy hacks.
811 * mf-runtime.c (BEGIN_RECURSION_PROTECT, END_RECURSION_PROTECT):
812 Reorganize reentrancy code.
813 (external __mf_ entry points): Use RECURSION_PROTECT mechanism to
814 identify reentrancy with mutex holding times.
815 (internal __mfu_ entry points): Remove internal reentrancy code.
816 (__mf_init): Use ordinary locked calls.
817 (__mfu_report): Print the two new counts.
818 * testsuite/lib/libmudflap.exp: Filter out junk ld/pthreads messages.
819 * testsuite/libmudfap.cth/cthfrags.exp: New test driver.
820 * testsuite/libmudflap.cth/pass37-frag.c: New pthreads test.
821 * testsuite/libmudfap.cth/cfrags.exp: Adapt to new libmudflap
822 option defaults.
823
824 2003-05-09 Frank Ch. Eigler <fche@redhat.com>
825
826 * configure.in: Add pthread support, plus glibc and porting hacks.
827 * Makefile.am (LIBMUDFLAPTH): New conditional, to build -lmudflapth
828 from objects built into ./pth/.
829 * mf-runtime.c (__mfu_watch,register,...): Fork new unlocked
830 functions for internal entry points. Update callers to pick
831 locked vs. unlocked variants.
832 (__mf_resolve_single_dynamic): Extend to support symbol versioning
833 info coming in from a static data structure.
834 (*): Reorder miscellaneous declarations to group data vs functions.
835 (__mf_set_default_options): Simplify.
836 (__mf_usage): Mention threading status of host executable.
837 * mf-impl.h: Move max/min decls here. Reorganize __mf_dynamic
838 decls to match above.
839 (LOCKTH, UNLOCKTH): New macros for Big Libmudflap Lock management.
840 * mf-heuristics.c: Choose between locked/unlocked calls. Add
841 some lock/unlock markers. Remove some unused code.
842 * mf-hooks: Ditto.
843 (pthread_create): New hook function.
844 (__mf_pthread_cleanup, _spawner): New helper functions.
845 * configure. aclocal.m4, config.h.in, Makefile.in: Regenerated.
846
847 2003-05-02 Frank Ch. Eigler <fche@redhat.com>
848
849 * testsuite/libmudflap.c/fail27-frag.c: Add more volatile flags.
850
851 2002-04-28 Frank Ch. Eigler <fche@redhat.com>
852
853 * Makefile.am (HOOKOBJS): Add *time related hooks.
854 * configure.in: Look for pthreads.h header.
855 * mf-hooks.c (asctime, ctime, gmtime, localtime): New wrappers.
856 * mf-runtime.c: Begin sketching some pthreads support.
857 (__mf_usage): Check for -lpthread presence.
858 (__mf_unregister): Confirm matching unregistration base.
859 (__mf_find_objects_rec): Reduce unnecessary recursion.
860 * mf-runtime.h.in: Add "nothrow" attribute to functions. Add
861 #defines for new hook functions.
862 * mf-impl.h: Corresponding changes.
863 * config.h.in, configure, Makefile.in: Regenerated.
864
865 2002-04-27 Diego Novillo <dnovillo@redhat.com>
866
867 * testsuite/libmudflap.c/fail1-frag.c: Add volatile
868 modifiers to prevent being optimized away.
869 * testsuite/libmudflap.c/fail10-frag.c: Likewise.
870 * testsuite/libmudflap.c/fail13-frag.c: Likewise.
871 * testsuite/libmudflap.c/fail14-frag.c: Likewise.
872 * testsuite/libmudflap.c/fail15-frag.c: Likewise.
873 * testsuite/libmudflap.c/fail2-frag.c: Likewise.
874 * testsuite/libmudflap.c/fail20-frag.c: Likewise.
875 * testsuite/libmudflap.c/fail3-frag.c: Likewise.
876
877 2003-04-15 Frank Ch. Eigler <fche@redhat.com>
878
879 * Makefile.am (libmudflap_la_LIBADD): Remove -ldl.
880 * configure.in: Look for uintptr_t and -ldl on target.
881 * mf-runtime.h.in: Adjust uintptr_t declaration logic.
882 * Makefile.in, aclocal.m4, configure, config.h.in: Regenerated.
883 * testsuite/Makefile.in: Regenerated.
884 * mf-runtime.c (__mf_sigusr1_respond): Tweak declaration and calls
885 for better C compliance.
886
887 2003-04-15 Frank Ch. Eigler <fche@redhat.com>
888
889 * mf-hooks.c (MF_VALIDATE_EXTENT): Remove unnecessary reentrancy
890 prevention code.
891 * mf-runtime.c (__mf_set_default_options): Turn off
892 check-initialization.
893 (__mf_describe_object): Shorten description.
894 * testsuite/libmudflap.c/fail25-frag.c: Turn on check-initialization.
895
896 2003-04-07 Frank Ch. Eigler <fche@redhat.com>
897
898 * mf-hooks.c (__mf_0fn_mmap): Correct return value, as per <rth>.
899
900 2003-04-02 Frank Ch. Eigler <fche@redhat.com>
901
902 * mf-hooks.c (BEGIN_PROTECT): Handle startup-time reentrant
903 calls specially.
904 (__mf_0fn_malloc ... _munmap): New dummy backup calls.
905 * mf-impl.h (CALL_BACKUP): New macros.
906 * mf-runtime.c (__mf_init): Tweak __mf_state during startup.
907
908 2003-03-31 Frank Ch. Eigler <fche@redhat.com>
909
910 * Makefile.am (AM_CFLAGS): Remove optimization flags.
911 (HOOKOBJS): Remove dlopen hook.
912 (libmudflap_la_LIBADD): Add -ldl.
913 * mf-hooks.c (dlopen): Remove hook.
914 * mf-impl.h (__mf_dynamic): Ditto.
915 * mf-runtime.c (__mf_resolve_dynamics): Ditto.
916 * Makefile.in: Regenerated.
917
918 2003-03-28 Frank Ch. Eigler <fche@redhat.com>
919
920 * configure.in: Check for target gettimeofday, signal, some headers.
921 * mf-impl.h (__mf_opts): Add new "sigusr1_report" field. Comment
922 out inop multi_threaded field.
923 * mf-runtime.c (options): Handle new "-sigusr1-report" option.
924 (__mf_set_options): Correct handling of "-help".
925 (__mf_sigusr1_respond): New function to manage SIGUSR1 response.
926 (__mf_check, __mf_register, __mf_unregister): Call it.
927 (__mf_insert_new_object, __mf_unregister): Respect HAVE_GETTIMEOFDAY.
928 (__mf_report_leaks): Make callable
929 (__mf_tree_analyze): Traverse in-order. Accumulate address bit
930 distribution statistics.
931 (__mf_adapt_cache): Rewrite shift guessing logic based on address
932 bit distributions.
933 * config.h.in, configure: Regenerated.
934 * testsuite/libmudflap.c/fail27-frag.c: New test.
935 * testsuite/libmudflap.c/pass36-frag.c: New test.
936
937 2003-03-11 Frank Ch. Eigler <fche@redhat.com>
938
939 * mf-runtime.h.in: Tweak.
940 * Makefile.am, configure.in: Tweak mf-runtime.h generation some more.
941 Don't use intermediate files nor AC_OUTPUT-time postprocessing.
942 * Makefile.in, testsuite/Makefile.in, configure: Regenerated.
943
944 2003-03-10 Frank Ch. Eigler <fche@redhat.com>
945
946 * configure.in: Tweak generation of mf-runtime.h some more. It
947 needs to work from both config.status and configure.
948 * configure: Regenerated.
949
950 2003-03-10 Frank Ch. Eigler <fche@redhat.com>
951
952 * Makefile.am: Reorganize hook file building. Add auto dependencies.
953 * configure.in: Tweak generation of mf-runtime.h.
954 * mf-runtime.h.in: Add new __MF_TYPE_HEAP_I.
955 * mf-hooks.c (*): Adapt to initialized-heap object type.
956 * mf-impl.h: Tweak cemetary boundaries.
957 * mf-runtime.c (__mf_check): Adapt to new initialized-heap object
958 type.
959 (__mf_insert_new_object, __mf_register, __mf_unregister): Ditto.
960 (__mf_describe_object, __mf_report_leaks, __mf_violation): Ditto.
961 * testsuite/lib/libmudflap.exp (includes): Include build tree.
962 * testsuite/libmudflap.c/pass{26,5}: Further adapt to initialization
963 checking.
964 * testsuite/.../fail{25,26}-frag.c: New tests.
965 * testsuite/.../pass{32,33,34,35}-frag.c: New tests.
966 * Makefile.in, configure: Regenerated.
967
968 2003-03-05 Frank Ch. Eigler <fche@redhat.com>
969
970 * mf-runtime.c (__mf_set_default_options): Turn on initialization
971 checking by default.
972 (__mf_insert_new_object): As a temporary hack, assume that new
973 objects registered on the stack start out initialized.
974 * testsuite/libmudflap.c/fail9,pass23,pass[6789]-*: Initialize
975 heap objects by hand.
976
977 2003-03-05 Frank Ch. Eigler <fche@redhat.com>
978
979 Switch to macro-style hooks for str*/mem*/b* functions.
980 * mf-runtime.h.in (__MF_TYPE_*): Moved some internal values out.
981 (mem*, str*, b*): Added macro-style hooks for _MUDFLAP case.
982 * mf-runtime.c: #include config.h to enable glibc backtraces again.
983 (__mf_set_default_options): Turn off heur_proc_map.
984 (*): Adapt to to macro-style hook functions.
985 (__mf_object_dead_head, __mf_object_cemetary): Correct bounds.
986 (__mf_check, __mf_register, __mf_unregister): Tweak tracing message.
987 (__mf_violation): Handle __MF_VIOL_WATCH.
988 * mf-impl.h (__MF_TYPE_*): Moved these internal values here.
989 (__mf_dynamic): Removed mem*/str*/b* functions.
990 (TRACE, VERBOSE_TRACE): Add reentrancy locking.
991 (WRAPPER2): New macro for macro-style hooks.
992 * mf-hooks.c: Convert mem*/str*/b* functions to simpler
993 macro-style hooks.
994 (BEGIN_PROTECT): Tweak tracing vs reentrancy-lock ordering.
995 * mf-heuristics.c: Adapt to macro-style hook functions.
996 Correct some comments.
997 * testsuite/lib/mfdg.exp (dg-test): Simplify result string for
998 output pattern tests.
999 * testsuite/libmudflap.c/fail[89]-frag.c: Elaborate output test.
1000 * testsuite/libmudflap.c++/c++frags.exp: Enable non-static tests.
1001
1002 2003-02-28 Frank Ch. Eigler <fche@redhat.com>
1003
1004 * testsuite/libmudflap.c/fail23-frag.c, pass30-frag.c: New tests
1005 for global array registration.
1006 * testsuite/libmudflap.c++/fail24-frag.cxx, pass31-frag.cxx: Ditto.
1007 * testsuite/libmudflap.c++/c++frags.exp: Tweak -static multilib hack.
1008
1009 2003-02-27 Frank Ch. Eigler <fche@redhat.com>
1010
1011 * Makefile.am: Add gross make bug workarounds. Tweaked
1012 SUBDIRS and AM_CFLAGS.
1013 * Makefile.in: Regenerated.
1014
1015 2003-02-26 Frank Ch. Eigler <fche@redhat.com>
1016
1017 Switch to dejagnu.
1018 * configure.in (AC_PROG_CXX): Don't look for C++ any more.
1019 * Makefile.am (TESTS): Remove simple automake testing.
1020 * configure, Makefile.in: Regenerated.
1021 (SUBDIRS): Include new testsuite/ directory.
1022 * tests/*: Removed all files; moved bulk under:
1023 * testsuite/*: New subdirectory tree.
1024 * testsuite/libmudflap.c/cfrags.exp: New file, C test driver.
1025 * testsuite/libmudflap.c++/c++frags.exp: New file, C++ test driver.
1026 * testsuite/lib/libmudflap.exp: New file, derived from libstdc++.
1027 * testsuite/lib/mfdg.exp: New file, derived from dejagnu.
1028 * testsuite/config/default.exp: New file.
1029 * testsuite/Makefile.am, Makefile.in: New files.
1030
1031 2003-01-29 Frank Ch. Eigler <fche@redhat.com>
1032
1033 * Makefile.am (TESTS_ENVIRONMENT): Remove redundant "-mode-check".
1034 (TESTS): Add fail22 and pass29 tests.
1035 * mf-runtime.h.in: Change API to take void*/size_t region parameters.
1036 Add new access-type parameter for __mf_check. Move __MF_VIOL* out.
1037 * mf-impl.h: Corresponding changes. Update CLAMP* macros for void*
1038 values. Move __MF_VIOL* here.
1039 * mf-runtime.c (*): Adapt to void*/size_t API in mf-runtime.h.
1040 (check_initialization): New field in __mf_opts. Default off.
1041 (read_count,write_count): New fields in __mf_object.
1042 (__mf_check): Implement basic initialization checking.
1043 (__mf_insert_new_object): Assume STATIC|GUESS regions are initialized.
1044 (__mf_describe_object): Print new fields.
1045 (__mf_violation): Identify check/read vs. check/write in messages.
1046 * test/pass29-frag.c, test/fail22-frag.c: Basic tests for new
1047 "-check-initialized" mudflap option.
1048 * test/pass25-frag.c, test/fail21-frag.c: Adapt to API changes.
1049 * mf-hooks.c (MF_VALIDATE_EXTENT): Add new access-type parameter.
1050 Drop __FILE__/__LINE__ hack. Update callers.
1051 (*): Adapt to new mf-runtime.h API.
1052 * Makefile.in: regenerated.
1053
1054 2003-01-24 Frank Ch. Eigler <fche@redhat.com>
1055
1056 * configure.in: Build mf-runtime.h a more proper way.
1057 * mf-hooks.c (strdup, strndup): Correct reentrancy logic.
1058 * mf-runtime.c (verbose_violations): Turn on by default.
1059 * mf-runtime.h.in: Remove some miscellaneous stuff ...
1060 * mf-impl.h: ... and move it here.
1061 * configure: Regenerated.
1062
1063 2003-01-22 Frank Ch. Eigler <fche@redhat.com>
1064
1065 * configure.in: Look for C++ compiler.
1066 * test/*-frag.c, mf-driver.c: Reformatted with GNU indent and
1067 fixed type warnings when built with C++.
1068 * test/pass27-frag.cxx, pass28-frag.cxx: New C++ tests.
1069 * Makefile.am (TESTS): Run them.
1070 (*) Add new rules for building and running C++ tests.
1071 (TESTFLAGS): Set new default to avoid libstdc++-v3 shlib issues.
1072 * mf-runtime.h.in: Protect with extern "C".
1073 * Makefile, configure: Regenerated.
1074
1075 2003-01-06 Frank Ch. Eigler <fche@redhat.com>
1076
1077 Portability improvements.
1078 * configure.in: Look for glibc backtrace headers/functions.
1079 * mf-hooks.c: Don't include <execinfo.h> any more.
1080 * mf-runtime.c (__mf_set_options): Call more stdlib functions
1081 via CALL_REAL.
1082 (__mf_backtrace): Provide alternate baby implementation in
1083 absence of glibc.
1084 * test/mf-driver.c: Portability tweaks.
1085 * acinclude.m4: New file, containing top level libtool.m4.
1086 * aclocal.m4, configure, Makefile.in, config.h.in: Regenerated.
1087
1088 2002-12-19 Frank Ch. Eigler <fche@redhat.com>
1089
1090 * mf-runtime.h.in (HAVE_UINTPTR_T): Define unconditionally.
1091
1092 2002-11-08 Frank Ch. Eigler <fche@redhat.com>
1093
1094 * mf-runtime.c (options): Add new "wipe-heap", "wipe-stack"
1095 options.
1096 (__mf_unregister): Implement stack/heap object wiping.
1097 (__mf_set_options): Renamed from __mf_process_opts.
1098 (__mf_uncache_object): Change arg type, correct callers.
1099 * mf-impl.h: Corresponding changes.
1100 * mf-hooks.c (realloc): Save/restore heap-wiping flag.
1101 * mf-runtime.h.in (__mf_set_options): Extend public API.
1102 * test/pass26-frag.c: New test for stack wiping.
1103 * Makefile.am (TESTS): Run it.
1104 * Makefile.in: Regenerated.
1105
1106 2002-11-07 Frank Ch. Eigler <fche@redhat.com>
1107
1108 * mf-runtime.h.in (__mf_watch, __mf_unwatch): Extend public API.
1109 * mf-runtime.c (__mf_object_t): Add watching_p field.
1110 (__mf_watch_or_not): New function to implement
1111 object watch flagging.
1112 (__mf_watch, __mf_unwatch): New wrappers for above.
1113 (__mf_check, __mf_describe_object): Handle objects with watching_p.
1114 (__mf_count_violation): Enlarge array.
1115 (__mf_uncache_object): Renamed from __mf_remove_old_object. Don't
1116 unlink object. Clear cache properly.
1117 (__mf_unregister): Unlink object explicitly before uncaching.
1118 * test/fail21-frag.c, pass25-frag.c: New tests.
1119 * Makefile.in, aclocal.m4: Regenerated.
1120
1121 2002-11-05 Frank Ch. Eigler <fche@redhat.com>
1122
1123 * test/fail20-frag.c: New test for NULL pointer dereferencing.
1124 * Makefile.am (TESTS): Add it.
1125 * test/pass-stratcliff.c: Add decls of stpcpy.
1126 * configure.in: Test for <stdint.h>. Generate mf-runtime.h in
1127 build tree from config.h and new file mf-runtime.h.in.
1128 * mf-runtime.h.in: Renamed from mf-runtime.h. Tweak uintptr_t decl.
1129 * Makefile.in, configure, config.h.in: Regenerated.
1130 * mf-hooks.c: Add #undef for wrapped glibc str*/mem* macros.
1131 * mf-runtime.c (options, __mf_set_default_options): Support new
1132 default "abbreviate" option.
1133 (__mf_object.description_epoch): New field.
1134 (__mf_describe_object): Conditionally abbreviate objects already
1135 displayed in current epoch. Accept NULL input to increment epoch.
1136 (__mf_fini, __mf_ini): Reset description epoch.
1137 (__mf_register, __mf_unregister, __mf_adapt_cache, __mf_init): Ensure
1138 that NULL pointer slot in lookup cache is invalidated. Register a
1139 NOACCESS region around NULL.
1140 * mf-impl.h: Corresponding changes.
1141
1142 2002-10-16 Frank Ch. Eigler <fche@redhat.com>
1143
1144 * test/fail19-frag.c, pass24-frag.c, pass-stratcliff.c: New tests.
1145 * Makefile.am: Run them. Install mf-runtime.h.
1146 * Makefile.in: Regenerated.
1147 * mf-hooks.c: Add some markers for more missing functions.
1148 * mf-runtime.c (__mf_adapt_cache): Experiment with a utilization-based
1149 statistic to tune tune cache size (mask).
1150
1151 2002-10-01 Frank Ch. Eigler <fche@redhat.com>
1152
1153 * test/pass23-frag.c: New test for bit_field_ref expressions.
1154 * Makefile.am, Makefile.in: Add new test.
1155 * mf-hooks.c (mmap, munmap): Rewrite to track individual pages.
1156 (MF_VALIDATE_EXTENT): Accept zero-size mem/str operations.
1157 * mf-runtime.c (__mf_init): Register errno global.
1158 (__mf_find_object): Removed function.
1159 (__mf_check): Rewrite logic to support accesses across some
1160 contiguous but distinctly registered objects.
1161 (__mf_remove_old_object): Tolerate cache entries that span
1162 contiguous objects.
1163
1164 2002-09-30 Frank Ch. Eigler <fche@redhat.com>
1165
1166 * test/pass21-frag.c, pass22-frag.c: New tests: alloca, bitfields.
1167 * Makefile.am, Makefile.in: Run new tests.
1168 * mf-hooks.c (alloca): Correct stack direction logic.
1169
1170 2002-09-26 Frank Ch. Eigler <fche@redhat.com>
1171
1172 * mf-impl.h (adapt_cache): New option.
1173 * mf-runtime.c (__mf_set_default_options): Set its default value.
1174 Tweak the tree_aging parameter down.
1175 (__mf_check): Maintain separate counter for cache-adaptation.
1176 (__mf_tree_analyze): New function to collect object tree stats.
1177 (__mf_adapt_cache): New function to automate cache parameters.
1178
1179 2002-09-24 Frank Ch. Eigler <fche@redhat.com>
1180
1181 * mf-heuristics.c (__init_misc, __mf_heuristic_check): Add
1182 hypothetical #if-0'd argv/envp region registration.
1183 * mf-runtime.c (__mf_init): Add kludged form of above.
1184 (*) Add "heur_argv_environ" flag, default on, to govern this.
1185 * mf-impl.h: Corresponding changes.
1186
1187 2002-09-20 Frank Ch. Eigler <fche@redhat.com>
1188
1189 * test/fail18-frag.c: New test file for NOACCESS regions.
1190 * Makefile.am (TESTS): Add new test.
1191 * Makefile.in: Regenerated.
1192
1193 * mf-heuristics.c (__mf_heuristics_check): Correct deja_vu logic.
1194 * mf-impl.h (tree_aging): Add new mudflap_option, default 1000000.
1195 (optimize_object_tree): Remove unused mudflap_option.
1196 * mf-runtime.h (__MF_TYPE_NOACCESS): New region type. Add printing
1197 support throughout. Use .._MAX_CEM for cemetary upper bound.
1198 * mf-runtime.c (__mf_init): Register __mf_* globals as NOACCESS
1199 regions.
1200 (__mf_object): Add new liveness field for use by tree aging.
1201 (__mf_check): Trigger tree aging when needed.
1202 (__mf_age_tree): New function to decay liveness field.
1203 (__mf_find_objects_rec): Use liveness field to rotate tree.
1204 (__mf_insert_new_object): Only provide backtrace for HEAP objects.
1205 (__mf_unregister): Ditto.
1206 (__mf_register): Tweak duplicate-static message.
1207 (__mf_violation: Tweak nearby-object counter printing.
1208
1209 2002-09-16 Frank Ch. Eigler <fche@redhat.com>
1210
1211 * test/pass20-frag.c: New test file.
1212 * Makefile.am (TESTS): Reorganize. Add pass20 test.
1213 * Makefile.in: Regenerated.
1214
1215 * mf-impl.h (TRACE_IN, TRACE_OUT): Remove macros. Update callers.
1216 * mf-hooks.c (BEGIN_PROTECT): Add hook tracing here.
1217 * mf-heuristic.c (__mf_heuristic_check): Track seen /proc/self/map
1218 entries to avoid repeat registration.
1219 * mf-runtime.c (__mf_object_cemetary): Don't bother bury GUESS regions.
1220 (__mf_register, __mf_unregister): Rewrite GUESS handling logic.
1221
1222 2002-09-09 Frank Ch. Eigler <fche@redhat.com>
1223
1224 * Makefile.am: Create test sources with #include, not cat>>.
1225 * Makefile.in: Regenerated.
1226 * test/buildtest.sh: Removed.
1227 * test/driver.c (abort_handler, main): Be quiet.
1228
1229 2002-09-06 Frank Ch. Eigler <fche@redhat.com>
1230
1231 * test/pass18-frag.c, pass19-frag.c: New tests.
1232 * Makefile.am (check): Run them. Rebuild test programs each time.
1233 * Makefile.in: Regenerated.
1234
1235 2002-09-06 Frank Ch. Eigler <fche@redhat.com>
1236
1237 * mf-runtime.c (__mf_register): Correct SEGV-inducing error in
1238 overlapping object search.
1239 (__mf_violation): Likewise for nearby objects.
1240 Improve nearby-object listing.
1241
1242 cleanup:
1243 * mf-runtime.c, mf-hooks.c: Remove "{{{"/"}}}" folding marks.
1244 * mf-heuristics.c (__mf_heuristic_check): Tweak message.
1245
1246 2002-09-03 Frank Ch. Eigler <fche@redhat.com>
1247
1248 alloca support:
1249 * Makefile.am (AM_CFLAGS): New definition of needed settings.
1250 (HOOKOBJS): Add alloca-hook.o.
1251 * mf-hooks.c (alloca): New function to implement alloca in libiberty
1252 style.
1253 * mf-runtime.c (__mf_report): Call alloca(0) to flush remaining blocks.
1254 (__mf_backtrace): Reimplement without using alloca.
1255 * Makefile.in: Regenerated.
1256
1257 cleanup:
1258 * mf-hooks.c: Use VERBOSE_TRACE throughout instead of fprintf(stderr).
1259 Correct signedness bugs in length-tracking variables.
1260 * mf-impl.h: Make options unsigned.
1261 (CALL_WRAP): New macro to parallel CALL_REAL().
1262 (DECLARE): Remove erroneous ";" at end.
1263 * mf-runtime.c, mf-hooks.c, mf-heuristics.c: Replace remaining %p
1264 formatting specs with %08lx. Correct several compiler warnings.
1265
1266 2002-08-28 Frank Ch. Eigler <fche@redhat.com>
1267
1268 * mf-runtime.c (__mf_violation): Try harder to locate nearby objects.
1269
1270 2002-08-27 Frank Ch. Eigler <fche@redhat.com>
1271
1272 libmudflap hook breakup:
1273 * Makefile.am (TESTS_ENVIRONMENT): Add ../../gcc to LD_LIBRARY_PATH
1274 for libgcc_s.
1275 (TESTS): Make dependent on libmudflap.
1276 (HOOKOBJS): Break up mf-hooks.o into many little hook objects,
1277 compiled from segments of mf-hooks.c.
1278 * mf-hooks.c: Corresponding changes: wrap each function in
1279 #ifdef/#endif.
1280 * Makefile.in: Regenerated.
1281
1282 Heuristics reorganization:
1283 * mf-heuristics.c (__mf_register_ro_sections, __mf_init_heuristics):
1284 Remove these functions. Update callers.
1285 (__mf_heuristic_check): Incorporate all the various heuristics.
1286 Encode cacheability/retry judgement into trinary return value.
1287 Separate start-end logic into a separate fallback heuristic. Only
1288 register relevant /proc/self/map segments.
1289 * mf-impl.h: Corresponding changes.
1290 * mf-runtime.c (__mf_check): Reorganize heuristics fallback logic.
1291 (__mf_init): Don't call __mf_init_heuristics.
1292
1293 Tracing cleanup:
1294 * mf-heuristics.c, mf-runtime.c: Use new MUDFLAP_OPTION
1295 "-verbose-trace" to emit all tracing messages other than those of
1296 basic public api. Eliminate some duplicate/excessive messages.
1297 * mf-runtime.h: Corresponding changes.
1298
1299 2002-08-27 Graydon Hoare <graydon@redhat.com>
1300
1301 * mf-impl.h (WRAPPER): Change to create linker aliases for __wrap
1302 and __real when compiled with -DPIC.
1303 * mf-hooks.c (WRAPPER): Change all uses of WRAPPER macro slightly.
1304 * Makefile.am (AUTOMAKE_OPTIONS): Fix LD_LIBRARY_PATH for tests.
1305 * Makefile.in: Regenerate.
1306
1307 2002-08-26 Graydon Hoare <graydon@redhat.com>
1308
1309 * mf-impl.h: New file, private implementation header.
1310 * mf-runtime.h: Reorganize a bit.
1311 (CLAMPSZ): Fix arithmetic.
1312 (__MF_CACHE_MISS_P): Fix arithmetic.
1313 * mf-runtime.c: Reorganize a bit.
1314 (__mf_dynamic): New structure.
1315 (resolve_single_dynamic): New function.
1316 (__mf_resolve_dynamics): New function.
1317 (__mf_init): Initialize dynamic wrappers.
1318 * mf-hooks.c: Macro-ize __real calls.
1319 Clamp various bits of arithmetic.
1320 Add explicit __mf_check call contexts.
1321 * Makefile.am: Add dependencies on mf-impl.h
1322 * Makefile.in: Regenerate.
1323 * configure.in: Comment out shared override.
1324 * configure: Regenerate.
1325
1326 2002-08-22 Graydon Hoare <graydon@redhat.com>
1327
1328 * mf-runtime.c (__mf_process_opts): Sanity-check free_queue_length.
1329 (__mf_check): Re-inialize and check heuristics before violation.
1330 (__mf_register): Permit updating pure-guess regions.
1331 * mf-hooks.c (__wrap_free): Correct some free queue logic.
1332 (__wrap_dlopen): New wrapper function.
1333 (__wrap_mmap): New wrapper function.
1334 (__wrap_munmap): New wrapper function.
1335 * mf-heuristics.c (__mf_register_ro_sections): Register *all* regions
1336 which are not stack addresses.
1337 (is_stack_address): New function.
1338 (__mf_init_heuristics): Save and restore state, always initialize with
1339 "starting" state.
1340
1341 2002-08-21 Frank Ch. Eigler <fche@redhat.com>
1342
1343 * mf-hooks.c (MF_VALIDATE_EXTENT): Rewrite to correct off-by-one
1344 error. Pass location string.
1345 (wrap_strcpy, wrap_strncpy): Remove extra %s in trace strings.
1346 * mf-runtime.c (options): Add lc-mask, lc-shift options.
1347 (__mf_process_opts): Apply some sanity checking for lc-mask.
1348 (__mf_check, __mf_violation): Take new location-string argument.
1349 Update callers to pass NULL if necessary.
1350 (__mf_backtrace): New smart backtracer function. Calls replace
1351 several ad-hoc blocks elsewhere.
1352 (__mf_describe_object): Remove bad reentrancy test. Improve
1353 tracing message.
1354 * mf-runtime.h: Corresponding changes. Public/private markup.
1355 (__MF_CACHE_MISS_P): New macro.
1356
1357 2002-08-20 Graydon Hoare <graydon@redhat.com>
1358
1359 * mf-runtime.h: New option: stack_bound (heuristic).
1360 Move some macros out of implementation files.
1361 * mf-runtime.c: New option string: -stack-bound.
1362 Unify recursion protection with hooks.
1363 Add more logging.
1364 (__mf_check): Call __mf_heuristic_check.
1365 (__mf_process_opts): Fix "no-" processing.
1366 * mf-heuristics.c (__mf_heuristic_check): New function.
1367 * mf-hooks.c: Much off-by-one fixing, recursion protection.
1368
1369 2002-08-20 Frank Ch. Eigler <fche@redhat.com>
1370
1371 Option parsing improvements, region splitting bug fixes:
1372 * mf-heuristics.c (__mf_register_ro_sections): Add warned casts.
1373 * mf-runtime.h (heur_proc_map): New libmudflap option.
1374 * mf-runtime.c (__mf_set_default_options): Set it.
1375 (__mf_usage): Print default values/status.
1376 (__mf_process_opts): Support general "no-" option string prefix.
1377 (__mf_init): Print __mf_usage on unknown-option error.
1378 (__mf_register): Print trace message up front.
1379 Correct region splitting logic for case where a subregion disappears.
1380 Correct memory leak.
1381 (__mf_violation): Make even basic message conditional on option.
1382
1383 Build cleanup:
1384 * Makefile.am (TESTS_ENVIRONMENT): Add -no-heur-proc-map.
1385 (clean-local): New target.
1386 (test/*x rules): Add -g CFLAGS.
1387 (CFLAGS): Add -freorder-blocks.
1388 (MFCONFIG_CFLAGS, INCLUDE): Remove unneeded settings.
1389 * Makefile.in: Regenerated.
1390 * Makefile, mf-config.h: Removed files.
1391
1392 2002-08-16 Graydon Hoare <graydon@redhat.com>
1393
1394 * mf-runtime.c (__mf_insert_new_object): Factor out of
1395 __mf_register.
1396 (__mf_remove_old_object): Factor out of __mf_unregister.
1397 (__mf_register): Handle guessed regions, splitting
1398 guesses when new registrations arrive.
1399 (__mf_unregister): Do not unregister guesses.
1400 * mf-runtime.h: Move convenience macros around,
1401 declare new option fields. Add __MF_TYPE_GUESS.
1402 * mf-hooks.c (__wrap_*alloc): Use crumple zones.
1403 (__wrap_free): Call __real_free for deferred frees.
1404 * Makefile.am: Add more tests, fix dependency.
1405 * Makefile.in: Regenerate.
1406 * test/pass[13..17]-frag.c: New testcases.
1407 * test/fail[13..17]-frag.c: New testcases.
1408
1409 2002-08-15 Graydon Hoare <graydon@redhat.com>
1410
1411 * mf-heuristics.c: New file.
1412 * mf-runtime.c (options): Add -trace-calls option.
1413 (__mf_init): Call __mf_init_heuristics.
1414
1415 2002-08-14 Graydon Hoare <graydon@redhat.com>
1416
1417 * Makefile.am (TESTS): Add testsuite support.
1418 * Makefile.in: Regenerate.
1419 * test/mf-driver.c: New file.
1420 * test/buildtest.sh: New file.
1421 * test/passNN-frag.c: New testcases.
1422 * test/failNN-frag.c: New testcases.
1423
1424 2002-08-14 Graydon Hoare <graydon@redhat.com>
1425
1426 * mf-hooks.c: Change __real_strlen() to __real_strlen()+1 when
1427 verifying non-size-limited string extents.
1428
1429 2002-08-14 Frank Ch. Eigler <fche@redhat.com>
1430
1431 * mf-hooks.c: Make __wrap string* functions use __real_str[n]len
1432 instead of plain str[n]len for internal checks.
1433 * mf-runtime.c (__mf_violation): Print optional stack traceback.
1434
1435 2002-08-14 Frank Ch. Eigler <fche@redhat.com>
1436
1437 * mf-hooks.c: Remove #if-0 around hooks that are now ld-wrapped.
1438
1439 2002-08-13 Graydon Hoare <graydon@redhat.com>
1440
1441 * mf-runtime.c: Rework configuration to operate on
1442 environment variable options rather than #defines
1443 (__mf_violation): Add simple fork-a-gdb violaiton mode.
1444 (__mf_init): Set static __mf_active_p flag on startup,
1445 to inhibit mudflap wrap-based checking during crt0.s.
1446 * mf-runtime.h: Declare options structure.
1447 * mf-hooks.c: New wrappings for mem*, b*, str*
1448 libc functions (temporarily #if 0-ed out).
1449
1450 2002-08-12 Frank Ch. Eigler <fche@redhat.com>
1451
1452 * Makefile.am, configure.in: New files.
1453 * Makefile.in, Makefile, configure, config.h.in: New generated files.
1454 * stamp-h.in, aclocal.m4: Ditto.
1455
1456 2002-08-08 Frank Ch. Eigler <fche@redhat.com>
1457
1458 * Makefile: New file.
1459 * mf-config.h: New file: runtime configuration.
1460 * mf-hooks.c: New file: interposed libc functions.
1461 * mf-runtime.c: New file: bulk of runtime.
1462 * mf-runtime.h: New file: public functions.