1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/ia64/elf.
4 if test "$usetls" != no; then
5 # Check for support of thread-local storage handling in assembler and
7 echo "$as_me:$LINENO: checking for ia64 TLS support" >&5
8 echo $ECHO_N "checking for ia64 TLS support... $ECHO_C" >&6
9 if test "${libc_cv_ia64_tls+set}" = set; then
10 echo $ECHO_N "(cached) $ECHO_C" >&6
12 cat > conftest.s <<\EOF
13 .section ".tdata","awT",@progbits
16 addl r16 = @ltoff(@dtpmod(foo#)), gp
17 addl r17 = @ltoff(@dtprel(foo#)), gp
18 addl r18 = @ltoff(@tprel(foo#)), gp
19 addl r19 = @dtprel(foo#), gp
20 adds r21 = @dtprel(foo#), r13
21 movl r23 = @dtprel(foo#)
22 addl r20 = @tprel(foo#), gp
23 adds r22 = @tprel(foo#), r13
24 movl r24 = @tprel(foo#)
26 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
27 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31 (exit $ac_status); }; }; then
38 echo "$as_me:$LINENO: result: $libc_cv_ia64_tls" >&5
39 echo "${ECHO_T}$libc_cv_ia64_tls" >&6
40 if test $libc_cv_ia64_tls = yes; then
41 cat >>confdefs.h <<\_ACEOF
42 #define HAVE_TLS_SUPPORT 1
48 cat >>confdefs.h <<\_ACEOF
49 #define PI_STATIC_AND_HIDDEN 1