aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-14 16:39:34 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-14 16:39:34 +0000
commite26dd47ff77ef693b380dc8cf8ddf46d5ea23421 (patch)
treeea871a40b604f99ef2ed54addfb6bb99ab2243c4 /configure.in
parent181a5bf3c2169fbbdebdb3e4058d28bfa935c184 (diff)
downloadglibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.zip
glibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.tar.gz
glibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.tar.bz2
Update.
2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward compatibility. * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. 2000-06-14 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is defined, terminate quotes and read them after the comment char. * configure.in (HAVE_SECTION_QUOTES): Test whether __attribute__((section ("x"))) puts quotes around x or not. * config.h.in (HAVE_SECTION_QUOTES): Add. * configure: Rebuilt.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 221f767..e79c5a4 100644
--- a/configure.in
+++ b/configure.in
@@ -905,6 +905,29 @@ if test $elf != yes; then
fi
fi
+if test $elf = yes -a $gnu_ld = yes; then
+ AC_CACHE_CHECK(whether cc puts quotes around section names,
+ libc_cv_have_section_quotes,
+ [cat > conftest.c <<EOF
+ static const int foo
+ __attribute__ ((section ("bar"))) = 1;
+EOF
+ if ${CC-cc} -S conftest.c -o conftest.s; then
+ if grep '\.section.*"bar"' conftest.s >/dev/null; then
+ libc_cv_have_section_quotes=yes
+ else
+ libc_cv_have_section_quotes=no
+ fi
+ else
+ libc_cv_have_section_quotes=unknown
+ fi
+ rm -f conftest.[cs]
+ ])
+ if test $libc_cv_have_section_quotes = yes; then
+ AC_DEFINE(HAVE_SECTION_QUOTES)
+ fi
+fi
+
dnl AC_CHECK_ASM_UNDERSCORE([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN(AC_CHECK_ASM_UNDERSCORE,
[cat > conftest.$ac_ext <<EOF