From 79b790642035ce5366651c28245e2051339180c0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 20 May 2001 12:54:04 -0700 Subject: att.h (ASM_SHORT, ASM_LONG): Add trailing \t. * 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 --- gcc/config/i386/att.h | 6 ++---- gcc/config/i386/bsd.h | 5 ++--- gcc/config/i386/cygwin.h | 8 ++------ gcc/config/i386/djgpp.h | 4 ++-- gcc/config/i386/freebsd-aout.h | 5 ----- gcc/config/i386/i386-aout.h | 2 -- gcc/config/i386/i386-coff.h | 2 -- gcc/config/i386/i386-interix.h | 2 -- gcc/config/i386/i386.h | 27 +++++++++++++++++---------- gcc/config/i386/i386elf.h | 24 ++++++++++++------------ gcc/config/i386/netbsd.h | 5 ----- gcc/config/i386/openbsd.h | 5 ----- gcc/config/i386/ptx4-i.h | 24 ++++++++++++------------ gcc/config/i386/sco5.h | 13 +++++-------- gcc/config/i386/sun386.h | 5 ++--- gcc/config/i386/svr3gas.h | 4 ++-- gcc/config/i386/sysv4.h | 24 ++++++++++++------------ gcc/config/i386/vsta.h | 4 ++-- gcc/config/i386/win32.h | 4 ++-- 19 files changed, 74 insertions(+), 99 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/i386/att.h b/gcc/config/i386/att.h index d8cf65a..b41218e 100644 --- a/gcc/config/i386/att.h +++ b/gcc/config/i386/att.h @@ -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. */ diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h index 1666696..82b1411 100644 --- a/gcc/config/i386/bsd.h +++ b/gcc/config/i386/bsd.h @@ -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. */ diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index d064cb2e..a3d587fe 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -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/" diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 5a9b68d..14a4357 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -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) diff --git a/gcc/config/i386/freebsd-aout.h b/gcc/config/i386/freebsd-aout.h index 0a86ac2..7937c54 100644 --- a/gcc/config/i386/freebsd-aout.h +++ b/gcc/config/i386/freebsd-aout.h @@ -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" diff --git a/gcc/config/i386/i386-aout.h b/gcc/config/i386/i386-aout.h index 68393c7..7385bec 100644 --- a/gcc/config/i386/i386-aout.h +++ b/gcc/config/i386/i386-aout.h @@ -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 */ diff --git a/gcc/config/i386/i386-coff.h b/gcc/config/i386/i386-coff.h index e2e5ed7..69839e1 100644 --- a/gcc/config/i386/i386-coff.h +++ b/gcc/config/i386/i386-coff.h @@ -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) \ diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index 69486a5..0460b64 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -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) \ diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index d751fc7..0fb1e4c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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. */ diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h index dc9d10c..1d7d4b7 100644 --- a/gcc/config/i386/i386elf.h +++ b/gcc/config/i386/i386elf.h @@ -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) diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index 1a2c57c..8ff61bc 100644 --- a/gcc/config/i386/netbsd.h +++ b/gcc/config/i386/netbsd.h @@ -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" diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h index e82166e..18b20e9 100644 --- a/gcc/config/i386/openbsd.h +++ b/gcc/config/i386/openbsd.h @@ -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" diff --git a/gcc/config/i386/ptx4-i.h b/gcc/config/i386/ptx4-i.h index 9cee54c..735408e 100644 --- a/gcc/config/i386/ptx4-i.h +++ b/gcc/config/i386/ptx4-i.h @@ -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) diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index 235b7c8..33a512d 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -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) diff --git a/gcc/config/i386/sun386.h b/gcc/config/i386/sun386.h index 67349e1..b28f20f 100644 --- a/gcc/config/i386/sun386.h +++ b/gcc/config/i386/sun386.h @@ -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. */ diff --git a/gcc/config/i386/svr3gas.h b/gcc/config/i386/svr3gas.h index e5bf3db..db4be5d 100644 --- a/gcc/config/i386/svr3gas.h +++ b/gcc/config/i386/svr3gas.h @@ -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) diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h index eb6c32c..a610188 100644 --- a/gcc/config/i386/sysv4.h +++ b/gcc/config/i386/sysv4.h @@ -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) diff --git a/gcc/config/i386/vsta.h b/gcc/config/i386/vsta.h index 6a41b4e..e9479ef 100644 --- a/gcc/config/i386/vsta.h +++ b/gcc/config/i386/vsta.h @@ -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) diff --git a/gcc/config/i386/win32.h b/gcc/config/i386/win32.h index 36707f0..24d8e2d 100644 --- a/gcc/config/i386/win32.h +++ b/gcc/config/i386/win32.h @@ -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) -- cgit v1.1