summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-17 22:46:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-17 22:46:09 +0000
commitdfa359badfd866153a81eda337c48e0d3f6c2959 (patch)
treeb6bd9695dc4185ae476a00fc98c75f8fe8b30598 /ports
parent05d723ab8d56d80e2bef2c43da9f469743be3d9c (diff)
downloadglibc-dfa359badfd866153a81eda337c48e0d3f6c2959.tar.gz
glibc-dfa359badfd866153a81eda337c48e0d3f6c2959.tar.xz
glibc-dfa359badfd866153a81eda337c48e0d3f6c2959.zip
Remove TLS configure check for ARM.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.arm3
-rwxr-xr-xports/sysdeps/arm/configure36
-rw-r--r--ports/sysdeps/arm/configure.in25
3 files changed, 3 insertions, 61 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index b105355723..6ec068f05e 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,8 @@
 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/arm/configure.in: Remove TLS check.
+	* sysdeps/arm/configure: Regenerated.
+
 	* data/c++-types-arm-linux-gnueabi.data: Move to ...
 	* sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: ... here.
 
diff --git a/ports/sysdeps/arm/configure b/ports/sysdeps/arm/configure
index 665151fead..51fd725570 100755
--- a/ports/sysdeps/arm/configure
+++ b/ports/sysdeps/arm/configure
@@ -100,42 +100,6 @@ $as_echo X/"$0" |
 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/arm.
 
-# Check for support of thread-local storage handling in assembler and
-# linker.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM TLS support" >&5
-$as_echo_n "checking for ARM TLS support... " >&6; }
-if ${libc_cv_arm_tls+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat > conftest.s <<\EOF
-	.section ".tdata", "awT", %progbits
-	.globl foo
-foo:	.long	1
-	.section ".tbss", "awT", %nobits
-	.globl bar
-bar:	.skip	4
-	.text
-.word	foo(tpoff)
-.word	foo(tlsgd)
-EOF
-if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
-  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-  libc_cv_arm_tls=yes
-else
-  libc_cv_arm_tls=no
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arm_tls" >&5
-$as_echo "$libc_cv_arm_tls" >&6; }
-if test $libc_cv_arm_tls = no; then
-  as_fn_error $? "the assembler must support TLS" "$LINENO" 5
-fi
-
 #AC_DEFINE(PI_STATIC_AND_HIDDEN)
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the CFI directive .cfi_sections is supported" >&5
diff --git a/ports/sysdeps/arm/configure.in b/ports/sysdeps/arm/configure.in
index 64cef5f94e..7e91332591 100644
--- a/ports/sysdeps/arm/configure.in
+++ b/ports/sysdeps/arm/configure.in
@@ -1,31 +1,6 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/arm.
 
-# Check for support of thread-local storage handling in assembler and
-# linker.
-AC_CACHE_CHECK(for ARM TLS support, libc_cv_arm_tls, [dnl
-cat > conftest.s <<\EOF
-	.section ".tdata", "awT", %progbits
-	.globl foo
-foo:	.long	1
-	.section ".tbss", "awT", %nobits
-	.globl bar
-bar:	.skip	4
-	.text
-.word	foo(tpoff)
-.word	foo(tlsgd)
-EOF
-dnl
-if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
-  libc_cv_arm_tls=yes
-else
-  libc_cv_arm_tls=no
-fi
-rm -f conftest*])
-if test $libc_cv_arm_tls = no; then
-  AC_MSG_ERROR([the assembler must support TLS])
-fi
-
 dnl It is always possible to access static and hidden symbols in an
 dnl position independent way.
 dnl NOTE: This feature was added by the GCC TLS patches.  We should test for