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