summaryrefslogtreecommitdiff
path: root/libmudflap/configure
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac: Test for the name of the symbol used for the entrymacro2005-08-151-0/+70
| | | | | | | | | | point; define ENTRY_POINT to the result. * configure: Regenerate. * config.h.in: Regenerate. * mf-heuristics.c: Replace _start with ENTRY_POINT throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103113 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.rth2005-07-171-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102108 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-05-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99498 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-04-131-1/+62
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98065 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Do not invoke TL_AC_GCC_VERSION.zack2005-03-211-23/+3
| | | | | | | | | | In all substitutions, expand gcc_version in Makefile. * aclocal.m4, configure: Regenerate. * Makefile.am: Set gcc_version. * Makefile.in, testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96817 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.gkm2005-01-021-2/+1
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92815 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce and use config/gcc-version.m4.rsandifo2004-12-021-5/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91625 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-301-22/+29
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91499 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-251-29/+22
| | | | | | | | | | * Makefile.am: Revert previous. * acinclude.m4: Restore. * aclocal.m4, configure, Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91292 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-241-22/+29
| | | | | | | | | | * Makefile.am: Define ACLOCAL_AMFLAGS. * acinclude.m4: Remove. * aclocal.m4, configure, Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91209 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-241-30/+38
| | | | | | | | * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91125 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: (target_alias): Default to $host_alias, notschwab2004-11-011-1/+1
| | | | | | | | $target. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89959 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-12 Frank Ch. Eigler <fche@redhat.com>fche2004-10-131-4/+113
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88996 138bc75d-0d04-0410-961f-82ee72b054a4
* * thanks kcookfche2004-10-051-3/+2
| | | | | | | | | | 2004-10-05 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Checking for sys/socket.h once is enough. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88559 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-04 Frank Ch. Eigler <fche@redhat.com>fche2004-10-041-6/+319
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88517 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-07 Frank Ch. Eigler <fche@redhat.com>fche2004-09-071-32/+378
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-05 Matthias Klose <doko@debian.org>doko2004-07-051-59/+32
| | | | | | | | | | | | * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84129 138bc75d-0d04-0410-961f-82ee72b054a4
* configure.ac (AC_CHECK_HEADERS): Add dirent.hnickc2004-06-291-32/+55
| | | | | | | | | configure: Regenerate. mf-hooks2.c: Surround uses of dirent.h with #ifdef HAVE_DIRENT_H. Remove spurious inclusion of <strings.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83850 138bc75d-0d04-0410-961f-82ee72b054a4
* libmudflap/ChangeLog:bonzini2004-06-151-398/+806
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-15 Paolo Bonzini <bonzini@gnu.org> * 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. libstdc++-v3/ChangeLog: 2005-06-15 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4: Remove useless multilib configury. * Makefile.am: Remove useless multilib rules. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * configure.ac: Use AM_ENABLE_MULTILIB. * configure: Regenerate. zlib/ChangeLog.gcj: 2005-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.am: Remove useless multilib rules. * configure.ac: Rewrite multilib support to use features of recent automakes. * aclocal.m4: Regenerate with Automake 1.8.5. * Makefile.in: Regenerate with Automake 1.8.5. * configure: Regenerate. libffi/ChangeLog: 2005-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.am: Remove useless multilib rules. * Makefile.in: Regenerate. * aclocal.m4: Regenerate with automake 1.8.5. * configure.ac: Remove useless multilib configury. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83184 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Frank Ch. Eigler <fche@redhat.com>fche2004-06-091-2/+90
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82848 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-04 Frank Ch. Eigler <fche@redhat.com>fche2004-06-041-739/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82632 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (LIBMUDFLAPTH): Fix thinko.bothner2004-06-041-3/+9
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82627 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Handle multilibs, supportaj2004-06-011-1653/+5676
| | | | | | | | | | | | | | | | --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. * testsuite/lib/libmudflap.exp (libmudflap-init): Handle multilibs, using multilib directory instead of hardcoded path. Set LD_RUN_PATH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82527 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.kkojima2004-05-181-1/+1
| | | | | | | * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81981 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge tree-ssa-20020619-branch into mainline.dnovillo2004-05-131-0/+3218
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764 138bc75d-0d04-0410-961f-82ee72b054a4