1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local configure fragment for sysdeps/sh/elf.
4 if test "$usetls" != no; then
5 # Check for support of thread-local storage handling in assembler and
7 AC_CACHE_CHECK(for SH TLS support, libc_cv_sh_tls, [dnl
8 cat > conftest.S <<\EOF
9 .section ".tdata", "awT", @progbits
19 if AC_TRY_COMMAND(${CC-cc} -S $CFLAGS conftest.S 1>&AS_MESSAGE_LOG_FD); then
25 if test $libc_cv_sh_tls = yes; then
26 AC_DEFINE(HAVE_TLS_SUPPORT)
30 dnl It is always possible to access static and hidden symbols in an
31 dnl position independent way.
32 AC_DEFINE(PI_STATIC_AND_HIDDEN)