(ASM_FILE_START): Stop at first blank in VERSION_STRING.

From-SVN: r2786
This commit is contained in:
Richard Kenner 1992-11-23 21:10:47 -05:00
parent 21431f802a
commit 8c1d735361

View File

@ -1343,9 +1343,16 @@ struct rt_cargs {int gregs, fregs; };
#define ASM_FILE_START(FILE) \
{ extern char *version_string; \
char *p; \
\
fprintf (FILE, "\t.globl .oVncs\n\t.set .oVncs,0\n") ; \
fprintf (FILE, "\t.globl .oVgcc%s\n\t.set .oVgcc%s,0\n", \
version_string, version_string); \
fprintf (FILE, "\t.globl .oVgcc"); \
for (p = version_string; *p != ' ' && *p != 0; p++) \
fprintf (FILE, "%c", *p); \
fprintf (FILE, "\n\t.set .oVgcc"); \
for (p = version_string; *p != ' ' && *p != 0; p++) \
fprintf (FILE, "%c", *p); \
fprintf (FILE, ",0\n"); \
}
/* Output to assembler file text saying following lines