This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: unwind-dw2.c: 2 new branch build failures overnight.
On Fri, May 18, 2001 at 02:14:17AM -0500, Robert Lipe wrote:
> Should I add that in sco5.h or do you want to pick it up in some
> defaults list somewhere?
Try the following.
> > Ok, so is there any other way to generate pc-relative relocations
> > for this target?
>
> Shrug. This one is a very SVR4-ish system that I've configured to
> use the native (again, with SVR4 lineage) assembler.
It would be good if you could find out. It's a fairly significant
savings in dynamic relocations. Supposing that it doesn't, add
/* The native assembler is lame and doesn't allow pc-relative relocs. */
#undef ASM_PREFERRED_EH_DATA_FORMAT
somewhere appropriate to your configury.
r~
Index: att.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/att.h,v
retrieving revision 1.5.4.1
diff -u -p -r1.5.4.1 att.h
--- att.h 2001/04/16 18:25:49 1.5.4.1
+++ att.h 2001/05/18 08:16:40
@@ -30,10 +30,9 @@ 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"
+#define ASM_DOUBLE "\t.double\t"
/* How to output an ASCII string constant. */
Index: bsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/bsd.h,v
retrieving revision 1.4
diff -u -p -r1.4 bsd.h
--- bsd.h 2000/09/25 09:16:37 1.4
+++ bsd.h 2001/05/18 08:16:40
@@ -41,9 +41,9 @@ 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"
+#define ASM_DOUBLE "\t.double\t"
/* Output at beginning of assembler file.
??? I am skeptical of this -- RMS. */
Index: cygwin.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/cygwin.h,v
retrieving revision 1.33.2.10
diff -u -p -r1.33.2.10 cygwin.h
--- cygwin.h 2001/04/25 22:24:58 1.33.2.10
+++ cygwin.h 2001/05/18 08:16:40
@@ -289,7 +289,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)
@@ -297,7 +297,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)
Index: djgpp.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/djgpp.h,v
retrieving revision 1.22.2.2
diff -u -p -r1.22.2.2 djgpp.h
--- djgpp.h 2001/05/04 16:39:42 1.22.2.2
+++ djgpp.h 2001/05/18 08:16:41
@@ -189,7 +189,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)
@@ -206,7 +206,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: i386.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.h,v
retrieving revision 1.147.2.5
diff -u -p -r1.147.2.5 i386.h
--- i386.h 2001/05/16 22:46:53 1.147.2.5
+++ i386.h 2001/05/18 08:16:42
@@ -2664,7 +2664,7 @@ extern int const svr4_dbx_register_map[F
#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. */
@@ -2674,9 +2674,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. */
@@ -2684,7 +2684,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
@@ -2698,23 +2698,31 @@ 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 UNALIGNED_DOUBLE_INT_ASM_OP ASM_DOUBLE
+#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) \
@@ -2736,7 +2744,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
@@ -2744,7 +2752,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: i386elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386elf.h,v
retrieving revision 1.9.4.1
diff -u -p -r1.9.4.1 i386elf.h
--- i386elf.h 2001/04/16 18:25:49 1.9.4.1
+++ i386elf.h 2001/05/18 08:16:42
@@ -56,9 +56,9 @@ the Free Software Foundation, 675 Mass A
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: ptx4-i.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/ptx4-i.h,v
retrieving revision 1.10.4.1
diff -u -p -r1.10.4.1 ptx4-i.h
--- ptx4-i.h 2001/04/16 18:25:49 1.10.4.1
+++ ptx4-i.h 2001/05/18 08:16:42
@@ -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: sco5.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/sco5.h,v
retrieving revision 1.43.2.1
diff -u -p -r1.43.2.1 sco5.h
--- sco5.h 2001/04/16 18:25:49 1.43.2.1
+++ sco5.h 2001/05/18 08:16:42
@@ -54,13 +54,13 @@ 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"
+#define ASM_LONG "\t.long\t"
#undef ASM_DOUBLE
-#define ASM_DOUBLE "\t.double"
+#define ASM_DOUBLE "\t.double\t"
#undef TYPE_ASM_OP
#define TYPE_ASM_OP "\t.type\t"
@@ -241,9 +241,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 +419,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: sun386.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/sun386.h,v
retrieving revision 1.7
diff -u -p -r1.7 sun386.h
--- sun386.h 2000/09/25 13:03:19 1.7
+++ sun386.h 2001/05/18 08:16:42
@@ -34,9 +34,9 @@ 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"
+#define ASM_DOUBLE "\t.double\t"
/* How to output an ASCII string constant. */
Index: svr3gas.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/svr3gas.h,v
retrieving revision 1.6
diff -u -p -r1.6 svr3gas.h
--- svr3gas.h 2001/02/08 19:15:37 1.6
+++ svr3gas.h 2001/05/18 08:16:42
@@ -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: sysv4.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/sysv4.h,v
retrieving revision 1.11
diff -u -p -r1.11 sysv4.h
--- sysv4.h 2000/11/02 23:29:10 1.11
+++ sysv4.h 2001/05/18 08:16:43
@@ -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: vsta.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/vsta.h,v
retrieving revision 1.4
diff -u -p -r1.4 vsta.h
--- vsta.h 2000/11/02 23:29:10 1.4
+++ vsta.h 2001/05/18 08:16:43
@@ -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: win-nt.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/Attic/win-nt.h,v
retrieving revision 1.7
diff -u -p -r1.7 win-nt.h
--- win-nt.h 2000/11/02 23:29:10 1.7
+++ win-nt.h 2001/05/18 08:16:43
@@ -75,7 +75,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)
@@ -83,7 +83,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: win32.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/win32.h,v
retrieving revision 1.13
diff -u -p -r1.13 win32.h
--- win32.h 2000/11/02 23:29:10 1.13
+++ win32.h 2001/05/18 08:16:43
@@ -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)