Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
authorMarek Polacek <polacek@redhat.com>
Thu, 2 Aug 2012 19:04:29 +0000 (21:04 +0200)
committerMarek Polacek <polacek@redhat.com>
Thu, 2 Aug 2012 19:04:29 +0000 (21:04 +0200)
70 files changed:
ChangeLog
NEWS
config.h.in
configure
configure.in
elf/tst-unique1mod1.c
elf/tst-unique1mod2.c
elf/tst-unique2mod1.c
elf/tst-unique2mod2.c
include/libc-symbols.h
sysdeps/i386/fpu/e_acosh.S
sysdeps/i386/fpu/e_acoshf.S
sysdeps/i386/fpu/e_acoshl.S
sysdeps/i386/fpu/e_atanh.S
sysdeps/i386/fpu/e_atanhf.S
sysdeps/i386/fpu/e_atanhl.S
sysdeps/i386/fpu/e_expl.S
sysdeps/i386/fpu/e_log.S
sysdeps/i386/fpu/e_log10.S
sysdeps/i386/fpu/e_log10f.S
sysdeps/i386/fpu/e_log10l.S
sysdeps/i386/fpu/e_log2.S
sysdeps/i386/fpu/e_log2f.S
sysdeps/i386/fpu/e_log2l.S
sysdeps/i386/fpu/e_logf.S
sysdeps/i386/fpu/e_logl.S
sysdeps/i386/fpu/e_pow.S
sysdeps/i386/fpu/e_powf.S
sysdeps/i386/fpu/e_powl.S
sysdeps/i386/fpu/e_scalb.S
sysdeps/i386/fpu/e_scalbf.S
sysdeps/i386/fpu/e_scalbl.S
sysdeps/i386/fpu/s_asinh.S
sysdeps/i386/fpu/s_asinhf.S
sysdeps/i386/fpu/s_asinhl.S
sysdeps/i386/fpu/s_cbrt.S
sysdeps/i386/fpu/s_cbrtf.S
sysdeps/i386/fpu/s_cbrtl.S
sysdeps/i386/fpu/s_expm1.S
sysdeps/i386/fpu/s_expm1f.S
sysdeps/i386/fpu/s_frexp.S
sysdeps/i386/fpu/s_frexpf.S
sysdeps/i386/fpu/s_frexpl.S
sysdeps/i386/i386-mcount.S
sysdeps/i386/i686/fpu/e_logl.S
sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
sysdeps/i386/i686/strtok.S
sysdeps/i386/strtok.S
sysdeps/i386/sysdep.h
sysdeps/powerpc/powerpc32/sysdep.h
sysdeps/powerpc/sysdep.h
sysdeps/s390/s390-32/s390-mcount.S
sysdeps/s390/s390-32/sysdep.h
sysdeps/s390/s390-64/s390x-mcount.S
sysdeps/s390/s390-64/sysdep.h
sysdeps/sh/_mcount.S
sysdeps/sh/sysdep.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
sysdeps/x86_64/_mcount.S
sysdeps/x86_64/fpu/e_expf.S
sysdeps/x86_64/fpu/e_expl.S
sysdeps/x86_64/fpu/e_log10l.S
sysdeps/x86_64/fpu/e_log2l.S
sysdeps/x86_64/fpu/e_logl.S
sysdeps/x86_64/fpu/e_powl.S
sysdeps/x86_64/fpu/e_scalbl.S
sysdeps/x86_64/fpu/s_copysign.S
sysdeps/x86_64/fpu/s_copysignf.S
sysdeps/x86_64/strtok.S
sysdeps/x86_64/sysdep.h

index 386eeb5d26e4f1f4f53e49250509d5ed7343af92..f79463f4047e869f20b55f90df4011bd3ee91d8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,84 @@
+2012-08-02  Marek Polacek  <polacek@redhat.com>
+
+       [BZ#14150]
+       * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
+       libc_cv_asm_type_prefix with %.
+       * configure: Regenerated.
+       * include/libc-symbols.h: Remove comment about ASM_TYPE_DIRECTIVE_PREFIX.
+       Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
+       (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
+       (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
+       (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
+       (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
+       * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
+       [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
+       [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
+       * elf/tst-unique2mod1.c: Likewise.
+       * elf/tst-unique1mod2.c: Likewise.
+       * elf/tst-unique1mod1.c: Likewise.
+       * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
+       * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
+       Replace ASM_TYPE_DIRECTIVE with .type.
+       * sysdeps/s390/s390-64/sysdep.h: Likewise.
+       * sysdeps/i386/sysdep.h: Likewise.
+       * sysdeps/x86_64/sysdep.h: Likewise.
+       * sysdeps/sh/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
+       * sysdeps/powerpc/sysdep.h: Likewise.
+       * sysdeps/powerpc/powerpc32/sysdep.h: Replace ASM_TYPE_DIRECTIVE with .type.
+       * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
+       * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
+       * sysdeps/i386/fpu/e_powf.S: Likewise.
+       * sysdeps/i386/fpu/e_expl.S: Likewise.
+       * sysdeps/i386/fpu/e_atanhf.S: Likewise.
+       * sysdeps/i386/fpu/e_acosh.S: Likewise.
+       * sysdeps/i386/fpu/e_pow.S: Likewise.
+       * sysdeps/i386/fpu/s_asinhl.S: Likewise.
+       * sysdeps/i386/fpu/e_acoshl.S: Likewise.
+       * sysdeps/i386/fpu/s_expm1.S: Likewise.
+       * sysdeps/i386/fpu/s_frexpf.S: Likewise.
+       * sysdeps/i386/fpu/e_log2.S: Likewise.
+       * sysdeps/i386/fpu/e_log2l.S: Likewise.
+       * sysdeps/i386/fpu/e_scalb.S: Likewise.
+       * sysdeps/i386/fpu/e_powl.S: Likewise.
+       * sysdeps/i386/fpu/e_log10f.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
+       * sysdeps/i386/fpu/e_logl.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrt.S: Likewise.
+       * sysdeps/i386/fpu/s_frexpl.S: Likewise.
+       * sysdeps/i386/fpu/s_expm1f.S: Likewise.
+       * sysdeps/i386/fpu/e_log2f.S: Likewise.
+       * sysdeps/i386/fpu/e_acoshf.S: Likewise.
+       * sysdeps/i386/fpu/e_log.S: Likewise.
+       * sysdeps/i386/fpu/e_scalbf.S: Likewise.
+       * sysdeps/i386/fpu/e_logf.S: Likewise.
+       * sysdeps/i386/fpu/e_log10l.S: Likewise.
+       * sysdeps/i386/fpu/e_atanh.S: Likewise.
+       * sysdeps/i386/fpu/s_asinhf.S: Likewise.
+       * sysdeps/i386/fpu/e_log10.S: Likewise.
+       * sysdeps/i386/fpu/s_frexp.S: Likewise.
+       * sysdeps/i386/fpu/e_atanhl.S: Likewise.
+       * sysdeps/i386/fpu/s_asinh.S: Likewise.
+       * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
+       * sysdeps/i386/fpu/e_scalbl.S: Likewise.
+       * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
+       * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
+       * sysdeps/i386/i686/strtok.S: Likewise.
+       * sysdeps/i386/i386-mcount.S: Likewise.
+       * sysdeps/i386/strtok.S: Likewise.
+       * sysdeps/x86_64/fpu/e_expl.S: Likewise.
+       * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
+       * sysdeps/x86_64/fpu/e_powl.S: Likewise.
+       * sysdeps/x86_64/fpu/e_logl.S: Likewise.
+       * sysdeps/x86_64/fpu/e_expf.S: Likewise.
+       * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
+       * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
+       * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
+       * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
+       * sysdeps/x86_64/_mcount.S: Likewise.
+       * sysdeps/x86_64/strtok.S: Likewise.
+       * sysdeps/sh/_mcount.S: Likewise.
+
 2012-08-01  Roland McGrath  <roland@hack.frob.com>
 
        * libio/iofopen.c: Include <fcntl.h>.
diff --git a/NEWS b/NEWS
index 3c12922faf2bea8639ed75fd2a4d447b72fbee7a..5759eddbfd480043d6ada422fefaeeffd2dd37d0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,8 +9,8 @@ Version 2.17
 
 * The following bugs are resolved with this release:
 
-  6778, 6808, 14042, 14151, 14154, 14157, 14173, 14283, 14298, 14328, 14331,
-  14337, 14347, 14349
+  6778, 6808, 14042, 14150, 14151, 14154, 14157, 14173, 14283, 14298, 14328,
+  14331, 14337, 14347, 14349
 
 * Support for STT_GNU_IFUNC symbols added for s390 and s390x.
   Optimized versions of memcpy, memset, and memcmp added for System z10 and
index 22c62db9e0b8b49ba03e2c163c1737c4684e15bd..40b47173e18f4adb60932cf42d6f7b545eb23b15 100644 (file)
 /* Define if the assembler supports the `.set' directive.  */
 #undef HAVE_ASM_SET_DIRECTIVE
 
-/* Define to the prefix before `object' or `function' in the
-   assembler's `.type' directive, if it has one.  */
-#undef ASM_TYPE_DIRECTIVE_PREFIX
-
 /* Define if the assembler supports the gnu_unique_object symbol type.  */
 #undef HAVE_ASM_UNIQUE_OBJECT
 
index db070c1a4ba3ff1696c6618a289540e67f98e68c..facb6a5bbb42959b8c7c9c63ecd589591a05fc68 100755 (executable)
--- a/configure
+++ b/configure
@@ -4076,43 +4076,7 @@ else
 $as_echo "yes" >&6; }
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .type directive prefix" >&5
-$as_echo_n "checking for assembler .type directive prefix... " >&6; }
-if ${libc_cv_asm_type_prefix+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  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='${CC-cc} $ASFLAGS -c 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_asm_type_prefix=${ac_try_prefix}
-  fi
-  rm -f conftest*
-  test "x$libc_cv_asm_type_prefix" != xno && break
-done
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_type_prefix" >&5
-$as_echo "$libc_cv_asm_type_prefix" >&6; }
-if test "x$libc_cv_asm_type_prefix" != xno; then
-  cat >>confdefs.h <<_ACEOF
-#define ASM_TYPE_DIRECTIVE_PREFIX ${libc_cv_asm_type_prefix}
-_ACEOF
-
-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
     as_fn_error $? "--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
   else
@@ -5728,7 +5692,7 @@ else
   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>&5 2>&5; then
   libc_cv_asm_unique_object=yes
index 037ee1e4859792002b35432f45f5eda3f0630cc4..1219b9fb8a7c28e90179c8cdd26d9f7350ce6472 100644 (file)
@@ -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
index ccc74fae3e63405e56f59c52c7c01bc95e4411c4..f59029d05533e36a1aa11f1e17e13bc0ee179834 100644 (file)
@@ -1,12 +1,9 @@
 #include <config.h>
 
 #ifdef HAVE_ASM_UNIQUE_OBJECT
-# define S(s) _S (s)
-# define _S(s) #s
-
 asm (".data;"
      ".globl var\n"
-     ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
+     ".type var, %gnu_unique_object\n"
      ".size var, 4\n"
      "var:.zero 4\n"
      ".previous");
index 4f1fec0087b264a897055478bad68af5376ca7c1..aa28f29ba9453b4cf15583653a595bd63e39ca43 100644 (file)
@@ -1,12 +1,9 @@
 #include <config.h>
 
 #ifdef HAVE_ASM_UNIQUE_OBJECT
-# define S(s) _S (s)
-# define _S(s) #s
-
 asm (".data;"
      ".globl var\n"
-     ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
+     ".type var, %gnu_unique_object\n"
      ".size var, 4\n"
      "var:.zero 4\n"
      ".previous");
index 18b14db43310ff7b1e847e09860029b957dcdc5a..b7e491b2e500a0af1444bd783df654f80dc1e557 100644 (file)
@@ -1,12 +1,9 @@
 #include <config.h>
 
 #ifdef HAVE_ASM_UNIQUE_OBJECT
-# define S(s) _S (s)
-# define _S(s) #s
-
 asm (".data;"
      ".globl var\n"
-     ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
+     ".type var, %gnu_unique_object\n"
      ".size var, 4\n"
      "var:.zero 4\n"
      ".previous");
index 4f1fec0087b264a897055478bad68af5376ca7c1..aa28f29ba9453b4cf15583653a595bd63e39ca43 100644 (file)
@@ -1,12 +1,9 @@
 #include <config.h>
 
 #ifdef HAVE_ASM_UNIQUE_OBJECT
-# define S(s) _S (s)
-# define _S(s) #s
-
 asm (".data;"
      ".globl var\n"
-     ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
+     ".type var, %gnu_unique_object\n"
      ".size var, 4\n"
      "var:.zero 4\n"
      ".previous");
index da8730d2bcba46a54c572a71578503c214e8e0af..a626d593db0cec521b871670736f10a5b16bef66 100644 (file)
@@ -27,8 +27,6 @@
    It should define for us the following symbols:
 
    * HAVE_ASM_SET_DIRECTIVE if we have `.set B, A' instead of `A = B'.
-   * ASM_TYPE_DIRECTIVE_PREFIX with `@' or `#' or whatever for .type,
-     or leave it undefined if there is no .type directive.
    * HAVE_ASM_WEAK_DIRECTIVE if we have weak symbols using `.weak'.
    * HAVE_ASM_WEAKEXT_DIRECTIVE if we have weak symbols using `.weakext'.
 
@@ -252,37 +250,26 @@ for linking")
    thinks it is.  */
 #define declare_symbol_alias(symbol, original, type, size) \
   declare_symbol_alias_1 (symbol, original, type, size)
-#ifdef ASM_TYPE_DIRECTIVE_PREFIX
-# ifdef __ASSEMBLER__
-#  define declare_symbol_alias_1(symbol, original, type, size) \
-    strong_alias (original, symbol); \
-    .type C_SYMBOL_NAME (symbol), \
-         declare_symbol_alias_1_paste (ASM_TYPE_DIRECTIVE_PREFIX, type); \
-    .size C_SYMBOL_NAME (symbol), size
-#  define declare_symbol_alias_1_paste(a, b) \
-  declare_symbol_alias_1_paste_1 (a,b)
-#  define declare_symbol_alias_1_paste_1(a,b)  a##b
-# else /* Not __ASSEMBLER__.  */
-#  define declare_symbol_alias_1(symbol, original, type, size) \
-    asm (".globl " __SYMBOL_PREFIX #symbol \
-        "\n\t" declare_symbol_alias_1_alias (symbol, original) \
-        "\n\t.type " __SYMBOL_PREFIX #symbol ", " \
-        declare_symbol_alias_1_stringify (ASM_TYPE_DIRECTIVE_PREFIX) #type \
-        "\n\t.size " __SYMBOL_PREFIX #symbol ", " #size);
-#  define declare_symbol_alias_1_stringify(x) \
-  declare_symbol_alias_1_stringify_1 (x)
-#  define declare_symbol_alias_1_stringify_1(x) #x
-#  ifdef HAVE_ASM_SET_DIRECTIVE
-#   define declare_symbol_alias_1_alias(symbol, original) \
-        ".set " __SYMBOL_PREFIX #symbol ", " __SYMBOL_PREFIX #original
-#  else
-#   define declare_symbol_alias_1_alias(symbol, original) \
-        __SYMBOL_PREFIX #symbol " = " __SYMBOL_PREFIX #original
-#  endif /* HAVE_ASM_SET_DIRECTIVE */
-# endif /* __ASSEMBLER__ */
-#else
-# define declare_symbol_1(symbol, type, size) /* Nothing.  */
-#endif
+#ifdef __ASSEMBLER__
+# define declare_symbol_alias_1(symbol, original, type, size) \
+   strong_alias (original, symbol); \
+   .type C_SYMBOL_NAME (symbol), %##type; \
+   .size C_SYMBOL_NAME (symbol), size
+#else /* Not __ASSEMBLER__.  */
+# define declare_symbol_alias_1(symbol, original, type, size) \
+   asm (".globl " __SYMBOL_PREFIX #symbol \
+       "\n\t" declare_symbol_alias_1_alias (symbol, original) \
+       "\n\t.type " __SYMBOL_PREFIX #symbol ", " \
+       "%" #type \
+       "\n\t.size " __SYMBOL_PREFIX #symbol ", " #size);
+# ifdef HAVE_ASM_SET_DIRECTIVE
+#  define declare_symbol_alias_1_alias(symbol, original) \
+     ".set " __SYMBOL_PREFIX #symbol ", " __SYMBOL_PREFIX #original
+# else
+#  define declare_symbol_alias_1_alias(symbol, original) \
+     __SYMBOL_PREFIX #symbol " = " __SYMBOL_PREFIX #original
+# endif /* HAVE_ASM_SET_DIRECTIVE */
+#endif /* __ASSEMBLER__ */
 
 
 /*
index f1970f6112fff10f654aee000cbf33b7276ab415..474f5c935257b11c2cc846521c4552b161deceff 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 5c17e345a2dc87b5ba7ed4e25d50050d5866c5dc..456fe46990b92919740f09e7a569a1b4b276b9a0 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 05dbdfdbfb475f83b60cf436a9e92d32d81118a0..d9b3add138744e2d02a472a69aee53c00fe281b9 100644 (file)
        /* Please note that we use double value for 1.0.  This number
           has an exact representation and so we don't get accuracy
           problems.  The advantage is that the code is simpler.  */
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index bef30de38dc8da261f989c0ddfd35778f579f46d..b8ae6ef3584b9eee26c4a18bce4ef8b4549a2b63 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(half,@object)
+       .type half,@object
 half:  .double 0.5
        ASM_SIZE_DIRECTIVE(half)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
-       ASM_TYPE_DIRECTIVE(ln2_2,@object)
+       .type ln2_2,@object
 ln2_2: .tfloat 0.3465735902799726547086160
        ASM_SIZE_DIRECTIVE(ln2_2)
 
index edb6053840bd5c3977c9550bf13b8daf66f66fc1..c63748537dbc449e2c414e676d034eb9c2610ee1 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(half,@object)
+       .type half,@object
 half:  .double 0.5
        ASM_SIZE_DIRECTIVE(half)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(ln2_2,@object)
+       .type ln2_2,@object
 ln2_2: .tfloat 0.3465735902799726547086160
        ASM_SIZE_DIRECTIVE(ln2_2)
 
index 3d74f366fb4da5cedfe8591c005150cab591e00d..9e22e89f8010446270cd55257be9dec50af85c3a 100644 (file)
        /* Please note that we use double values for 0.5 and 1.0.  These
           numbers have exact representations and so we don't get accuracy
           problems.  The advantage is that the code is simpler.  */
-       ASM_TYPE_DIRECTIVE(half,@object)
+       .type half,@object
 half:  .double 0.5
        ASM_SIZE_DIRECTIVE(half)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(ln2_2,@object)
+       .type ln2_2,@object
 ln2_2: .tfloat 0.3465735902799726547086160
        ASM_SIZE_DIRECTIVE(ln2_2)
 
index e42c9a12139cba582ff418b599c45fb6d0c9fe9d..af339f0ff4a4cb2770121a360bbe2d2c1904ccc1 100644 (file)
 
        .p2align 4
 #ifdef USE_AS_EXP10L
-       ASM_TYPE_DIRECTIVE(c0,@object)
+       .type c0,@object
 c0:    .byte 0, 0, 0, 0, 0, 0, 0x9a, 0xd4, 0x00, 0x40
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c0)
-       ASM_TYPE_DIRECTIVE(c1,@object)
+       .type c1,@object
 c1:    .byte 0x58, 0x92, 0xfc, 0x15, 0x37, 0x9a, 0x97, 0xf0, 0xef, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c1)
 #else
-       ASM_TYPE_DIRECTIVE(c0,@object)
+       .type c0,@object
 c0:    .byte 0, 0, 0, 0, 0, 0, 0xaa, 0xb8, 0xff, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c0)
-       ASM_TYPE_DIRECTIVE(c1,@object)
+       .type c1,@object
 c1:    .byte 0x20, 0xfa, 0xee, 0xc2, 0x5f, 0x70, 0xa5, 0xec, 0xed, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c1)
 #endif
 #ifndef USE_AS_EXPM1L
-       ASM_TYPE_DIRECTIVE(csat,@object)
+       .type csat,@object
 csat:  .byte 0, 0, 0, 0, 0, 0, 0, 0x80, 0x0e, 0x40
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(csat)
index e4fffb80d3b0d3885c3ad1eb2bfdbb4c4e4d90b9..087792499817d4e911a029520ea142046166fbcb 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index b54bf0ed0e99b162a6112233bdf86a7df2e2f616..ce6a81abb6ee8cb2e570fad5ab01b6fe4d515562 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 344110c1a4ed677c6300ef4a63b3ccbff35c7ff6..8c207235551071373c8fefe08e8ed25ae45bf0f4 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index eeb49c66361fba52ed2c2a392acb32be4011c7be..cde987b137ee4c807a108e9efeb0e9681eee01de 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index cc377637f68bb5e45cc8e2cc688448c65c583bb7..a202bc731df606b655c438e3f28d43f8db349ba9 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 59f4f212e3ec1fef17f4ab148b1c1695d2c38100..f4f9a8c3bfcb0c845d866be6aa2662927ac6dfc6 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 4693f6c717ee4cb58bf8989fddf48ad6c9e45a97..bd51b5651ecfd702b414c025cf6a86ba16f20763 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index e277a2f5ec4492f24297f59b4bd2cec0b36375ab..485180e9096eaa82d91d90fd9bdaa5339ef3dd74 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 7b52b3b2d464c21bbf09d3f1fc6a5cd5778cbeb4..d7a459a6270b83a9927d6577665873bd2dbe5d76 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 73d2421162af67748cefbc7e412974b4cdb85c3c..de850226db91e2eb1eebc678ecfa28ec9cc3bd5b 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
-       ASM_TYPE_DIRECTIVE(p63,@object)
+       .type p63,@object
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
-       ASM_TYPE_DIRECTIVE(p10,@object)
+       .type p10,@object
 p10:   .byte 0, 0, 0, 0, 0, 0, 0x90, 0x40
        ASM_SIZE_DIRECTIVE(p10)
 
        .section .rodata.cst16,"aM",@progbits,16
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(infinity,@object)
+       .type infinity,@object
 inf_zero:
 infinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f
        ASM_SIZE_DIRECTIVE(infinity)
-       ASM_TYPE_DIRECTIVE(zero,@object)
+       .type zero,@object
 zero:  .double 0.0
        ASM_SIZE_DIRECTIVE(zero)
-       ASM_TYPE_DIRECTIVE(minf_mzero,@object)
+       .type minf_mzero,@object
 minf_mzero:
 minfinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0xff
index 529a96f9532e0ca0107fb6945782ace54a50b3cc..4c622fc56943f64f3a5c57ab32a392602d2c7e29 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
-       ASM_TYPE_DIRECTIVE(p31,@object)
+       .type p31,@object
 p31:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x41
        ASM_SIZE_DIRECTIVE(p31)
 
        .section .rodata.cst16,"aM",@progbits,16
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(infinity,@object)
+       .type infinity,@object
 inf_zero:
 infinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f
        ASM_SIZE_DIRECTIVE(infinity)
-       ASM_TYPE_DIRECTIVE(zero,@object)
+       .type zero,@object
 zero:  .double 0.0
        ASM_SIZE_DIRECTIVE(zero)
-       ASM_TYPE_DIRECTIVE(minf_mzero,@object)
+       .type minf_mzero,@object
 minf_mzero:
 minfinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0xff
index 5b166eab4b9e786969df0580ceddd28f2b755aeb..933418cf82aa111fed5736f9e7e694954e3be2b9 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
-       ASM_TYPE_DIRECTIVE(p63,@object)
+       .type p63,@object
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
-       ASM_TYPE_DIRECTIVE(p64,@object)
+       .type p64,@object
 p64:   .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
        ASM_SIZE_DIRECTIVE(p64)
-       ASM_TYPE_DIRECTIVE(p78,@object)
+       .type p78,@object
 p78:   .byte 0, 0, 0, 0, 0, 0, 0xd0, 0x44
        ASM_SIZE_DIRECTIVE(p78)
 
        .section .rodata.cst16,"aM",@progbits,16
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(infinity,@object)
+       .type infinity,@object
 inf_zero:
 infinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f
        ASM_SIZE_DIRECTIVE(infinity)
-       ASM_TYPE_DIRECTIVE(zero,@object)
+       .type zero,@object
 zero:  .double 0.0
        ASM_SIZE_DIRECTIVE(zero)
-       ASM_TYPE_DIRECTIVE(minf_mzero,@object)
+       .type minf_mzero,@object
 minf_mzero:
 minfinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0xff
index 1d8d2dd01feace9959dc0110148a4ad9ea988623..20d489efdeee92a504b5200d30153276dc81da83 100644 (file)
@@ -10,7 +10,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(zero_nan,@object)
+       .type zero_nan,@object
 zero_nan:
        .double 0.0
 nan:   .byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
index 0967dbdc2d458bf8a2185f1e32f9718bc94d76a2..b6dd02122a8673af591bd9b225d9bca83fbb5b95 100644 (file)
@@ -11,7 +11,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(zero_nan,@object)
+       .type zero_nan,@object
 zero_nan:
        .double 0.0
 nan:   .byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
index 434fce46f3d26ce293d67f643cbe9dceb88a001f..83f17b233b0cd209351bc08c0faba82b87cf0b9f 100644 (file)
@@ -12,7 +12,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(zero_nan,@object)
+       .type zero_nan,@object
 zero_nan:
        .double 0.0
 nan:   .byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
index f101f36d601b8e875047b644ec1f4143d86435a4..8bdcfcc92f489f75ae4754cc5621bc29c78adaec 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(huge,@object)
+       .type huge,@object
 huge:  .double 1e+300
        ASM_SIZE_DIRECTIVE(huge)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index aa72676b4a1565988365ae2d4e5847a2ba5445ac..86a49a3fa978d0ff07274b17633db2c765a81395 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(huge,@object)
+       .type huge,@object
 huge:  .double 1e+36
        ASM_SIZE_DIRECTIVE(huge)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index ec243436424cbedfd80d7304b77b27fabe05cc7e..4ec5c10213cb58adbd71bbc02804f00f0a360768 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(huge,@object)
+       .type huge,@object
 huge:  .tfloat 1e+4930
        ASM_SIZE_DIRECTIVE(huge)
        .align ALIGNARG(4)
        /* Please note that we use double value for 1.0.  This number
           has an exact representation and so we don't get accuracy
           problems.  The advantage is that the code is simpler.  */
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 15b25a42ad2011688dbb77dd18030f19d73e74e6..aca0b5a92b6b872ee24e4e4e98f9e3b6ac03a1f3 100644 (file)
         .section .rodata
 
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f7,@object)
+        .type f7,@object
 f7:    .double -0.145263899385486377
        ASM_SIZE_DIRECTIVE(f7)
-        ASM_TYPE_DIRECTIVE(f6,@object)
+        .type f6,@object
 f6:    .double 0.784932344976639262
        ASM_SIZE_DIRECTIVE(f6)
-        ASM_TYPE_DIRECTIVE(f5,@object)
+        .type f5,@object
 f5:    .double -1.83469277483613086
        ASM_SIZE_DIRECTIVE(f5)
-        ASM_TYPE_DIRECTIVE(f4,@object)
+        .type f4,@object
 f4:    .double 2.44693122563534430
        ASM_SIZE_DIRECTIVE(f4)
-        ASM_TYPE_DIRECTIVE(f3,@object)
+        .type f3,@object
 f3:    .double -2.11499494167371287
        ASM_SIZE_DIRECTIVE(f3)
-        ASM_TYPE_DIRECTIVE(f2,@object)
+        .type f2,@object
 f2:    .double 1.50819193781584896
        ASM_SIZE_DIRECTIVE(f2)
-        ASM_TYPE_DIRECTIVE(f1,@object)
+        .type f1,@object
 f1:    .double 0.354895765043919860
        ASM_SIZE_DIRECTIVE(f1)
 
@@ -50,7 +50,7 @@ f1:   .double 0.354895765043919860
 #define SQR_CBRT2      1.5874010519681994748
 #define ONE_SQR_CBRT2  0.629960524947436582364439673883
 
-       ASM_TYPE_DIRECTIVE(factor,@object)
+       .type factor,@object
 factor:        .double ONE_SQR_CBRT2
        .double ONE_CBRT2
        .double 1.0
@@ -58,7 +58,7 @@ factor:       .double ONE_SQR_CBRT2
        .double SQR_CBRT2
        ASM_SIZE_DIRECTIVE(factor)
 
-        ASM_TYPE_DIRECTIVE(two54,@object)
+        .type two54,@object
 two54:  .byte 0, 0, 0, 0, 0, 0, 0x50, 0x43
         ASM_SIZE_DIRECTIVE(two54)
 
index be16b3cb7327a72e25160309be7b83d2216cd64e..c3ba2fa2ece8599a9b4a97e1263a12fda28a761e 100644 (file)
         .section .rodata
 
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f3,@object)
+        .type f3,@object
 f3:    .double 0.191502161678719066
         ASM_SIZE_DIRECTIVE(f3)
-        ASM_TYPE_DIRECTIVE(f2,@object)
+        .type f2,@object
 f2:    .double 0.697570460207922770
         ASM_SIZE_DIRECTIVE(f2)
-        ASM_TYPE_DIRECTIVE(f1,@object)
+        .type f1,@object
 f1:    .double 0.492659620528969547
         ASM_SIZE_DIRECTIVE(f1)
 
@@ -38,7 +38,7 @@ f1:   .double 0.492659620528969547
 #define SQR_CBRT2      1.5874010519681994748
 #define ONE_SQR_CBRT2  0.629960524947436582364439673883
 
-       ASM_TYPE_DIRECTIVE(factor,@object)
+       .type factor,@object
         .align ALIGNARG(4)
 factor:        .double ONE_SQR_CBRT2
        .double ONE_CBRT2
@@ -47,7 +47,7 @@ factor:       .double ONE_SQR_CBRT2
        .double SQR_CBRT2
        ASM_SIZE_DIRECTIVE(factor)
 
-        ASM_TYPE_DIRECTIVE(two25,@object)
+        .type two25,@object
 two25: .byte 0, 0, 0, 0x4c
         ASM_SIZE_DIRECTIVE(two25)
 
index e92547e8ade992461b33d94c4043f2f80f4421b0..8b50ba4b698ffd5b532ff280591411ff6e9a5c0a 100644 (file)
         .section .rodata
 
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f8,@object)
+        .type f8,@object
 f8:    .tfloat 0.161617097923756032
        ASM_SIZE_DIRECTIVE(f8)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f7,@object)
+        .type f7,@object
 f7:    .tfloat -0.988553671195413709
        ASM_SIZE_DIRECTIVE(f7)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f6,@object)
+        .type f6,@object
 f6:    .tfloat 2.65298938441952296
        ASM_SIZE_DIRECTIVE(f6)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f5,@object)
+        .type f5,@object
 f5:    .tfloat -4.11151425200350531
        ASM_SIZE_DIRECTIVE(f5)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f4,@object)
+        .type f4,@object
 f4:    .tfloat 4.09559907378707839
        ASM_SIZE_DIRECTIVE(f4)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f3,@object)
+        .type f3,@object
 f3:    .tfloat -2.82414939754975962
        ASM_SIZE_DIRECTIVE(f3)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f2,@object)
+        .type f2,@object
 f2:    .tfloat 1.67595307700780102
        ASM_SIZE_DIRECTIVE(f2)
         .align ALIGNARG(4)
-        ASM_TYPE_DIRECTIVE(f1,@object)
+        .type f1,@object
 f1:    .tfloat 0.338058687610520237
        ASM_SIZE_DIRECTIVE(f1)
 
@@ -62,7 +62,7 @@ f1:   .tfloat 0.338058687610520237
 
        /* We make the entries in the following table all 16 bytes
           wide to avoid having to implement a multiplication by 10.  */
-       ASM_TYPE_DIRECTIVE(factor,@object)
+       .type factor,@object
         .align ALIGNARG(4)
 factor:        .tfloat ONE_SQR_CBRT2
        .byte 0, 0, 0, 0, 0, 0
@@ -75,7 +75,7 @@ factor:       .tfloat ONE_SQR_CBRT2
        .tfloat SQR_CBRT2
        ASM_SIZE_DIRECTIVE(factor)
 
-        ASM_TYPE_DIRECTIVE(two64,@object)
+        .type two64,@object
         .align ALIGNARG(4)
 two64:  .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
         ASM_SIZE_DIRECTIVE(two64)
index d2754de911134b9305a15da3bc1498b22dc800af..2aad34c0559c46323f40f8368117eff1eb1bea26 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(minus1,@object)
+       .type minus1,@object
 minus1:        .double -1.0
        ASM_SIZE_DIRECTIVE(minus1)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(l2e,@object)
+       .type l2e,@object
 l2e:   .tfloat 1.442695040888963407359924681002
        ASM_SIZE_DIRECTIVE(l2e)
 
index fc82b92341121d7bebec2d4d6f20bd034d4e3b9c..b039049bd53843499f7e2f57833e898cce6b3b2b 100644 (file)
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(minus1,@object)
+       .type minus1,@object
 minus1:        .double -1.0
        ASM_SIZE_DIRECTIVE(minus1)
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(l2e,@object)
+       .type l2e,@object
 l2e:   .tfloat 1.442695040888963407359924681002
        ASM_SIZE_DIRECTIVE(l2e)
 
index 27c494ef00512288c0ac919703e7f8e63869f6a0..e76732dc8bc2a091048bc391d31a1aab0d14ad49 100644 (file)
@@ -24,7 +24,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(two54,@object)
+       .type two54,@object
 two54: .byte 0, 0, 0, 0, 0, 0, 0x50, 0x43
        ASM_SIZE_DIRECTIVE(two54)
 
index 18bc7615a05d292b0fee453b5a3274f881bee4c5..af0dc8ee3d58c1a6ca724ea1273e55f64d7d9db1 100644 (file)
@@ -24,7 +24,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(two25,@object)
+       .type two25,@object
 two25: .byte 0, 0, 0, 0x4c
        ASM_SIZE_DIRECTIVE(two25)
 
index e683c2bac26601ccb5e5c7c1896ea3c55edcf965..6f464a89d6a2e75de97b582a7a5491b439628ed7 100644 (file)
@@ -24,7 +24,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(two64,@object)
+       .type two64,@object
 two64: .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
        ASM_SIZE_DIRECTIVE(two64)
 
index 11f7493c3a94fc0832e0139bef9d39b4fa1c28c6..dfe19a280a8110d5bc33e8c3681b3d057c90e3a2 100644 (file)
@@ -27,7 +27,7 @@
      - some (future) systems might want to pass parameters in registers.  */
 
        .globl C_SYMBOL_NAME(_mcount)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function)
+       .type C_SYMBOL_NAME(_mcount), @function
        .align ALIGNARG(4)
 C_LABEL(_mcount)
        /* Save the caller-clobbered registers.  */
@@ -55,7 +55,7 @@ weak_alias (_mcount, mcount)
 
        /* Same as above, but doesn't require a frame pointer */
        .globl C_SYMBOL_NAME(__fentry__)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(__fentry__), @function)
+       .type C_SYMBOL_NAME(__fentry__), @function
        .align ALIGNARG(4)
 C_LABEL(__fentry__)
        /* Save the caller-clobbered registers.  */
index be2116cb36f1526408ea7d5ad98c2e085a1427c9..8a86222b1351e478536cfb7c2f9fd360596fdc45 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 31cdffdb00b579287bb2fdea68429e682a74c575..111838aab67ad66fb246232058a6a3e562d14cd7 100644 (file)
@@ -243,82 +243,82 @@ L(DP_T): /* table of double precision values 2^(j/K) for j=[0..K-1] */
        .long   0xee615a27, 0x3ffefa1b
        .long   0x5b6e4540, 0x3fff5076
        .long   0x819e90d8, 0x3fffa7c1
-       ASM_TYPE_DIRECTIVE(L(DP_T), @object)
+       .type L(DP_T), @object
        ASM_SIZE_DIRECTIVE(L(DP_T))
 
        .section .rodata.cst8,"aM",@progbits,8
        .p2align 3
 L(DP_KLN2): /* double precision K/log(2) */
        .long   0x652b82fe, 0x40571547
-       ASM_TYPE_DIRECTIVE(L(DP_KLN2), @object)
+       .type L(DP_KLN2), @object
        ASM_SIZE_DIRECTIVE(L(DP_KLN2))
 
        .p2align 3
 L(DP_NLN2K): /* double precision -log(2)/K */
        .long   0xfefa39ef, 0xbf862e42
-       ASM_TYPE_DIRECTIVE(L(DP_NLN2K), @object)
+       .type L(DP_NLN2K), @object
        ASM_SIZE_DIRECTIVE(L(DP_NLN2K))
 
        .p2align 3
 L(DP_RS): /* double precision 2^23+2^22 */
        .long   0x00000000, 0x41680000
-       ASM_TYPE_DIRECTIVE(L(DP_RS), @object)
+       .type L(DP_RS), @object
        ASM_SIZE_DIRECTIVE(L(DP_RS))
 
        .p2align 3
 L(DP_P3): /* double precision polynomial coefficient P3 */
        .long   0xeb78fa85, 0x3fa56420
-       ASM_TYPE_DIRECTIVE(L(DP_P3), @object)
+       .type L(DP_P3), @object
        ASM_SIZE_DIRECTIVE(L(DP_P3))
 
        .p2align 3
 L(DP_P1): /* double precision polynomial coefficient P1 */
        .long   0x008d6118, 0x3fe00000
-       ASM_TYPE_DIRECTIVE(L(DP_P1), @object)
+       .type L(DP_P1), @object
        ASM_SIZE_DIRECTIVE(L(DP_P1))
 
        .p2align 3
 L(DP_P2): /* double precision polynomial coefficient P2 */
        .long   0xda752d4f, 0x3fc55550
-       ASM_TYPE_DIRECTIVE(L(DP_P2), @object)
+       .type L(DP_P2), @object
        ASM_SIZE_DIRECTIVE(L(DP_P2))
 
        .p2align 3
 L(DP_P0): /* double precision polynomial coefficient P0 */
        .long   0xffffe7c6, 0x3fefffff
-       ASM_TYPE_DIRECTIVE(L(DP_P0), @object)
+       .type L(DP_P0), @object
        ASM_SIZE_DIRECTIVE(L(DP_P0))
 
        .p2align 2
 L(SP_INF_0):
        .long   0x7f800000      /* single precision Inf */
        .long   0               /* single precision zero */
-       ASM_TYPE_DIRECTIVE(L(SP_INF_0), @object)
+       .type L(SP_INF_0), @object
        ASM_SIZE_DIRECTIVE(L(SP_INF_0))
 
        .section .rodata.cst4,"aM",@progbits,4
        .p2align 2
 L(SP_RS): /* single precision 2^23+2^22 */
        .long   0x4b400000
-       ASM_TYPE_DIRECTIVE(L(SP_RS), @object)
+       .type L(SP_RS), @object
        ASM_SIZE_DIRECTIVE(L(SP_RS))
 
        .p2align 2
 L(SP_SMALL): /* single precision small value 2^(-100) */
        .long   0x0d800000
-       ASM_TYPE_DIRECTIVE(L(SP_SMALL), @object)
+       .type L(SP_SMALL), @object
        ASM_SIZE_DIRECTIVE(L(SP_SMALL))
 
        .p2align 2
 L(SP_LARGE): /* single precision large value 2^100 */
        .long   0x71800000
-       ASM_TYPE_DIRECTIVE(L(SP_LARGE), @object)
+       .type L(SP_LARGE), @object
        ASM_SIZE_DIRECTIVE(L(SP_LARGE))
 
        .p2align 2
 L(SP_ONE): /* single precision 1.0 */
        .long   0x3f800000
-       ASM_TYPE_DIRECTIVE(L(SP_ONE), @object)
+       .type L(SP_ONE), @object
        ASM_SIZE_DIRECTIVE(L(SP_ONE))
 
 strong_alias (__ieee754_expf_sse2, __expf_finite_sse2)
index 92d52556dcce3309f7fcbc5fcb3a4e2eff18f620..5589ae5360918944725dfd1cff67d6542eab3fc1 100644 (file)
@@ -1,6 +1,6 @@
 /* strtok (str, delim) -- Return next DELIM separated token from STR.
    For Intel 80686.
-   Copyright (C) 1998, 2000, 2001, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -43,7 +43,7 @@
 #else
        .bss
        .local save_ptr
-       ASM_TYPE_DIRECTIVE (save_ptr, @object)
+       .type save_ptr, @object
        .size save_ptr, 4
 save_ptr:
 # if __BOUNDED_POINTERS__
index e936fc19f107534b954852a187822e60c2e19dee..3b222aff3dd7d237153088931068ef9a7576288d 100644 (file)
@@ -1,6 +1,6 @@
 /* strtok (str, delim) -- Return next DELIM separated token from STR.
    For Intel 80x86, x>=3.
-   Copyright (C) 1996-1998,2000,2001,2005,2006 Free Software Foundation, Inc.
+   Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -43,7 +43,7 @@
 #else
        .bss
        .local save_ptr
-       ASM_TYPE_DIRECTIVE (save_ptr, @object)
+       .type save_ptr, @object
        .size save_ptr, 4
 save_ptr:
 # if __BOUNDED_POINTERS__
index 01e6817919d42801f16144d7dadb8dd8229a409d..2e547e6ea091003cf87be453bdf882f270cc3d7a 100644 (file)
@@ -50,8 +50,6 @@
 
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
 #define ALIGNARG(log2) 1<<log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
 
 
@@ -63,8 +61,8 @@
 #define        ENTRY(name)                                                           \
   STABS_CURRENT_FILE1("")                                                    \
   STABS_CURRENT_FILE(name)                                                   \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(4);                                                        \
   STABS_FUN(name)                                                            \
   C_LABEL(name)                                                                      \
index 811ebf2aed4aa161efbda5db1a87c0630d21b47b..02917a8677a618cfd6ed08cc59169d968e1bbb9f 100644 (file)
 # define CALL_MCOUNT                                                         \
   mflr  r0;                                                                  \
   stw   r0,4(r1);                                                            \
-  cfi_offset (lr, 4);                                                        \
+  cfi_offset (lr, 4);                                                        \
   bl    JUMPTARGET(_mcount);
 #else  /* PROF */
 # define CALL_MCOUNT           /* Do nothing.  */
 #endif /* PROF */
 
 #define        ENTRY(name)                                                           \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(2);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \
@@ -46,7 +46,7 @@
 
 /* helper macro for accessing the 32-bit powerpc GOT. */
 
-#define        SETUP_GOT_ACCESS(regname,GOT_LABEL)                                   \
+#define        SETUP_GOT_ACCESS(regname,GOT_LABEL)                                   \
        bcl     20,31,GOT_LABEL ;                                             \
 GOT_LABEL:                     ;                                             \
        mflr    (regname)
@@ -64,8 +64,8 @@ GOT_LABEL:                    ;                                             \
    past a 2^align boundary.  */
 #ifdef PROF
 # define EALIGN(name, alignt, words)                                         \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(2);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \
@@ -76,8 +76,8 @@ GOT_LABEL:                    ;                                             \
   0:
 #else /* PROF */
 # define EALIGN(name, alignt, words)                                         \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(alignt);                                                   \
   EALIGN_W_##words;                                                          \
   C_LABEL(name)                                                                      \
@@ -89,7 +89,7 @@ GOT_LABEL:                    ;                                             \
   cfi_endproc;                                                               \
   ASM_SIZE_DIRECTIVE(name)
 
-#define DO_CALL(syscall)                                                     \
+#define DO_CALL(syscall)                                                     \
     li 0,syscall;                                                            \
     sc
 
index 7682ae918896069782424926fe3ab059c6263535..302f559702114356ab6f3e7cf242670397003980 100644 (file)
 
 /* This seems to always be the case on PPC.  */
 #define ALIGNARG(log2) log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
 #endif /* __ASSEMBLER__ */
index 1c8c79adac3ec2a5ac1ac9fa273f369bfdca03c7..04e14ebd8ff29506e1cda869b1879fcaa052236c 100644 (file)
@@ -48,7 +48,7 @@
  */
 
        .globl C_SYMBOL_NAME(_mcount)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function)
+       .type C_SYMBOL_NAME(_mcount), @function
        cfi_startproc
        .align ALIGNARG(4)
 C_LABEL(_mcount)
index 24a07a2a907f21bd4ed6c0d3660a90ddd12147b3..78749ee16134cd51d78519a150d9392f1cea20fc 100644 (file)
 
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
 #define ALIGNARG(log2) 1<<log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
 
 
 /* Define an entry point visible from C. */
 #define        ENTRY(name)                                                           \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(2);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \
index 5d8ef91178422307fba87418b0a5a7fa98f5bd8f..3d4392989225dd30a956602f12d1d20b208a07f6 100644 (file)
@@ -44,7 +44,7 @@
    _mcount may not modify any register.  */
 
        .globl C_SYMBOL_NAME(_mcount)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function)
+       .type C_SYMBOL_NAME(_mcount), @function
        cfi_startproc
        .align ALIGNARG(4)
 C_LABEL(_mcount)
index b7449b6b15341478e79c1a9b3f7b51c754ebb9eb..e62191c2a288d2bb5defac90ef9719343baa05e0 100644 (file)
 
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
 #define ALIGNARG(log2) 1<<log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
 
 
 /* Define an entry point visible from C. */
 #define        ENTRY(name)                                                           \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(2);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \
index 878788b599794bd269e771e13d58517a9398dbf3..7c9f6d132e457830743bc1c463e3f8cef6905539 100644 (file)
@@ -20,7 +20,7 @@
 #include <sysdep.h>
 
        .globl C_SYMBOL_NAME(_mcount)
-       ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(_mcount),function)
+       .type C_SYMBOL_NAME(_mcount),@function
        cfi_startproc
        .align  5
 C_LABEL(_mcount)
index 66a1982887a621f54544d36675b55c43f3ceb74c..1111b8bd424e9d336320676f1128b73eddf6b914 100644 (file)
@@ -23,8 +23,6 @@
 /* Syntactic details of assembler.  */
 
 #define ALIGNARG(log2) log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,@##typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
 #ifdef SHARED
@@ -36,8 +34,8 @@
 
 /* Define an entry point visible from C.  */
 #define        ENTRY(name)                                                           \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),function)                          \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(5);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \
index 0f4fe53343439c7dcc9d524c8b4a8fe46f07f5a6..9b0693a19599e4a8b9731b29ac9e4e8c1dd34a8e 100644 (file)
@@ -58,8 +58,6 @@
 
 /* This seems to always be the case on PPC.  */
 # define ALIGNARG(log2) log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-# define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 # define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
 #endif /* __ASSEMBLER__ */
index c919865b4d8b8cd6199e88678882bd1ecae077fc..3adfe031ffddc6033fd294b32a9959652d334ad4 100644 (file)
@@ -25,7 +25,7 @@
 #include <sysdep.h>
 
        .globl C_SYMBOL_NAME(_mcount)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function)
+       .type C_SYMBOL_NAME(_mcount), @function
        .align ALIGNARG(4)
 C_LABEL(_mcount)
        /* Allocate space for 7 registers.  */
@@ -66,7 +66,7 @@ C_LABEL(_mcount)
 weak_alias (_mcount, mcount)
 
        .globl C_SYMBOL_NAME(__fentry__)
-       ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(__fentry__), @function)
+       .type C_SYMBOL_NAME(__fentry__), @function
        .align ALIGNARG(4)
 C_LABEL(__fentry__)
        /* Allocate space for 7 registers.  */
index 340a1c2f0714feb6bb75995d7ecc18ddb847e859..9b1330435842dceaf2160bf49e889ac34e7b6641 100644 (file)
@@ -251,89 +251,89 @@ L(DP_T): /* table of double precision values 2^(j/K) for j=[0..K-1] */
        .long   0xee615a27, 0x3ffefa1b
        .long   0x5b6e4540, 0x3fff5076
        .long   0x819e90d8, 0x3fffa7c1
-       ASM_TYPE_DIRECTIVE(L(DP_T), @object)
+       .type L(DP_T), @object
        ASM_SIZE_DIRECTIVE(L(DP_T))
 
        .section .rodata.cst8,"aM",@progbits,8
        .p2align 3
 L(DP_KLN2): /* double precision K/log(2) */
        .long   0x652b82fe, 0x40571547
-       ASM_TYPE_DIRECTIVE(L(DP_KLN2), @object)
+       .type L(DP_KLN2), @object
        ASM_SIZE_DIRECTIVE(L(DP_KLN2))
 
        .p2align 3
 L(DP_NLN2K): /* double precision -log(2)/K */
        .long   0xfefa39ef, 0xbf862e42
-       ASM_TYPE_DIRECTIVE(L(DP_NLN2K), @object)
+       .type L(DP_NLN2K), @object
        ASM_SIZE_DIRECTIVE(L(DP_NLN2K))
 
        .p2align 3
 L(DP_RS): /* double precision 2^23+2^22 */
        .long   0x00000000, 0x41680000
-       ASM_TYPE_DIRECTIVE(L(DP_RS), @object)
+       .type L(DP_RS), @object
        ASM_SIZE_DIRECTIVE(L(DP_RS))
 
        .p2align 3
 L(DP_P3): /* double precision polynomial coefficient P3 */
        .long   0xeb78fa85, 0x3fa56420
-       ASM_TYPE_DIRECTIVE(L(DP_P3), @object)
+       .type L(DP_P3), @object
        ASM_SIZE_DIRECTIVE(L(DP_P3))
 
        .p2align 3
 L(DP_P1): /* double precision polynomial coefficient P1 */
        .long   0x008d6118, 0x3fe00000
-       ASM_TYPE_DIRECTIVE(L(DP_P1), @object)
+       .type L(DP_P1), @object
        ASM_SIZE_DIRECTIVE(L(DP_P1))
 
        .p2align 3
 L(DP_P2): /* double precision polynomial coefficient P2 */
        .long   0xda752d4f, 0x3fc55550
-       ASM_TYPE_DIRECTIVE(L(DP_P2), @object)
+       .type L(DP_P2), @object
        ASM_SIZE_DIRECTIVE(L(DP_P2))
 
        .p2align 3
 L(DP_P0): /* double precision polynomial coefficient P0 */
        .long   0xffffe7c6, 0x3fefffff
-       ASM_TYPE_DIRECTIVE(L(DP_P0), @object)
+       .type L(DP_P0), @object
        ASM_SIZE_DIRECTIVE(L(DP_P0))
 
        .p2align 2
 L(SP_RANGE): /* single precision overflow/underflow bounds */
        .long   0x42b17217      /* if x>this bound, then result overflows */
        .long   0x42cff1b4      /* if x<this bound, then result underflows */
-       ASM_TYPE_DIRECTIVE(L(SP_RANGE), @object)
+       .type L(SP_RANGE), @object
        ASM_SIZE_DIRECTIVE(L(SP_RANGE))
 
        .p2align 2
 L(SP_INF_0):
        .long   0x7f800000      /* single precision Inf */
        .long   0               /* single precision zero */
-       ASM_TYPE_DIRECTIVE(L(SP_INF_0), @object)
+       .type L(SP_INF_0), @object
        ASM_SIZE_DIRECTIVE(L(SP_INF_0))
 
        .section .rodata.cst4,"aM",@progbits,4
        .p2align 2
 L(SP_RS): /* single precision 2^23+2^22 */
        .long   0x4b400000
-       ASM_TYPE_DIRECTIVE(L(SP_RS), @object)
+       .type L(SP_RS), @object
        ASM_SIZE_DIRECTIVE(L(SP_RS))
 
        .p2align 2
 L(SP_SMALL): /* single precision small value 2^(-100) */
        .long   0x0d800000
-       ASM_TYPE_DIRECTIVE(L(SP_SMALL), @object)
+       .type L(SP_SMALL), @object
        ASM_SIZE_DIRECTIVE(L(SP_SMALL))
 
        .p2align 2
 L(SP_LARGE): /* single precision large value 2^100 */
        .long   0x71800000
-       ASM_TYPE_DIRECTIVE(L(SP_LARGE), @object)
+       .type L(SP_LARGE), @object
        ASM_SIZE_DIRECTIVE(L(SP_LARGE))
 
        .p2align 2
 L(SP_ONE): /* single precision 1.0 */
        .long   0x3f800000
-       ASM_TYPE_DIRECTIVE(L(SP_ONE), @object)
+       .type L(SP_ONE), @object
        ASM_SIZE_DIRECTIVE(L(SP_ONE))
 
 strong_alias (__ieee754_expf, __expf_finite)
index 1c37c86f7fa69b40cead78a2fd327932145c3ca3..a919780390e43ac8a55f5ea36db013857b7b56cf 100644 (file)
 
        .p2align 4
 #ifdef USE_AS_EXP10L
-       ASM_TYPE_DIRECTIVE(c0,@object)
+       .type c0,@object
 c0:    .byte 0, 0, 0, 0, 0, 0, 0x9a, 0xd4, 0x00, 0x40
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c0)
-       ASM_TYPE_DIRECTIVE(c1,@object)
+       .type c1,@object
 c1:    .byte 0x58, 0x92, 0xfc, 0x15, 0x37, 0x9a, 0x97, 0xf0, 0xef, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c1)
 #else
-       ASM_TYPE_DIRECTIVE(c0,@object)
+       .type c0,@object
 c0:    .byte 0, 0, 0, 0, 0, 0, 0xaa, 0xb8, 0xff, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c0)
-       ASM_TYPE_DIRECTIVE(c1,@object)
+       .type c1,@object
 c1:    .byte 0x20, 0xfa, 0xee, 0xc2, 0x5f, 0x70, 0xa5, 0xec, 0xed, 0x3f
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(c1)
 #endif
 #ifndef USE_AS_EXPM1L
-       ASM_TYPE_DIRECTIVE(csat,@object)
+       .type csat,@object
 csat:  .byte 0, 0, 0, 0, 0, 0, 0, 0x80, 0x0e, 0x40
        .byte 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(csat)
index ebc809e831b38bcff867d88607e2239ba0938478..6c07024c19ca58f45f31d991aaf6d51ab555e67c 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 140b93d101254d2693a613bcd1f17344a9c9033a..956489fc3eba687e645e6656163e5c78f5165855 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 8876dc2189e977b9f59189036ad1d40ee68d81ed..a8e31084babe8a2890f1e9f41f2299379ed43015 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
        /* It is not important that this constant is precise.  It is only
           a value which is known to be on the safe side for using the
           fyl2xp1 instruction.  */
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
 
index 10ede22648d70086568d9e5c5e59738893a0f5dd..4fe23c06af87a57c6a60f8b5a69f4c0f112eb77d 100644 (file)
        .section .rodata.cst8,"aM",@progbits,8
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(one,@object)
+       .type one,@object
 one:   .double 1.0
        ASM_SIZE_DIRECTIVE(one)
-       ASM_TYPE_DIRECTIVE(limit,@object)
+       .type limit,@object
 limit: .double 0.29
        ASM_SIZE_DIRECTIVE(limit)
-       ASM_TYPE_DIRECTIVE(p63,@object)
+       .type p63,@object
 p63:   .byte 0, 0, 0, 0, 0, 0, 0xe0, 0x43
        ASM_SIZE_DIRECTIVE(p63)
-       ASM_TYPE_DIRECTIVE(p64,@object)
+       .type p64,@object
 p64:   .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x43
        ASM_SIZE_DIRECTIVE(p64)
-       ASM_TYPE_DIRECTIVE(p78,@object)
+       .type p78,@object
 p78:   .byte 0, 0, 0, 0, 0, 0, 0xd0, 0x44
        ASM_SIZE_DIRECTIVE(p78)
 
        .section .rodata.cst16,"aM",@progbits,16
 
        .p2align 3
-       ASM_TYPE_DIRECTIVE(infinity,@object)
+       .type infinity,@object
 inf_zero:
 infinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f
        ASM_SIZE_DIRECTIVE(infinity)
-       ASM_TYPE_DIRECTIVE(zero,@object)
+       .type zero,@object
 zero:  .double 0.0
        ASM_SIZE_DIRECTIVE(zero)
-       ASM_TYPE_DIRECTIVE(minf_mzero,@object)
+       .type minf_mzero,@object
 minf_mzero:
 minfinity:
        .byte 0, 0, 0, 0, 0, 0, 0xf0, 0xff
index 8394310c9771541e2cc34cbf846610a23ec5cff2..c422d53b1c994b7cccf03ed61a2c97f347c2e64a 100644 (file)
@@ -13,7 +13,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(zero_nan,@object)
+       .type zero_nan,@object
 zero_nan:
        .double 0.0
 nan:   .byte 0, 0, 0, 0, 0, 0, 0xff, 0x7f
index d96c3bd959dce3d67c45e7fce6928ed58cc37e8e..07ca07584316ff01c1838af668b105fb71137450 100644 (file)
        .section .rodata.cst16,"aM",@progbits,16
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(signmask,@object)
+       .type signmask,@object
 signmask:
        .byte 0, 0, 0, 0, 0, 0, 0, 0x80
        .byte 0, 0, 0, 0, 0, 0, 0, 0
        ASM_SIZE_DIRECTIVE(signmask)
-       ASM_TYPE_DIRECTIVE(othermask,@object)
+       .type othermask,@object
 othermask:
        .byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f
        .byte 0, 0, 0, 0, 0, 0, 0, 0
index 9dd3101c2501d8f9b7df099f50271c2b3366f948..99c16e080e81cd56de790179d6a31852f26e6e38 100644 (file)
@@ -22,7 +22,7 @@
        .section .rodata
 
        .align ALIGNARG(4)
-       ASM_TYPE_DIRECTIVE(mask,@object)
+       .type mask,@object
 mask:
        .byte 0xff, 0xff, 0xff, 0x7f
        ASM_SIZE_DIRECTIVE(mask)
index fe4a9475b3ccd6169e6e8748cc752e40e22daf82..4028a47f243d9a54b3bc187dc89cfbcc13eacbf4 100644 (file)
@@ -44,7 +44,7 @@
 #else
        .bss
        .local save_ptr
-       ASM_TYPE_DIRECTIVE (save_ptr, @object)
+       .type save_ptr, @object
        .size save_ptr, LP_SIZE
 save_ptr:
        .space LP_SIZE
index 258781d096209b0f8a5217b79f88800fbe875dbb..41c3eb2d31a452040052f4a10cbf082f4ed0ced4 100644 (file)
 
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
 #define ALIGNARG(log2) 1<<log2
-/* For ELF we need the `.type' directive to make shared libs work right.  */
-#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
 
 
 /* Define an entry point visible from C.  */
 #define        ENTRY(name)                                                           \
-  .globl C_SYMBOL_NAME(name);                                \
-  ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function)                         \
+  .globl C_SYMBOL_NAME(name);                                                \
+  .type C_SYMBOL_NAME(name),@function;                                       \
   .align ALIGNARG(4);                                                        \
   C_LABEL(name)                                                                      \
   cfi_startproc;                                                             \