OSDN Git Service

* mf-runtime.h: Add libmudflap copyright clause.
[pf3gnuchains/gcc-fork.git] / libmudflap / ChangeLog
index 94f81df..4f25712 100644 (file)
@@ -1,3 +1,270 @@
+2005-04-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
+
+2005-03-31  Mike Stump  <mrs@apple.com>
+
+       * mf-runtime.h: Add libmudflap copyright clause.
+
+2005-03-21  Mike Stump  <mrs@apple.com>
+
+       * mf-heuristics.c: Fix whitespace at end of line.
+       * mf-hooks1.c: Likewise.
+       * mf-hooks2.c: Likewise.
+       * mf-hooks3.c: Likewise.
+       * mf-impl.h: Likewise.
+       * mf-runtime.c: Likewise.
+       * mf-runtime.h: Likewise.
+
+2005-03-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * configure.ac: Do not invoke TL_AC_GCC_VERSION.
+       In all substitutions, expand gcc_version in Makefile.
+       * aclocal.m4, configure: Regenerate.
+       * Makefile.am: Set gcc_version.
+       * Makefile.in, testsuite/Makefile.in: Regenerate.
+
+2005-03-17  Frank Ch. Eigler  <fche@redhat.com>
+
+       * mf-runtime.c (__mfu_check): Respect ignore_reads configuration.
+       * testsuite/libmudflap.c/{pass56,fail39}-frag.c: New tests.
+
+2005-02-13  Frank Ch. Eigler  <fche@redhat.com>
+
+       PR mudflap/19319
+       * testsuite/libmudflap.c++/pass55-frag.c: New test.
+
+2005-01-05  Richard Henderson  <rth@redhat.com>
+
+       * testsuite/libmudflap.c/pass32-frag.c: Fix typo.
+
+2005-01-02  Greg McGary  <greg@mcgary.org>
+
+       * mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
+       * mf-runtime.h: New file, replaces mf-runtime.h.in.
+       * configure.ac (AC_CONFIG_FILES): mf-runtime.h is no longer generated.
+       * Makefile.in: Ditto.
+       * testsuite/lib/libmudflap.exp: Add -I${srcdir}/.. to get mf-runtime.h
+       * testsuite/libmudflap.c/pass32-frag.c: s/uintptr_t/__mf_uintptr_t/
+       * testsuite/libmudflap.c/fail36-frag.c: New test.
+       * testsuite/libmudflap.c/fail37-frag.c: New test.
+       * testsuite/libmudflap.c/fail38-frag.c: New test.
+
+2004-12-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.am: Add ../config to ACLOCAL_AMFLAGS.
+       * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate.
+
+2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
+       * aclocal.m4: Include ../config/gcc-version.m4.
+       * configure, Makefile.in, testsuite/Makefile.in: Regenerate.
+
+2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.am: Define ACLOCAL_AMFLAGS.
+       * acinclude.m4: Remove.
+       * stamp-h.in: Remove superfluous stamp file.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Likewise.
+
+2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.am: Revert previous.
+       * acinclude.m4: Restore.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Likewise.
+
+2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.am: Define ACLOCAL_AMFLAGS.
+       * acinclude.m4: Remove.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Likewise.
+
+2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.
+
+2004-11-23  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3.
+       * testsuite/Makefile.in: Likewise.
+
+2004-11-01  Andreas Schwab  <schwab@suse.de>
+
+       * configure.ac: (target_alias): Default to $host_alias, not
+       $target.
+       * configure: Regenerated.
+
+2004-10-28  Frank Ch. Eigler  <fche@redhat.com>
+
+       * testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests.
+       * testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning
+       message.
+
+2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR other/18138
+       * testsuite/lib/libmudflap.exp: Accept more than one multilib libgcc.
+
+2004-10-12  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure.ac: Check for more headers, functions.
+       * mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
+       tracking overridden FILE buffers.
+       (fopen, setvbuf): New/revised hook functions for buffer overriding.
+       (setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
+       (fflush): Accept given NULL stream (means "all streams").
+       * mf-runtime.h.in:
+       * mf-runtime.c (__mfu_check): Accept accesses that span adjacent
+       HEAP/GUESS objects.
+       (LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
+       (__mf_adapt_cache): Use them all.
+       * testsuite/libmudflap.c/pass35-frag.c: Update warning message.
+       * testsuite/libmudflap.c++/ctors.exp: Ditto.
+       * testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
+       * configure, config.h.in: Regenerated.
+
+2004-10-05  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure.ac: Checking for sys/socket.h once is enough.
+       * configure: Regenerated.
+
+2004-10-04  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure.ac: Look for more headers & functions.
+       * mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
+       * mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
+       * mf-runtime.c (options): Clean up integer signedness warnings.
+       (main): Add a declaration to fix a warning.
+       * mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
+       * configure, config.h.in: Regenerated.
+
+2004-10-02  Frank Ch. Eigler  <fche@redhat.com>
+
+       * testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c:
+       New tests for proper base/limit checking for aggregates.
+
+2004-09-15  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * testsuite/libmudflap.c/pass35-frag.c: Update expected message.
+
+2004-09-07  Frank Ch. Eigler  <fche@redhat.com>
+
+       * configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions.
+       * mf-hooks2.c (strerror): Unregister previous string returned by
+       previous strerror.
+       (getlogin,cuserid,getpwnam,getpwuid,getgrnam,getgrgid): New wrappers.
+       (getservent,getservbyname,getservbyport,gai_strerror): Ditto.
+       * mf-runtime.h.in: Add redefine_extname pragmas for them all.
+       * mf-runtime.c (__mf_describe_object): Clarify object life status.
+       * testsuite/libmudflap.c/pass48-frag.c, pass49-frag.c, fail32-frag.c:
+       New tests.
+       * configure, config.h.in: Regenerated.
+
+2004-08-03  Dale Johannesen  <dalej@apple.com>
+
+        * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
+
+2004-08-03  Frank Ch. Eigler  <fche@redhat.com>
+
+       * mf-runtime.c (compare_uintptr_t): Remove function.  Inline
+       simplified contents in all former callers.
+
+2004-07-27  Ulrich Weigand  <weigand@informatik.uni-erlangen.de>
+
+       * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
+       the statically linked case.
+
+2004-07-27  Frank Ch. Eigler  <fche@redhat.com>
+
+       * splay-tree.[ch]: Remove.  Merge contents into ...
+       * mf-runtime.c: ... here, renaming symbols and making all functions
+       static.  Remove unused min/max functions.
+       * Makefile.am: Forget about splay-tree.[ch].
+       * Makefile.in, testsuite/Makefile.in: Regenerated.
+
+2004-07-21  Frank Ch. Eigler  <fche@redhat.com>
+
+       * mf-runtime.c (__mfu_check): Remove mistaken mode-nop handling.
+       (__mfu_usage): Include (C) 2004.
+       * mf-hooks3.c (__mf_find_threadinfo): Don't call tracing functions
+       here.  Include a comment explaining why.
+
+2004-07-20  Frank Ch. Eigler  <fche@redhat.com>
+
+       * mf-impl.h (__mf_options): Add ignore_reads and timestamps fields.
+       * mf-runtime.c (options): Give them a name.
+       (__mf_set_default_options): Set them.
+       (__mf_insert_new_object, __mfu_unregister): Optionalize timestamps.
+       (__mf_violation): Warning cleanup.
+       * mf-impl.h (MF_VALIDATE_EXTENT): Support ignore_reads option.
+       * splay-tree.c (splay_tree_delete_helper): Remove obsolete decl.
+
+2004-07-15  Frank Ch. Eigler  <fche@redhat.com>
+
+       g++/15861
+       * mf-runtime.c (__mf_init): Make it non-static.  Tolerate
+       repeated invocation.
+
+2004-07-09  Frank Ch. Eigler  <fche@redhat.com>
+
+       Test case for g++/15861
+       * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves.
+       * testsuite/libmudflap.c++/ctors.exp: Driver.
+       * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default.
+       Look only for *frag* test cases.
+
+2004-07-08  Frank Ch. Eigler  <fche@redhat.com>
+
+       ANSI C conversion, libmudflap specialization, recursion limiting.
+       * splay-tree.h (splay_tree_{de,}allocate_fn): Remove allocation_data
+       argument and indirection function pointers, update callers.
+       (splay_tree_s): Add statistics and recursion control fields
+       num_keys, max_depth, depth, rebalance_p.
+       * splay-tree.c (splay_tree_splay_helper): Track recursion depth.
+       Back out of search if it exceeds limit.
+       (splay_tree_splay): Manage recursion limiting with rebalancing as
+       needed.
+       (splay_tree_new): More initialization.
+       (splay_tree_rebalance): New function.
+       (splay_tree_foreach): Rewrite using nonrecursive logic.
+       (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate):
+       Remove.  Point indirect calls to mf-runtime.c's routines.
+       (splay_tree_compare_ints, splay_tree_compare_pointers): Remove unused
+       functions.
+       (splay_tree_delete, splay_tree_delete_helper): Ditto.
+       * testsuite/heap-scalestress.c: New test based on one from
+       Eyal Lebedinsky <eyal@eyal.emu.id.au>:
+
+2004-07-05  Matthias Klose  <doko@debian.org>
+
+       * libtool-version: New.
+       * Makefile.am (libmudflap_la_LDFLAGS, libmudflapth_la_LDFLAGS):
+       Use -version-info for soname.
+       * Makefile.in: Regenerate.
+       * configure.ac: Remove libtool_VERSION macro
+       * configure: Regenerate
+
+2004-07-05  Zack Weinberg  <zack@codesourcery.com>
+
+       * mf-runtime.h.in: Wrap declarations of struct __mf_cache,
+       __mf_lookup_cache, __mf_lc_mask, or __mf_lc_shift in
+       #ifndef _MUDFLAP.
+
+2004-06-29  Frank Ch. Eigler  <fche@redhat.com>
+
+       Splay tree implementation fork.
+       * splay-tree.c, splay-tree.h: Copied & modified from libiberty.
+       Use hard-coded comparison function for uintptr_t.  Remove key/value
+       deallocation logic.  Cache last splayed key for consecutive lookups.
+       * Makefile.am, Makefile.in: Use them, don't link to them.
+       * mf-runtime.c (__mf_object_tree): Adapt to simpler splay_tree_new.
+       (__mf_find_objects2): Flip successor/predecessor search sequence.
+       * ansidecl.h, libiberty.h: Removed dummy files.
+
 2004-06-29  Nick Clifton  <nickc@redhat.com>
 
        * configure.ac (AC_CHECK_HEADERS): Add dirent.h
        * testsuite/libmudflap.c/pass46-frag.c: Ditto.
        * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
        Regenerated with autoconf 2.57 and automake 1.7.
-       
+
 2004-06-04  Per Bothner  <per@bothner.com>
 
        * configure.in (LIBMUDFLAPTH):  Fix thinko.
 2003-11-19  Frank Ch. Eigler  <fche@redhat.com>
 
        libstdc++/11696
-        * mf-runtime.h.in: Switch to #pragma redefine_extname for
-        symbols interposed at compile time.
+       * mf-runtime.h.in: Switch to #pragma redefine_extname for
+       symbols interposed at compile time.
        * testsuite/libmudflap.c++/pass41-frag.cxx: New test.
 
        libmudflap/12939
 
        2003-07-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
-        * configure.in: Update check for union semun.
+       * configure.in: Update check for union semun.
 
 2003-07-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>