Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.65
 
1.66
 
MAIN:stefan:20071226132225
 
local.c
_>8484 picext(NODE *p)
 8585 {
 8686         NODE *q, *r;
<> 87+        struct symtab *sp;
8788 
 8889         q = tempnode(gotnr, PTR|VOID, 0, MKSUE(VOID));
<>89 -        r = bcon(0);
 90 -        r->n_sp = picsymtab(gcc_findname(p->n_sp), "@GOT");
  90+        sp = picsymtab(gcc_findname(p->n_sp), "@GOT");
  91+        r = xbcon(0, sp, INT);
9192         q = buildtree(PLUS, q, r);
 9293         q = block(UMUL, q, 0, PTR|VOID, 0, MKSUE(VOID));
 9394         q = block(UMUL, q, 0, p->n_type, p->n_df, p->n_sue);
     
 !
103104 picstatic(NODE *p)
 104105 {
 105106         NODE *q, *r;
<> 107+        struct symtab *sp;
106108 
 107109         q = tempnode(gotnr, PTR|VOID, 0, MKSUE(VOID));
<>108 -        r = bcon(0);
109110         if (p->n_sp->slevel > 0 || p->n_sp->sclass == ILABEL) {
 110111                 char buf[32];
 111112                 snprintf(buf, 32, LABFMT, (int)p->n_sp->soffset);
<>112 -                r->n_sp = picsymtab(buf, "@GOTOFF");
  113+                sp = picsymtab(buf, "@GOTOFF");
113114         } else
<>114 -                r->n_sp = picsymtab(gcc_findname(p->n_sp), "@GOTOFF");
 115 -        r->n_sp->sclass = STATIC;
 116 -        r->n_sp->stype = p->n_sp->stype;
  115+                sp = picsymtab(gcc_findname(p->n_sp), "@GOTOFF");
  116+        sp->sclass = STATIC;
  117+        sp->stype = p->n_sp->stype;
  118+        r = xbcon(0, sp, INT);
<_117119         q = buildtree(PLUS, q, r);
 118120         q = block(UMUL, q, 0, p->n_type, p->n_df, p->n_sue);
 119121         q->n_sp = p->n_sp; /* for init */
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 12:56 +0100