]> sourceware.org Git - glibc.git/blob - sysdeps/mips/elf/configure
Amend log entry with omitted file.
[glibc.git] / sysdeps / mips / elf / configure
1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/mips/elf.
3
4 if test "$usetls" != no; then
5 # Check for support of thread-local storage handling in assembler and
6 # linker.
7 echo "$as_me:$LINENO: checking for MIPS TLS support" >&5
8 echo $ECHO_N "checking for MIPS TLS support... $ECHO_C" >&6
9 if test "${libc_cv_mips_tls+set}" = set; then
10 echo $ECHO_N "(cached) $ECHO_C" >&6
11 else
12 cat > conftest.s <<\EOF
13 .section ".tdata", "awT", %progbits
14 .globl foo
15 foo: .long 1
16 .section ".tbss", "awT", %nobits
17 .globl bar
18 bar: .skip 4
19 .text
20
21 lw $25, %call16(__tls_get_addr)($28)
22 jalr $25
23 addiu $4, $28, %tlsgd(x)
24 EOF
25 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
26 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27 (eval $ac_try) 2>&5
28 ac_status=$?
29 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30 (exit $ac_status); }; }; then
31 libc_cv_mips_tls=yes
32 else
33 libc_cv_mips_tls=no
34 fi
35 rm -f conftest*
36 fi
37 echo "$as_me:$LINENO: result: $libc_cv_mips_tls" >&5
38 echo "${ECHO_T}$libc_cv_mips_tls" >&6
39 if test $libc_cv_mips_tls = yes; then
40 cat >>confdefs.h <<\_ACEOF
41 #define HAVE_TLS_SUPPORT 1
42 _ACEOF
43
44 fi
45 fi
46
This page took 0.037312 seconds and 5 git commands to generate.