Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.15
 
1.16
 
MAIN:ragge:20090208163705
 
code.c
_>4545         static char *loctbl[] = { "text", "data", "section .rodata" };
 4646         static int lastloc = -1;
 4747         TWORD t;
<> 48+        char *n;
4849         int s;
 4950 
 5051         if (sp == NULL) {
     
 !
5960         if (s != lastloc)
 6061                 printf("        .%s\n", loctbl[s]);
 6162         printf("        .p2align %d\n", ispow2(talign(t, sp->ssue)));
<> 63+        n = sp->soname ? sp->soname : sp->sname;
6264         if (sp->sclass == EXTDEF)
<>63 -                printf("        .globl %s\n", sp->soname);
  65+                printf("        .globl %s\n", n);
6466         if (sp->slevel == 0) {
 6567 #ifdef USE_GAS
<>66 -                printf("\t.type %s,@object\n", sp->soname);
 67 -                printf("\t.size %s," CONFMT "\n", sp->soname,
  68+                printf("\t.type %s,@object\n", n);
  69+                printf("\t.size %s," CONFMT "\n", n,
6870                     tsize(sp->stype, sp->sdf, sp->ssue));
 6971 #endif
<>70 -                printf("%s:\n", sp->soname);
  72+                printf("%s:\n", n);
<_7173         } else
 7274                 printf(LABFMT ":\n", sp->soffset);
 7375 }
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-17 20:56 +0100