att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
authorRichard Henderson <rth@gcc.gnu.org>
Sun, 20 May 2001 19:54:04 +0000 (12:54 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 20 May 2001 19:54:04 +0000 (12:54 -0700)
        * 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.

From-SVN: r42355

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 cd3812e97d8a2afaa5ffb4bce093d75a4d7135ab..f63d9e3af0b21a559f88753dcdef46905aae1e05 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 d8cf65a361b6101de3d0cbe84f889efa8a623783..b41218e387f9a434a04f27ce43fd1a33d841a75d 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 1666696cbfc6380933ae0769a24e118fa44c0d44..82b141130f97d04c51870fd05888a18669386423 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 d064cb2eec19557d1ed793536f701387f6491eff..a3d587fe600a59bb6640f3793020b8bb616e1d87 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 5a9b68da5bcf3de1b1726193d474f604cfdd0abf..14a43570e75714b7f81222fd996e5fb68ba863d3 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 0a86ac2a56e0e825ae4a6bba54e4e8794c5482a7..7937c54f54f8b2ef9ff63cc89c802e266d4aacdf 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 68393c77ac9d2acd4a2a20e4fbadcb24b7b8dbc1..7385bec6d7c86d6a36d5981c495cbd16a69a174f 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 e2e5ed700ef3daecc99f0dba1db4a09c42ab19e2..69839e17276bb7b46d7ea3bd895b5152816bca7a 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 69486a544ffdc361fb240e78f00e7a168297b0ef..0460b64b07bc5b6147dd94bb8e916f896c8ccc84 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 d751fc7b08716f7a4b3822e30a97504e3c3b8a6a..0fb1e4c189e8be961bd513703bac14739214aad5 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 dc9d10c013a5dde3ba010dd8618ea2666bb743db..1d7d4b7e6500fa0fb321ae276c13a93b10e30509 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 1a2c57c46a89d9654fda623069dfd8a3c32fef7b..8ff61bce0d0841104a48f8df50eb28f85c720e38 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 e82166e7125e372c1a57d077d934fa5bccd5f77f..18b20e9915d3c34976a1c24e27d8eb2915b5660d 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 9cee54cb951f906e356bf1dfcc6e2e5ff67d6280..735408ebf8f56e3e79eb59f2902e9be3d47a6ca2 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 235b7c802ebc1b5cb4e8727a3e67a832cdae156d..33a512d81376c3902c76f38014d62770f292e3ec 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 67349e19ac1c7f2da29bc0c8254c349c6e41341b..b28f20fd01a69078710081d170d385a969a9e5dc 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 e5bf3db5b4b27bdf65868af4496c1dad690e78ce..db4be5da68f705d281c10f50fbf93ebae88c15c2 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 eb6c32c25b624a4c405ca0e836325c43a78ac86e..a61018828c2da54c03e8cc93504b831050bb88dc 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 6a41b4e1cf8ed787a9ee97031bc0fcfb69e50870..e9479ef103a04cb2b1f2c03fdf45681538bda00f 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 36707f040fffa270b3d4720d87cc5628006342b7..24d8e2d278d23969d8060971527dd5e80bf53b36 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)