From dfa359badfd866153a81eda337c48e0d3f6c2959 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 17 Jul 2012 22:46:09 +0000 Subject: Remove TLS configure check for ARM. --- ports/ChangeLog.arm | 3 +++ ports/sysdeps/arm/configure | 36 ------------------------------------ ports/sysdeps/arm/configure.in | 25 ------------------------- 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 + * 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 -- cgit 1.4.1