Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.5
 
1.6
 
MAIN:ragge:20030807205029
 
cc.c
_>117117                 if(*argv[i] == '-') switch (argv[i][1]) {
 118118                 default:
 119119                         goto passa;
<> 120+                case 'W': /* Ignore W-flags */
  121+                case 'f': /* Ignore -ffreestanding */
  122+                case 'n': /* Ignore -nostdinc */
  123+                        break;
120124                 case 'S':
 121125                         sflag++;
 122126                         cflag++;
     
 !
298302 nocom:
 299303         if (cflag==0 && nl!=0) {
 300304                 i = 0;
<>301 -                av[0] = "ld";
 302 -                av[1] = "-X";
 303 -                av[2] = pref;
 304 -                j = 3;
  305+                j = 0;
  306+                av[j++] = "ld";
  307+                av[j++] = "-X";
  308+                av[j++] = "-d";
  309+                av[j++] = "-e";
  310+                av[j++] = "__start";
  311+                av[j++] = "-static";
305312                 if (outfile) {
 306313                         av[j++] = "-o";
 307314                         av[j++] = outfile;
 308315                 }
<> 316+                av[j++] = pref;
  317+                av[j++] = "/usr/lib/crti.o";
  318+                av[j++] = "/usr/lib/crtbegin.o";
309319                 while(i<nl)
 310320                         av[j++] = llist[i++];
 311321                 if (gflag)
 312322                         av[j++] = "-lg";
<> 323+                av[j++] = "-lc";
  324+                av[j++] = "/usr/lib/crtend.o";
  325+                av[j++] = "/usr/lib/crtn.o";
313326                 if(f20)
 314327                         av[j++] = "-l2";
<>315 -                else {
 316 -                        av[j++] = "/lib/libc.a";
 317 -                        av[j++] = "-l";
 318 -                }
319328                 av[j++] = 0;
 320329                 eflag |= callsys("/bin/ld", av);
 321330                 if (nc==1 && nxo==1 && eflag==0)
     
 !
335344 void
 336345 dexit()
 337346 {
<> 347+#if 0
338348         if (!pflag) {
 339349                 cunlink(tmp1);
 340350                 cunlink(tmp2);
     
 !
344354                 cunlink(tmp5);
 345355                 cunlink(tmp0);
 346356         }
<> 357+#endif
347358         exit(eflag);
 348359 }
 349360 
     
 !
393404 
 394405         if (vflag) {
 395406                 for (t = 0; v[t]; t++)
<>396 -                        printf("%s ", v[t]);
 397 -                printf("\n");
  407+                        fprintf(stderr, "%s ", v[t]);
  408+                fprintf(stderr, "\n");
<_398409         }
 399410 
 400411         if ((t=fork())==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-10-30 17:42 +0100