Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.42
 
1.43
 
MAIN:ragge:20050522104546
 
cc.c
_>9797 char    *clist[MAXFIL];
 9898 char    *llist[MAXLIB];
 9999 char    alist[20];
<>100 -int dflag;
 101 -int     xflag;
  100+char    *xlist[100];
  101+int     xnum;
  102+int     dflag;
102103 int     pflag;
 103104 int     sflag;
 104105 int     cflag;
     
 !
113114 int     Xflag;
 114115 int     nostartfiles, Bstatic;
 115116 int     nostdinc;
<> 117+int     onlyas;
116118 
 117119 char    *pass0 = LIBEXECDIR "/ccom";
 118120 char    *passp = LIBEXECDIR "/cpp";
     
 !
183185                         break;
 184186 
 185187                 case 'x':
<>186 -                        xflag++;
 187 -                        i++; /* skip args */
  188+                        xlist[xnum++] = argv[i];
188189                         break;
 189190                 case 't':
 190191                         tflag++;
     
 !
306307                  */
 307308                 if (nc>1 && !Eflag)
 308309                         printf("%s:\n", clist[i]);
<> 310+                onlyas = 0;
309311                 assource = tmp3;
 310312                 if (getsuf(clist[i])=='s') {
 311313                         assource = clist[i];
<>312 -                        if (!xflag)
 313 -                                goto assemble;
  314+                        onlyas = 1;
  315+                        goto assemble;
  316+                } else if (getsuf(clist[i])=='S') {
  317+                        assource = clist[i];
  318+                        onlyas = 1;
314319                 }
 315320                 if (pflag)
 316321                         tmp4 = setsuf(clist[i], 'i');
     
 !
339344                         {exfail++; eflag++;}
 340345                 if (Eflag)
 341346                         continue;
<>342 -                if (xflag)
  347+                if (onlyas)
343348                         goto assemble;
 344349 
 345350                 /*
     
 !
350355                 if (gflag)
 351356                         av[na++] = "-g";
 352357                 if (Oflag)
<>353 -                        av[na++] = "-O";
  358+                        av[na++] = "-xsaveip";
  359+                for (i = 0; i < xnum; i++)
  360+                        av[na++] = xlist[i];
354361                 av[na++] = tmp4;
 355362                 if (pflag || exfail)
 356363                         {
     
 !
390397                         av[2] = outfile;
 391398                 else
 392399                         av[2] = setsuf(clist[i], 'o');
<>393 -                av[3] = xflag ? tmp4 : assource;
  400+                av[3] = onlyas ? tmp4 : assource;
<_394401                 if (dflag) {
 395402                         av[4] = alist;
 396403                         av[5] = 0;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-11-01 15:08 +0100