diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-07 17:54:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-07 17:54:45 +0000 |
commit | d555194cb3d236bda07fa9ef08f4f7020421763a (patch) | |
tree | fcd827d43fd1fb19dd29e7f8c44f92396a95301d /configure.in | |
parent | d4468ab7887325daf8bcdc8d7591238f3adcc70b (diff) | |
download | glibc-d555194cb3d236bda07fa9ef08f4f7020421763a.tar.gz glibc-d555194cb3d236bda07fa9ef08f4f7020421763a.tar.xz glibc-d555194cb3d236bda07fa9ef08f4f7020421763a.zip |
Update.
2002-02-07 Andreas Schwab <schwab@suse.de> * configure.in: Fix check for -zcombreloc. 2002-02-06 H.J. Lu <hjl@gnu.org> * config.h.in (HAVE_BUILTIN_MEMSET): New. * configure.in: Check if __builtin_memset really works. * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of __GNUC_PREREQ (2, 96) before using __builtin_memset. 2002-02-06 Jakub Jelinek <jakub@redhat.com> * io/bug-ftw3.c (main): Don't try the test if root. 2002-02-06 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly constraints. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone a weak alias for __clone. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap a weak alias for __mmap64. * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 5299146cdd..9c627c5611 100644 --- a/configure.in +++ b/configure.in @@ -1065,8 +1065,9 @@ EOF AC_CACHE_CHECK(for -z combreloc, libc_cv_z_combreloc, [dnl cat > conftest.c <<EOF -extern int bar (void); -int foo (void) { return bar (); } +extern int bar (int); +extern int mumble; +int foo (void) { return bar (mumble); } EOF if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c -nostdlib -nostartfiles @@ -1398,6 +1399,25 @@ if test "$libc_cv_gcc_builtin_expect" = yes; then AC_DEFINE(HAVE_BUILTIN_EXPECT) fi +AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl +cat > conftest.c <<\EOF +void zero (void *x) +{ + __builtin_memset (x, 0, 4); +} +EOF +dnl +if AC_TRY_COMMAND([${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null]); +then + libc_cv_gcc_builtin_memset=no +else + libc_cv_gcc_builtin_memset=yes +fi +rm -f conftest* ]) +if test "$libc_cv_gcc_builtin_memset" = yes ; then + AC_DEFINE(HAVE_BUILTIN_MEMSET) +fi + dnl Check whether the compiler supports subtraction of local labels. AC_CACHE_CHECK(for local label subtraction, libc_cv_gcc_subtract_local_labels, [cat > conftest.c <<EOF |