]> sourceware.org Git - glibc.git/blob - sysdeps/x86_64/elf/configure
* configure: Regenerated (using Autoconf 2.54).
[glibc.git] / sysdeps / x86_64 / elf / configure
1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/x86_64/elf.
3
4 if test "$usetls" != no; then
5 # Check for support of thread-local storage handling in assembler and linker.
6 echo "$as_me:$LINENO: checking for x86-64 TLS support" >&5
7 echo $ECHO_N "checking for x86-64 TLS support... $ECHO_C" >&6
8 if test "${libc_cv_x86_64_tls+set}" = set; then
9 echo $ECHO_N "(cached) $ECHO_C" >&6
10 else
11 cat > conftest.s <<\EOF
12 .section ".tdata", "awT", @progbits
13 .globl foo
14 foo: .quad 1
15 .section ".tbss", "awT", @nobits
16 .globl bar
17 bar: .skip 8
18 .text
19 baz: leaq bar@TLSLD(%rip), %rdi
20 leaq bar@DTPOFF(%rax), %rcx
21 addq foo@GOTTPOFF(%rip), %rax
22 movq $bar@TPOFF, %rdx
23 EOF
24 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
25 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26 (eval $ac_try) 2>&5
27 ac_status=$?
28 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29 (exit $ac_status); }; }; then
30 libc_cv_x86_64_tls=yes
31 else
32 libc_cv_x86_64_tls=no
33 fi
34 rm -f conftest*
35 fi
36 echo "$as_me:$LINENO: result: $libc_cv_x86_64_tls" >&5
37 echo "${ECHO_T}$libc_cv_x86_64_tls" >&6
38 if test $libc_cv_x86_64_tls = yes; then
39 cat >>confdefs.h <<\_ACEOF
40 #define HAVE_TLS_SUPPORT 1
41 _ACEOF
42
43 fi
44 fi
45
46 cat >>confdefs.h <<\_ACEOF
47 #define PI_STATIC_AND_HIDDEN 1
48 _ACEOF
49
This page took 0.039753 seconds and 5 git commands to generate.