Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.84
 
1.85
 
MAIN:ragge:20080729132558
 
local.c
_>207207 tlspic(NODE *p)
 208208 {
 209209         NODE *q, *r;
<>210 -        struct symtab *sp;
  210+        struct symtab *sp, *sp2;
211211 
 212212         /*
 213213          * creates:
     
 !
227227         q = buildtree(ASSIGN, r, q);
 228228 
 229229         /* call ___tls_get_addr */
<>230 -        spname = lookup("___tls_get_addr@PLT", 0);
 231 -        spname->stype = EXTERN|INT|FTN;
 232 -        r = buildtree(NAME, NIL, NIL);
  230+        sp2 = lookup("___tls_get_addr@PLT", 0);
  231+        sp2->stype = EXTERN|INT|FTN;
  232+        r = nametree(sp2);
233233         r = buildtree(ADDROF, r, NIL);
 234234         r = block(UCALL, r, NIL, INT, 0, MKSUE(INT));
 235235 
     
 !
246246 tlsnonpic(NODE *p)
 247247 {
 248248         NODE *q, *r;
<>249 -        struct symtab *sp;
  249+        struct symtab *sp, *sp2;
250250         int ext = p->n_sp->sclass;
 251251 
 252252         sp = picsymtab("", p->n_sp->soname,
     
 !
255255         if (ext == EXTERN)
 256256                 q = block(UMUL, q, NIL, PTR|VOID, 0, MKSUE(VOID));
 257257 
<>258 -        spname = lookup("%gs:0", 0);
 259 -        spname->stype = EXTERN|INT;
 260 -        r = buildtree(NAME, NIL, NIL);
  258+        sp2 = lookup("%gs:0", 0);
  259+        sp2->stype = EXTERN|INT;
  260+        r = nametree(sp2);
<_261261 
 262262         q = buildtree(PLUS, q, r);
 263263         q = block(UMUL, q, 0, p->n_type, p->n_df, p->n_sue);
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-26 09:39 +0100