diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-14 16:39:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-14 16:39:34 +0000 |
commit | e26dd47ff77ef693b380dc8cf8ddf46d5ea23421 (patch) | |
tree | ea871a40b604f99ef2ed54addfb6bb99ab2243c4 /configure.in | |
parent | 181a5bf3c2169fbbdebdb3e4058d28bfa935c184 (diff) | |
download | glibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.tar.gz glibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.tar.xz glibc-e26dd47ff77ef693b380dc8cf8ddf46d5ea23421.zip |
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.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 221f76710c..e79c5a4988 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 |