aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-08-02 21:04:29 +0200
committerMarek Polacek <polacek@redhat.com>2012-08-02 21:04:29 +0200
commitb67e9372b28ef339581b724c32acf7cf0977001f (patch)
tree7735b77739716800e4266e5177a20e85a9adde3f /configure.in
parent2747bf9adfd7bee7a44bb75c0279a88a1c89df30 (diff)
downloadglibc-b67e9372b28ef339581b724c32acf7cf0977001f.zip
glibc-b67e9372b28ef339581b724c32acf7cf0977001f.tar.gz
glibc-b67e9372b28ef339581b724c32acf7cf0977001f.tar.bz2
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in26
1 files changed, 2 insertions, 24 deletions
diff --git a/configure.in b/configure.in
index 037ee1e..1219b9f 100644
--- a/configure.in
+++ b/configure.in
@@ -581,29 +581,7 @@ else
AC_MSG_RESULT(yes)
fi
-AC_CACHE_CHECK(for assembler .type directive prefix,
- libc_cv_asm_type_prefix, [dnl
-libc_cv_asm_type_prefix=no
-for ac_try_prefix in '@' '%' '#'; do
- cat > conftest.s <<EOF
- ${libc_cv_dot_text}
- .globl foo
- .type foo, ${ac_try_prefix}object
- .size foo, 1
-foo:
- .byte 1
-EOF
- if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then
- libc_cv_asm_type_prefix=${ac_try_prefix}
- fi
- rm -f conftest*
- test "x$libc_cv_asm_type_prefix" != xno && break
-done])
-if test "x$libc_cv_asm_type_prefix" != xno; then
- AC_DEFINE_UNQUOTED(ASM_TYPE_DIRECTIVE_PREFIX, ${libc_cv_asm_type_prefix})
-fi
-
-if test x"$libc_cv_asm_gnu_indirect_function" != xyes -o x"$libc_cv_asm_type_prefix" = xno; then
+if test x"$libc_cv_asm_gnu_indirect_function" != xyes; then
if test x"$multi_arch" = xyes; then
AC_MSG_ERROR([--enable-multi-arch support requires assembler and linker support])
else
@@ -1125,7 +1103,7 @@ AC_CACHE_CHECK(for assembler gnu_unique_object symbol type,
cat > conftest.s <<EOF
${libc_cv_dot_text}
_sym:
-.type _sym, ${libc_cv_asm_type_prefix}gnu_unique_object
+.type _sym, %gnu_unique_object
EOF
if ${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
libc_cv_asm_unique_object=yes