Portability improvements, e.g., libmudflap/15293.
authorFrank Ch. Eigler <fche@gcc.gnu.org>
Fri, 4 Jun 2004 20:12:01 +0000 (20:12 +0000)
committerFrank Ch. Eigler <fche@gcc.gnu.org>
Fri, 4 Jun 2004 20:12:01 +0000 (20:12 +0000)
commit7954e85c0016deceecd4dafc8622292ad1363967
treed248b4bcf141c1cec13d21a71e4945815f2ccb44
parent28af2467e40311bbddd132788d0dcd7fe02f72d4
Portability improvements, e.g., libmudflap/15293.

2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

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.

From-SVN: r82632
20 files changed:
libmudflap/ChangeLog
libmudflap/Makefile.am
libmudflap/Makefile.in
libmudflap/aclocal.m4
libmudflap/config.h.in
libmudflap/configure
libmudflap/configure.in
libmudflap/mf-hooks1.c
libmudflap/mf-hooks2.c
libmudflap/mf-hooks3.c
libmudflap/mf-runtime.c
libmudflap/testsuite/Makefile.am
libmudflap/testsuite/Makefile.in
libmudflap/testsuite/config/default.exp
libmudflap/testsuite/lib/libmudflap.exp
libmudflap/testsuite/libmudflap.c++/c++frags.exp
libmudflap/testsuite/libmudflap.c/cfrags.exp
libmudflap/testsuite/libmudflap.c/pass46-frag.c
libmudflap/testsuite/libmudflap.cth/cthfrags.exp
libmudflap/testsuite/mfconfig.exp.in [new file with mode: 0644]