Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.33
 
1.34
 
MAIN:ragge:20110623134125
 
local.c
_>246246 void
 247247 defzero(struct symtab *sp)
 248248 {
<>249 -        int off = (tsize(sp->stype, sp->sdf, sp->sap) + SZCHAR - 1) / SZCHAR;
 250 -        printf("\t.comm ");
  249+        int off;
  250+        char *name;
  251+
  252+        if ((name = sp->soname) == NULL)
  253+                name = exname(sp->sname);
  254+        off = tsize(sp->stype, sp->sdf, sp->sap);
  255+        SETOFF(off,SZCHAR);
  256+        off /= SZCHAR;
  257+
  258+        if (sp->sclass == STATIC)
  259+                printf("\t.local %s\n", name);
251260         if (sp->slevel == 0)
<>252 -                printf("%s,%d\n", sp->soname ? sp->soname : exname(sp->sname), off);
  261+                printf("\t.comm %s,%d\n", name, off);
253262         else
<>254 -                printf(LABFMT ",%d\n", sp->soffset, off);
  263+                printf("\t.comm " LABFMT ",%d\n", sp->soffset, off);
<_255264 }
 256265 
 257266 int
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-02 02:24 +0200