* config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 May 2001 19:54:04 +0000 (19:54 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 May 2001 19:54:04 +0000 (19:54 +0000)
        (ASM_DOUBLE): Remove.
        * config/i386/bsd.h, config/i386/sco5.h: Likewise.
        * config/i386/sun386.h: Likewise.

        * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
        (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.

        * config/i386/cygwin.h (INT_ASM_OP): Remove.
        * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
        * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
        * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.

        * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
        * config/i386/djgpp.h, config/i386/i386.h: Likewise.
        * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
        * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
        * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
        * config/i386/win32.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42355 138bc75d-0d04-0410-961f-82ee72b054a4

20 files changed:
gcc/ChangeLog
gcc/config/i386/att.h
gcc/config/i386/bsd.h
gcc/config/i386/cygwin.h
gcc/config/i386/djgpp.h
gcc/config/i386/freebsd-aout.h
gcc/config/i386/i386-aout.h
gcc/config/i386/i386-coff.h
gcc/config/i386/i386-interix.h
gcc/config/i386/i386.h
gcc/config/i386/i386elf.h
gcc/config/i386/netbsd.h
gcc/config/i386/openbsd.h
gcc/config/i386/ptx4-i.h
gcc/config/i386/sco5.h
gcc/config/i386/sun386.h
gcc/config/i386/svr3gas.h
gcc/config/i386/sysv4.h
gcc/config/i386/vsta.h
gcc/config/i386/win32.h

index cd3812e..f63d9e3 100644 (file)
@@ -1,3 +1,25 @@
+2001-05-20  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
+       (ASM_DOUBLE): Remove.
+       * config/i386/bsd.h, config/i386/sco5.h: Likewise.
+       * config/i386/sun386.h: Likewise.
+
+       * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
+       (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
+       
+       * config/i386/cygwin.h (INT_ASM_OP): Remove.
+       * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
+       * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
+       * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
+       
+       * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
+       * config/i386/djgpp.h, config/i386/i386.h: Likewise.
+       * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
+       * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
+       * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
+       * config/i386/win32.h: Likewise.
+
 2001-05-20  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * invoke.texi: Add more options to summary list.
@@ -181,9 +203,9 @@ Fri May 18 07:26:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-05-18  Per Bothner  <per@bothner.com>
 
-        Changes needed for java/jvspec.c
-        * gcc.h (n_infiles, outfiles):  Add declarations.
-        * gcc.c (n_infiles, outfiles):  Mske no longer static.
+       Changes needed for java/jvspec.c
+       * gcc.h (n_infiles, outfiles):  Add declarations.
+       * gcc.c (n_infiles, outfiles):  Mske no longer static.
 
 Fri May 18 10:14:42 2001  Jeffrey A Law  (law@cygnus.com)
 
@@ -598,7 +620,7 @@ Wed May 16 18:53:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
 2001-05-16  Jakub Jelinek  <jakub@redhat.com>
            Nathan Sidwell  <nathan@codesourcery.com>
 
-        * gcc.c (give_switch): Don't write before start of string.
+       * gcc.c (give_switch): Don't write before start of string.
        Always append suffix.
 
 2001-05-16  Nathan Sidwell  <nathan@codesourcery.com>
index d8cf65a..b41218e 100644 (file)
@@ -30,10 +30,8 @@ Boston, MA 02111-1307, USA.  */
 
 /* Assembler pseudos to introduce constants of various size.  */
 
-/* #define ASM_BYTE_OP "\t.byte"  Now in svr3.h or svr4.h.  */
-#define ASM_SHORT "\t.value"
-#define ASM_LONG "\t.long"
-#define ASM_DOUBLE "\t.double"
+#define ASM_SHORT "\t.value\t"
+#define ASM_LONG "\t.long\t"
 
 /* How to output an ASCII string constant.  */
 
index 1666696..82b1411 100644 (file)
@@ -41,9 +41,8 @@ Boston, MA 02111-1307, USA.  */
 /* Assembler pseudos to introduce constants of various size.  */
 
 #define ASM_BYTE_OP "\t.byte\t"
-#define ASM_SHORT "\t.word"
-#define ASM_LONG "\t.long"
-#define ASM_DOUBLE "\t.double"
+#define ASM_SHORT "\t.word\t"
+#define ASM_LONG "\t.long\t"
 
 /* Output at beginning of assembler file.
    ??? I am skeptical of this -- RMS.  */
index d064cb2..a3d587f 100644 (file)
@@ -291,7 +291,7 @@ switch_to_section (section, decl)                           \
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)      \
   do {                                         \
     ctor_section ();                           \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                        \
     fprintf (FILE, "\n");                      \
   } while (0)
@@ -299,7 +299,7 @@ switch_to_section (section, decl)                           \
 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)               \
   do {                                         \
     dtor_section ();                                   \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                        \
     fprintf (FILE, "\n");                      \
   } while (0)
@@ -573,10 +573,6 @@ extern int i386_pe_dllimport_name_p PARAMS ((const char *));
 #define SET_ASM_OP "\t.set\t"
 #endif
 
-#ifndef INT_ASM_OP
-#define INT_ASM_OP "\t.long\t"
-#endif
-
 #undef MD_STARTFILE_PREFIX
 #define MD_STARTFILE_PREFIX     "/usr/lib/"
 
index 5a9b68d..14a4357 100644 (file)
@@ -184,7 +184,7 @@ dtor_section ()                                                     \
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)      \
   do {                                         \
     ctor_section ();                           \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                        \
     fprintf (FILE, "\n");                      \
   } while (0)
@@ -201,7 +201,7 @@ dtor_section ()                                                     \
 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)       \
   do {                                         \
     dtor_section ();                                   \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                \
     fprintf (FILE, "\n");                      \
   } while (0)
index 0a86ac2..7937c54 100644 (file)
@@ -245,8 +245,3 @@ do {                                                                    \
 
 /* Define this so we can compile MS code for use with WINE.  */
 #define HANDLE_PRAGMA_PACK_PUSH_POP
-
-/* This is the pseudo-op used to generate a 32-bit word of data with a
-   specific value in some section.  */
-
-#define INT_ASM_OP "\t.long\t"
index 68393c7..7385bec 100644 (file)
@@ -31,6 +31,4 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES ""
 
-#define INT_ASM_OP "\t.long\t"
-
 /* end of i386-aout.h */
index e2e5ed7..69839e1 100644 (file)
@@ -77,8 +77,6 @@ dtors_section ()                                                      \
     }                                                                  \
 }
 
-#define INT_ASM_OP "\t.long\t"
-
 /* A C statement (sans semicolon) to output an element in the table of
    global constructors.  */
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)                              \
index 69486a5..0460b64 100644 (file)
@@ -361,8 +361,6 @@ dtors_section ()                                                    \
           (DECL) && TREE_READONLY (DECL) ? "a" : "aw")
 #endif
 
-#define INT_ASM_OP             "\t.long\t"
-
 /* The MS compilers take alignment as a number of bytes, so we do as well */
 #undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
index d751fc7..0fb1e4c 100644 (file)
@@ -2853,7 +2853,7 @@ extern int const svr4_dbx_register_map[FIRST_PSEUDO_REGISTER];
 #define ASM_OUTPUT_DOUBLE(FILE,VALUE)                                  \
 do { long l[2];                                                                \
      REAL_VALUE_TO_TARGET_DOUBLE (VALUE, l);                           \
-     fprintf (FILE, "%s\t0x%lx,0x%lx\n", ASM_LONG, l[0], l[1]);                \
+     fprintf (FILE, "%s0x%lx,0x%lx\n", ASM_LONG, l[0], l[1]);          \
    } while (0)
 
 /* This is how to output a `long double' extended real constant. */
@@ -2863,9 +2863,9 @@ do { long l[2];                                                           \
 do { long l[4];                                                \
      REAL_VALUE_TO_TARGET_LONG_DOUBLE (VALUE, l);      \
      if (TARGET_128BIT_LONG_DOUBLE)                    \
-       fprintf (FILE, "%s\t0x%lx,0x%lx,0x%lx,0x0\n", ASM_LONG, l[0], l[1], l[2]); \
+       fprintf (FILE, "%s0x%lx,0x%lx,0x%lx,0x0\n", ASM_LONG, l[0], l[1], l[2]); \
      else \
-       fprintf (FILE, "%s\t0x%lx,0x%lx,0x%lx\n", ASM_LONG, l[0], l[1], l[2]); \
+       fprintf (FILE, "%s0x%lx,0x%lx,0x%lx\n", ASM_LONG, l[0], l[1], l[2]); \
    } while (0)
 
 /* This is how to output an assembler line defining a `float' constant.  */
@@ -2873,7 +2873,7 @@ do { long l[4];                                           \
 #define ASM_OUTPUT_FLOAT(FILE,VALUE)                   \
 do { long l;                                           \
      REAL_VALUE_TO_TARGET_SINGLE (VALUE, l);           \
-     fprintf ((FILE), "%s\t0x%lx\n", ASM_LONG, l);     \
+     fprintf ((FILE), "%s0x%lx\n", ASM_LONG, l);       \
    } while (0)
 
 /* Store in OUTPUT a string (made with alloca) containing
@@ -2887,23 +2887,30 @@ do { long l;                                            \
 /* This is how to output an assembler line defining an `int' constant.  */
 
 #define ASM_OUTPUT_INT(FILE,VALUE)  \
-( fprintf (FILE, "%s\t", ASM_LONG),            \
+( fputs (ASM_LONG, FILE),                      \
   output_addr_const (FILE,(VALUE)),            \
   putc('\n',FILE))
 
 /* Likewise for `char' and `short' constants.  */
-/* is this supposed to do align too?? */
 
 #define ASM_OUTPUT_SHORT(FILE,VALUE)  \
-( fprintf (FILE, "%s\t", ASM_SHORT),           \
+( fputs (ASM_SHORT, FILE),                     \
   output_addr_const (FILE,(VALUE)),            \
   putc('\n',FILE))
 
 #define ASM_OUTPUT_CHAR(FILE,VALUE)  \
-( fprintf (FILE, "%s", ASM_BYTE_OP),           \
+( fputs (ASM_BYTE_OP, FILE),                   \
   output_addr_const (FILE, (VALUE)),           \
   putc ('\n', FILE))
 
+/* Given that x86 natively supports unaligned data, it's reasonable to
+   assume that all x86 assemblers don't auto-align data.  Thus the 
+   unaligned output macros required by dwarf2 frame unwind information
+   degenerate to the macros used above.  */
+#define UNALIGNED_SHORT_ASM_OP         ASM_SHORT
+#define UNALIGNED_INT_ASM_OP           ASM_LONG
+#define INT_ASM_OP                     ASM_LONG
+
 /* This is how to output an assembler line for a numeric constant byte.  */
 
 #define ASM_OUTPUT_BYTE(FILE,VALUE)  \
@@ -2925,7 +2932,7 @@ do { long l;                                              \
      */
 
 #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE)  \
-  fprintf (FILE, "%s %s%d\n", ASM_LONG, LPREFIX, VALUE)
+  fprintf (FILE, "%s%s%d\n", ASM_LONG, LPREFIX, VALUE)
 
 /* This is how to output an element of a case-vector that is relative.
    We don't use these on the 386 yet, because the ATT assembler can't do
@@ -2933,7 +2940,7 @@ do { long l;                                              \
  */
 
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
-  fprintf (FILE, "\t%s\t%s%d-%s%d\n",ASM_LONG, LPREFIX, VALUE, LPREFIX, REL)
+  fprintf (FILE, "%s%s%d-%s%d\n",ASM_LONG, LPREFIX, VALUE, LPREFIX, REL)
 
 /* A C statement that outputs an address constant appropriate to 
    for DWARF debugging.  */
index dc9d10c..1d7d4b7 100644 (file)
@@ -56,9 +56,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 do { long value;                                                       \
      REAL_VALUE_TO_TARGET_SINGLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value);               \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value);                 \
      else                                                              \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value);              \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value);                        \
    } while (0)
 
 /* This is how to output assembly code to define a `double' constant.
@@ -72,13 +72,13 @@ do { long value[2];                                                 \
      REAL_VALUE_TO_TARGET_DOUBLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
        }                                                               \
    } while (0)
 
@@ -89,15 +89,15 @@ do { long value[3];                                                 \
      REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), value);                        \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[2]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[2]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[2]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[2]);             \
        }                                                               \
    } while (0)
 
index 1a2c57c..8ff61bc 100644 (file)
@@ -82,8 +82,3 @@
 /* Until they use ELF or something that handles dwarf2 unwinds
    and initialization stuff better.  */
 #define DWARF2_UNWIND_INFO 0
-
-/* This is the pseudo-op used to generate a 32-bit word of data with a
-   specific value in some section.  */
-
-#define INT_ASM_OP "\t.long\t"
index e82166e..18b20e9 100644 (file)
@@ -130,8 +130,3 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 /* Note that we pick up ASM_OUTPUT_MI_THUNK from unix.h.  */
-
-/* This is the pseudo-op used to generate a 32-bit word of data with a
-   specific value in some section.  */
-
-#define INT_ASM_OP "\t.long\t"
index 9cee54c..735408e 100644 (file)
@@ -53,9 +53,9 @@ Boston, MA 02111-1307, USA.  */
 do { long value;                                                       \
      REAL_VALUE_TO_TARGET_SINGLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value);               \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value);                 \
      else                                                              \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value);              \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value);                        \
    } while (0)
 
 /* This is how to output assembly code to define a `double' constant.
@@ -69,13 +69,13 @@ do { long value[2];                                                 \
      REAL_VALUE_TO_TARGET_DOUBLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
        }                                                               \
    } while (0)
 
@@ -86,15 +86,15 @@ do { long value[3];                                                 \
      REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), value);                        \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[2]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[2]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[2]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[2]);             \
        }                                                               \
    } while (0)
 
index 235b7c8..33a512d 100644 (file)
@@ -54,13 +54,10 @@ Boston, MA 02111-1307, USA.  */
 #define INT_ASM_OP                     "\t.long\t"
 
 #undef ASM_SHORT
-#define ASM_SHORT                      "\t.value"
+#define ASM_SHORT                      "\t.value\t"
 
 #undef ASM_LONG
-#define ASM_LONG                       "\t.long"
-
-#undef ASM_DOUBLE
-#define ASM_DOUBLE                     "\t.double"
+#define ASM_LONG                       "\t.long\t"
 
 #undef TYPE_ASM_OP
 #define TYPE_ASM_OP                    "\t.type\t"
@@ -241,9 +238,9 @@ do {                                                                        \
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
 do {                                                                   \
   if (TARGET_ELF)                                                      \
-    fprintf (FILE, "%s _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", ASM_LONG, LPREFIX, VALUE); \
+    fprintf (FILE, "%s_GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", ASM_LONG, LPREFIX, VALUE); \
   else                                                                 \
-    fprintf (FILE, "\t.word %s%d-%s%d\n", LPREFIX,VALUE,LPREFIX,REL);  \
+    fprintf (FILE, "%s%s%d-%s%d\n", ASM_LONG, LPREFIX,VALUE,LPREFIX,REL); \
 } while (0)
 
 #undef ASM_OUTPUT_ALIGNED_COMMON
@@ -419,7 +416,7 @@ do {                                                                        \
     fprintf (FILE, "\n");                                              \
   } else {                                                             \
     fini_section ();                                                           \
-    fprintf (FILE, "%s\t ", ASM_LONG);                                 \
+    fprintf (FILE, "%s", INT_ASM_OP);                                  \
     assemble_name (FILE, NAME);                                        \
     fprintf (FILE, "\n"); }                                            \
   } while (0)
index 67349e1..b28f20f 100644 (file)
@@ -34,9 +34,8 @@ Boston, MA 02111-1307, USA.  */
 /* Assembler pseudos to introduce constants of various size.  */
 
 #define ASM_BYTE_OP "\t.byte\t"
-#define ASM_SHORT "\t.value"
-#define ASM_LONG "\t.long"
-#define ASM_DOUBLE "\t.double"
+#define ASM_SHORT "\t.value\t"
+#define ASM_LONG "\t.long\t"
 
 /* How to output an ASCII string constant.  */
 
index e5bf3db..db4be5d 100644 (file)
@@ -220,8 +220,8 @@ dtors_section ()                                                    \
    global destructors.  */
 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)                                       \
   do {                                                                 \
-    fini_section ();                                                   \
-    fprintf (FILE, "%s\t ", ASM_LONG);                                 \
+    fini_section ();                                                           \
+    fputs (ASM_LONG, FILE);                                            \
     assemble_name (FILE, NAME);                                        \
     fprintf (FILE, "\n");                                              \
   } while (0)
index eb6c32c..a610188 100644 (file)
@@ -51,9 +51,9 @@ Boston, MA 02111-1307, USA.  */
 do { long value;                                                       \
      REAL_VALUE_TO_TARGET_SINGLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value);               \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value);                 \
      else                                                              \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value);              \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value);                        \
    } while (0)
 
 /* This is how to output assembly code to define a `double' constant.
@@ -67,13 +67,13 @@ do { long value[2];                                                 \
      REAL_VALUE_TO_TARGET_DOUBLE ((VALUE), value);                     \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
        }                                                               \
    } while (0)
 
@@ -84,15 +84,15 @@ do { long value[3];                                                 \
      REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), value);                        \
      if (sizeof (int) == sizeof (long))                                        \
        {                                                               \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[0]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[1]);            \
-         fprintf((FILE), "%s\t0x%x\n", ASM_LONG, value[2]);            \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);              \
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[2]);              \
        }                                                               \
      else                                                              \
        {                                                               \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[0]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[1]);           \
-         fprintf((FILE), "%s\t0x%lx\n", ASM_LONG, value[2]);           \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[0]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[1]);             \
+         fprintf((FILE), "%s0x%lx\n", ASM_LONG, value[2]);             \
        }                                                               \
    } while (0)
 
index 6a41b4e..e9479ef 100644 (file)
@@ -61,7 +61,7 @@ dtor_section ()                                                       \
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)      \
   do {                                         \
     ctor_section ();                           \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                        \
     fprintf (FILE, "\n");                      \
   } while (0)
@@ -69,7 +69,7 @@ dtor_section ()                                                       \
 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)               \
   do {                                         \
     dtor_section ();                                   \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                \
     fprintf (FILE, "\n");                      \
   } while (0)
index 36707f0..24d8e2d 100644 (file)
@@ -136,7 +136,7 @@ dtor_section ()                                                     \
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)      \
   do {                                         \
     ctor_section ();                           \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                        \
     fprintf (FILE, "\n");                      \
   } while (0)
@@ -144,7 +144,7 @@ dtor_section ()                                                     \
 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME)               \
   do {                                         \
     dtor_section ();                                   \
-    fprintf (FILE, "%s\t", ASM_LONG);          \
+    fputs (ASM_LONG, FILE);                    \
     assemble_name (FILE, NAME);                \
     fprintf (FILE, "\n");                      \
   } while (0)