X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libmudflap%2FChangeLog;h=eb6c5b201fa609d54bb82d1e803f79fa3e8ab648;hb=545ee73275915a5217ba63b4fe90587a96d47496;hp=6aba70ad5b37b3f084e3c1746304f8410b38b5de;hpb=3d7e6617b5540ca82960bb7e1761ee30a5a79e7f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index 6aba70ad5b3..eb6c5b201fa 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,582 @@ +2006-05-23 Carlos O'Donell + + * Makefile.am: Add install-html target. Add install-html to .PHONY + * Makefile.in: Regenerate. + +2006-04-19 Volker Reichelt + + PR mudflap/26789 + * testsuite/libmudflap.c++/error1-frag.cxx: New test. + + PR mudflap/26790 + * testsuite/libmudflap.c++/error2-frag.cxx: New test. + +2006-04-10 Matthias Klose + + * testsuite/lib/libmudflap.exp (libmudflap-init): Recognize multilib + directory names containing underscores. + +2005-11-22 Janis Johnson + + * testsuite/lib/libmudflap.exp (libmudflap-init): Remove -static from + MUDFLAP_FLAGS if static library not supported. + * testsuite/libmudflap.c/cfrags.exp (MUDFLAP_FLAGS): new. + * testsuite/libmudflap.c/externs.exp: Ditto. + * testsuite/libmudflap.c++/ctors.exp: Ditto. + * testsuite/libmudflap.c++/c++frags.exp: Ditto. + * testsuite/libmudflap.cth/cthfrags.exp: Ditto. + +2005-10-04 James E Wilson + + * configure.ac (mudflap_cv_entry_point): Use quadrigraphs to declare + $name as array of characters with unknown bound. Also store into the + array. + * configure: Regenerate. + +2005-09-30 James E. Wilson + + * configure.ac (pthread.h): Use AC_CHECK_HEADERS instead of + AC_CHECK_HEADER. + (target_thread_file): New. Set from sed'ed gcc output. + (posix_threads): New. Set from target_thread_file. Use instead of + ac_have_pthread_h. + (pthread_create_version): Move initialization before code using it. + * configure: Regenerate. + + * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown + bounds. + +2005-09-29 James E. Wilson + + * mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect + with HAVE_MMAP ifdef. + +2005-09-23 Frank Ch. Eigler + + PR 23084. + * mf-hooks2.c (accept): Tolerate NULL sockaddr* parameter. + +2005-09-23 Frank Ch. Eigler + + * testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319. + +2005-09-23 Tom Tromey + + * aclocal.m4, configure: Rebuilt. + * configure.ac: Use GCC_CHECK_TLS. + * acinclude.m4 (LIBMUDFLAP_CHECK_TLS, LIBMUDFLAP_ENABLE): Moved + to ../config. + +2005-08-22 Jim Wilson + + * mf-hooks2.c (MF_REGISTER_fopen): Define to __MF_TYPE_STATIC when + __FreeBSD__ is defined. + +2005-08-17 Jim Wilson + + * mf-hooks1.c (malloc, calloc, realloc, free, + __mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling + the real routines, and END_MALLOC_PROTECT afterwards. + * mf-impl.h (enum __mf_state_enum): Expand comment. Add in_malloc. + (BEGIN_PROTECT): Handle in_malloc state. + (BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New. + * testsuite/libmudflap.c/hook2-allocstuff.c: New. + +2005-08-17 Kelley Cook + + * All files: Update FSF address. + +2005-08-15 Ulrich Weigand + + * mf-hooks3.c (main_seen_p): Remove. + (__mf_get_state): Remove attempt to recognize the main thread. + +2005-08-15 Maciej W. Rozycki + + * configure.ac: Test for the name of the symbol used for the entry + point; define ENTRY_POINT to the result. + * configure: Regenerate. + * config.h.in: Regenerate. + * mf-heuristics.c: Replace _start with ENTRY_POINT throughout. + +2005-08-14 Ulrich Weigand + + * mf-runtime.c (__mf_state_1): Initialize to reentrant. + (__mf_init): Set thread state active. + * mf-hooks3.c (__mf_pthread_spawner): Always set thread + state active. + (pthread_create wrapper): Always use thread spawner. + + * testsuite/libmudflap.cth/pass37-frag.c: Increase timeout. + * testsuite/libmudflap.cth/pass39-frag.c: Likewise. + +2005-07-16 Richard Henderson + + * acinclude.m4: New file. + * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS. + * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild. + * mf-hooks1.c (__mf_0fn_malloc): Move body from ... + (__mf_0fn_calloc): ... here. + * mf-hooks3.c (struct pthread_info): Remove. + (__mf_pthread_info, __mf_pthread_info_idx): Remove. + (LIBMUDFLAPTH_THREADS_MAX): Set to 1021. + (struct mf_thread_data): New. + (mf_thread_data, mf_thread_data_lock): New. + (__mf_allocate_blank_threadinfo): Remove. + (__mf_find_threadinfo): Rewrite and simplify. Only use if TLS is + not available. + (__mf_state_perthread): Remove. + (__mf_get_state, __mf_set_state): New. + (__mf_pthread_cleanup): Use &errno, rather than saved pointer. + Update mf_thread_data killing procedure. + (__mf_pthread_spawner): Similarly. + (__mf_0fn_pthread_create): Only use wrapper if necessary. Remove + code to allocate thread stack space. + (__mf_0fn_pthread_join, pthread_join): Remove. + (__mf_0fn_pthread_exit, pthread_exit): Remove. + * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove. + (__mf_state_1): Rename from __mf_state; use TLS when available. + (__mf_get_state, __mf_set_state): New. Update all users. + * mf-runtime.c (begin_recursion_protect1): New. + (BEGIN_RECURSION_PROTECT): Use it. + (__mf_state_1): Rename from __mf_state; use TLS when available. + (threads_active_p): Remove. + (__mf_usage): Compute it directly. + +2005-06-19 Ulrich Weigand + + * testsuite/libmudflap.c/externs-1.c (main): Add return statement. + +2005-06-15 Frank Ch. Eigler + + Fix for uncaching bug reported by Herman ten Brugge. + * mf-runtime.c (__mf_uncache_object): Search whole cache. + * testsuite/libmudflap.c/fail40-frag.c: New test. + +2005-05-23 Alfred M. Szmidt + + PR libmudflap/21724 + * Makefile.am (AM_MAKEFLAGS): Pass includedir. + * Makefile.in: Amend. + +2005-06-14 Frank Ch. Eigler + + PR mudflap/21023 + * testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files. + * testsuite/libmudflap.c/cfrags.exp: Bypass new sources. + +2005-06-14 Frank Ch. Eigler + + PR libmudflap/21094 + * testsuite/libmudflap.c++/*.exp: Assert build tree g++. + +2005-06-14 Frank Ch. Eigler + + PR mudflap/22064 + * mf-impl.h (mudflap_mode, violation_mode): Make these ordinary + unsigned vars with #defines instead of enums. + +2005-05-09 Mike Stump + + * configure: Regenerate. + +2005-04-12 Mike Stump + + * configure: Regenerate. + +2005-04-12 Frank Ch. Eigler + + PR mudflap/19266 + * testsuite/libmudflap.c++/c++frags.exp: Also test -O permutation. + * testsuite/libmudflap.c++/pass57-frag.cxx: New test. + +2005-04-04 Alan Modra + + * mf-runtime.c (__mfu_unregister): Warning fix for char unsigned. + +2005-03-31 Mike Stump + + * mf-runtime.h: Add libmudflap copyright clause. + +2005-03-21 Mike Stump + + * 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 + + * 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 + + * mf-runtime.c (__mfu_check): Respect ignore_reads configuration. + * testsuite/libmudflap.c/{pass56,fail39}-frag.c: New tests. + +2005-02-13 Frank Ch. Eigler + + PR mudflap/19319 + * testsuite/libmudflap.c++/pass55-frag.c: New test. + +2005-01-05 Richard Henderson + + * testsuite/libmudflap.c/pass32-frag.c: Fix typo. + +2005-01-02 Greg McGary + + * 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 + + * Makefile.am: Add ../config to ACLOCAL_AMFLAGS. + * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate. + +2004-12-02 Richard Sandiford + + * 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 + + * 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 + + * Makefile.am: Revert previous. + * acinclude.m4: Restore. + * aclocal.m4, configure, Makefile.in: Regenerate. + * testsuite/Makefile.in: Likewise. + +2004-11-24 Kelley Cook + + * Makefile.am: Define ACLOCAL_AMFLAGS. + * acinclude.m4: Remove. + * aclocal.m4, configure, Makefile.in: Regenerate. + * testsuite/Makefile.in: Likewise. + +2004-11-23 John David Anglin + + * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp. + +2004-11-23 Kelley Cook + + * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3. + * testsuite/Makefile.in: Likewise. + +2004-11-01 Andreas Schwab + + * configure.ac: (target_alias): Default to $host_alias, not + $target. + * configure: Regenerated. + +2004-10-28 Frank Ch. Eigler + + * 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 + + PR other/18138 + * testsuite/lib/libmudflap.exp: Accept more than one multilib libgcc. + +2004-10-12 Frank Ch. Eigler + + * 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 + + * configure.ac: Checking for sys/socket.h once is enough. + * configure: Regenerated. + +2004-10-04 Frank Ch. Eigler + + * 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 + + * 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 + + * testsuite/libmudflap.c/pass35-frag.c: Update expected message. + +2004-09-07 Frank Ch. Eigler + + * 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 + + * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. + +2004-08-03 Frank Ch. Eigler + + * mf-runtime.c (compare_uintptr_t): Remove function. Inline + simplified contents in all former callers. + +2004-07-27 Ulrich Weigand + + * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in + the statically linked case. + +2004-07-27 Frank Ch. Eigler + + * 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 + + * 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 + + * 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 + + g++/15861 + * mf-runtime.c (__mf_init): Make it non-static. Tolerate + repeated invocation. + +2004-07-09 Frank Ch. Eigler + + 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 + + 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 : + +2004-07-05 Matthias Klose + + * 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 + + * 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 + + 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 + + * configure.ac (AC_CHECK_HEADERS): Add dirent.h + * configure: Regenerate. + * mf-hooks2.c: Surround uses of dirent.h with #ifdef + HAVE_DIRENT_H. + Remove spurious inclusion of . + +2004-06-29 Nick Clifton + + * mf-runtime.c (pthread_join): Only apply the weak pragma if the + function actually exists. + +2004-06-25 Frank Ch. Eigler + + * ansidecl.h, libiberty.h: New dummy files for building splay-tree. + * config.h.in: Regenerated. + +2004-06-24 Frank Ch. Eigler + + Adopt splay trees for object database. + * Makefile.am: Copy splay-tree.* from libiberty. + * Makefile.in, testsuite/Makefile.in: Regenerated. + * mf-runtime.h.in (__mf_unregister): Add third parameter (type). + * mf-hooks[123].c (*): Add new third parameter to mf_unregister. + * mf-impl.h (BEGIN_PROTECT): Remove some trace text. + * mf-runtime.c: Rewrite code dealing with object database to use + libiberty splay trees. Remove tree liveness aging option. + * testsuite/libmudflap.c/fail18-frag.c: Add volatile flag. + +2004-06-15 Paolo Bonzini + + * configure.ac: New name of configure.in. Update + AC_INIT, AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES, + AC_OUTPUT, AM_INIT_AUTOMAKE to the preferred style for + Autoconf 2.5x and Automake 1.7 or later. + * configure.in: Remove. + * configure: Regenerate. + + * Makefile.am: Remove useless multilib rules. + * Makefile.in: Regenerate. + +2004-06-15 Paolo Bonzini + + * .cvsignore: New file. + +2004-06-10 Stephen Crowley + + PR libmudflap/13505 + * mf-hooks2.c (semctl): Add cygwin porting hack. + +2004-06-09 Frank Ch. Eigler + + ctype support. + * configure.in: Look for ctype header and glibc implementation. + * mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype + array hooks for glibc 2.3. + * mf-runtime.h.in: Wrap them. + * mf-runtime.c (__mf_init): Leave marker regarding other ctype + implementations. + * testsuite/libmudflap.c/pass47-frag.c: New test. + * configure, config.h.in: Regenerated. + +2004-06-04 Frank Ch. Eigler + + Portability improvements, e.g., libmudflap/15293. + * configure.in: Look for glibc extension functions. Look for + support of -f{function,data}-sections. Look for more headers. + Create testsuite/mfconfig.exp. Correct more "test x.." thinkos. + * Makefile.am: Use $(SECTION_FLAGS). Collapse piecemeal-compiled + mf-hooks* into usual single object per source. + * mf-hooks*.c: Remove all #if WRAP_foo conditionals. + * mf-hooks2.c: #include a bunch more system headers. Define strnlen + if system doesn't provide one. + * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields. + (pthread_create): Use it to properly GC dead thread stacks. + * mf-runtime.c (__mf_violation): Correct snprintf type warning. + * testsuite/Makefile.am: Stop generating site.exp. + * testsuite/mfconfig.exp.in: New file. + * testsuite/config/default.exp: Load new mfconfig.exp. + * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries. + (prune_gcc_output): Add glibc static linking warnings. + * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs. + * 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 + + * configure.in (LIBMUDFLAPTH): Fix thinko. + + * configure.in: Check for more headers. + * mf-hooks2.c: Conditionalize on HAVE_SYS_SOCKET_H etc. + + * mf-runtime.c: In two places conditionalize on SIUSR1 rather than + HAVE_SIGNAL as mingw has signal.h but not SIUSR1. + +2004-06-01 Andreas Jaeger + + * configure.in: Handle multilibs, support + --enable-version-specific-runtime-libs. + * Makefile.am (lib_LTLIBRARIES): Rename to ... + (toolexeclib_LTLIBRARIES): this for multilib support. + * Makefile.in: Regenerated. + * configure: Regenerated. + * aclocal.m4: Regenerated. + * config.h.in: Regenerated. + * testsuite/Makefile.in: Regenerated. + +2004-06-01 Andreas Jaeger + + * testsuite/lib/libmudflap.exp (libmudflap-init): Handle + multilibs, using multilib directory instead of hardcoded path. + Set LD_RUN_PATH. + +2004-05-21 Frank Ch. Eigler + + * Makefile.am (AM_MAKEFLAGS): Pass RUNTESTFLAGS. + * Makefile.in: Ditto. + 2004-05-18 Kaz Kojima * acinclude.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*. @@ -98,8 +677,8 @@ 2003-11-19 Frank Ch. Eigler 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 @@ -107,7 +686,7 @@ * configure.in: Reorganize check for . * configure: Regenerated. - + 2003-11-04 David Edelsohn * mf-runtime.c (_ALL_SOURCE): Define for AIX. @@ -123,7 +702,7 @@ 2003-07-29 Gerald Pfeifer - * configure.in: Update check for union semun. + * configure.in: Update check for union semun. 2003-07-29 Gerald Pfeifer @@ -212,7 +791,7 @@ 2003-06-19 Frank Ch. Eigler * mf-hooks.c (struct pthread_info): Add "thread_errno" field. - (__mf_pthread_spawner, __mf_pthread_cleanup): Use it with GUESS + (__mf_pthread_spawner, __mf_pthread_cleanup): Use it with GUESS libmudflap object type. * mf-runtime.c (__mfu_unregister): Correct cemetary logic to avoid crashes on unregistering STATIC objects. @@ -243,12 +822,12 @@ 2003-06-11 Frank Ch. Eigler - * mf-heuristics.c (__mf_heuristic_check): Disable stack_bounds + * mf-heuristics.c (__mf_heuristic_check): Disable stack_bounds heuristic for threaded case, and for non-x86-linux targets. * mf-hooks.c (__mf_0fn_calloc): Provide a working dummy implementation for use during pre-main() program startup. (__mf_0fn_*): Make these functions non-static. - * mf-impl.h (DECLARE, CALL_REAL): Support calls to 0fn backup hook + * mf-impl.h (DECLARE, CALL_REAL): Support calls to 0fn backup hook functions. * mf-runtime.c (__mf_state): Set initial state to "starting". (__mf_resolve_single_dynamic): Tolerate repeated calls for same symbol. @@ -258,8 +837,8 @@ * testsuite/libmudflap.c/pass38-frag.c: New test case. * testsuite/libmudflap.cth/pass37-frag.c: Improved test. - - * acinclude.m4: Add comments with aoliva's concerns about x86_64 + + * acinclude.m4: Add comments with aoliva's concerns about x86_64 pass_all. * aclocal.m4, configure: Regenerated. @@ -326,7 +905,7 @@ (__mfu_report): Print the two new counts. * testsuite/lib/libmudflap.exp: Filter out junk ld/pthreads messages. * testsuite/libmudfap.cth/cthfrags.exp: New test driver. - * testsuite/libmudflap.cth/pass37-frag.c: New pthreads test. + * testsuite/libmudflap.cth/pass37-frag.c: New pthreads test. * testsuite/libmudfap.cth/cfrags.exp: Adapt to new libmudflap option defaults. @@ -366,7 +945,7 @@ (__mf_usage): Check for -lpthread presence. (__mf_unregister): Confirm matching unregistration base. (__mf_find_objects_rec): Reduce unnecessary recursion. - * mf-runtime.h.in: Add "nothrow" attribute to functions. Add + * mf-runtime.h.in: Add "nothrow" attribute to functions. Add #defines for new hook functions. * mf-impl.h: Corresponding changes. * config.h.in, configure, Makefile.in: Regenerated. @@ -588,7 +1167,7 @@ * mf-hooks.c: Don't include any more. * mf-runtime.c (__mf_set_options): Call more stdlib functions via CALL_REAL. - (__mf_backtrace): Provide alternate baby implementation in + (__mf_backtrace): Provide alternate baby implementation in absence of glibc. * test/mf-driver.c: Portability tweaks. * acinclude.m4: New file, containing top level libtool.m4. @@ -599,19 +1178,19 @@ * mf-runtime.h.in (HAVE_UINTPTR_T): Define unconditionally. 2002-11-08 Frank Ch. Eigler - + * mf-runtime.c (options): Add new "wipe-heap", "wipe-stack" options. (__mf_unregister): Implement stack/heap object wiping. (__mf_set_options): Renamed from __mf_process_opts. - (__mf_uncache_object): Change arg type, correct callers. + (__mf_uncache_object): Change arg type, correct callers. * mf-impl.h: Corresponding changes. * mf-hooks.c (realloc): Save/restore heap-wiping flag. * mf-runtime.h.in (__mf_set_options): Extend public API. * test/pass26-frag.c: New test for stack wiping. * Makefile.am (TESTS): Run it. * Makefile.in: Regenerated. - + 2002-11-07 Frank Ch. Eigler * mf-runtime.h.in (__mf_watch, __mf_unwatch): Extend public API. @@ -626,7 +1205,7 @@ (__mf_unregister): Unlink object explicitly before uncaching. * test/fail21-frag.c, pass25-frag.c: New tests. * Makefile.in, aclocal.m4: Regenerated. - + 2002-11-05 Frank Ch. Eigler * test/fail20-frag.c: New test for NULL pointer dereferencing. @@ -636,8 +1215,8 @@ build tree from config.h and new file mf-runtime.h.in. * mf-runtime.h.in: Renamed from mf-runtime.h. Tweak uintptr_t decl. * Makefile.in, configure, config.h.in: Regenerated. - * mf-hooks.c: Add #undef for wrapped glibc str*/mem* macros. - * mf-runtime.c (options, __mf_set_default_options): Support new + * mf-hooks.c: Add #undef for wrapped glibc str*/mem* macros. + * mf-runtime.c (options, __mf_set_default_options): Support new default "abbreviate" option. (__mf_object.description_epoch): New field. (__mf_describe_object): Conditionally abbreviate objects already @@ -727,7 +1306,7 @@ entries to avoid repeat registration. * mf-runtime.c (__mf_object_cemetary): Don't bother bury GUESS regions. (__mf_register, __mf_unregister): Rewrite GUESS handling logic. - + 2002-09-09 Frank Ch. Eigler * Makefile.am: Create test sources with #include, not cat>>. @@ -747,7 +1326,7 @@ overlapping object search. (__mf_violation): Likewise for nearby objects. Improve nearby-object listing. - + cleanup: * mf-runtime.c, mf-hooks.c: Remove "{{{"/"}}}" folding marks. * mf-heuristics.c (__mf_heuristic_check): Tweak message. @@ -789,7 +1368,7 @@ * Makefile.in: Regenerated. Heuristics reorganization: - * mf-heuristics.c (__mf_register_ro_sections, __mf_init_heuristics): + * mf-heuristics.c (__mf_register_ro_sections, __mf_init_heuristics): Remove these functions. Update callers. (__mf_heuristic_check): Incorporate all the various heuristics. Encode cacheability/retry judgement into trinary return value. @@ -865,10 +1444,10 @@ 2002-08-20 Graydon Hoare - * mf-runtime.h: New option: stack_bound (heuristic). + * mf-runtime.h: New option: stack_bound (heuristic). Move some macros out of implementation files. * mf-runtime.c: New option string: -stack-bound. - Unify recursion protection with hooks. + Unify recursion protection with hooks. Add more logging. (__mf_check): Call __mf_heuristic_check. (__mf_process_opts): Fix "no-" processing. @@ -906,7 +1485,7 @@ (__mf_register): Handle guessed regions, splitting guesses when new registrations arrive. (__mf_unregister): Do not unregister guesses. - * mf-runtime.h: Move convenience macros around, + * mf-runtime.h: Move convenience macros around, declare new option fields. Add __MF_TYPE_GUESS. * mf-hooks.c (__wrap_*alloc): Use crumple zones. (__wrap_free): Call __real_free for deferred frees. @@ -969,4 +1548,3 @@ * mf-hooks.c: New file: interposed libc functions. * mf-runtime.c: New file: bulk of runtime. * mf-runtime.h: New file: public functions. -