# HG changeset patch # User kono # Date 1084628719 -32400 # Node ID 31d7f050ec0d548b6a1f5c89dfc07568d0a12654 # Parent 9843979a270e35b3c8ab4e1b2ee8e089b86de67f *** empty log message *** diff -r 9843979a270e -r 31d7f050ec0d mc-code-mips.c --- a/mc-code-mips.c Sat May 15 21:36:16 2004 +0900 +++ b/mc-code-mips.c Sat May 15 22:45:19 2004 +0900 @@ -2425,12 +2425,13 @@ void code_opening(char *filename) { + static int count=0; /* this is called once per file */ #if 0 char *p=cheapp; char *s,*t; #endif - printf("\t.file \"%s\"\n",filename); + printf("\t.file %d \"%s\"\n",count++,filename); printf(".abicalls\n"); printf(".text\n"); #if 0 @@ -3416,13 +3417,10 @@ char *opc=""; char *grn,*frn; int d; - int cmp; - - if ((d=(op