Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.253
 
1.254
 
MAIN:gmcgarry:20090306002711
 
pftn.c
_>28152815         }
 28162816 #endif
 28172817 
<> 2818+static char *stack_chk_fail = "__stack_chk_fail";
  2819+static char *stack_chk_guard = "__stack_chk_guard";
  2820+static char *stack_chk_canary = "__stack_chk_canary";
  2821+
28182822 void
 28192823 sspinit()
 28202824 {
 28212825         NODE *p;
 28222826 
 28232827         p = block(NAME, NIL, NIL, FTN+VOID, 0, MKSUE(VOID));
<>2824 -        p->n_sp = lookup("__stack_chk_fail", SNORMAL);
  2828+        p->n_sp = lookup(stack_chk_fail, SNORMAL);
28252829         defid(p, EXTERN);
 28262830         nfree(p);
 28272831 
 28282832         p = block(NAME, NIL, NIL, INT, 0, MKSUE(INT));
<>2829 -        p->n_sp = lookup("__stack_chk_guard", SNORMAL);
  2833+        p->n_sp = lookup(stack_chk_guard, SNORMAL);
28302834         defid(p, EXTERN);
 28312835         nfree(p);
 28322836 }
     
 !
28372841         NODE *p, *q;
 28382842 
 28392843         q = block(NAME, NIL, NIL, INT, 0, MKSUE(INT));
<>2840 -        q->n_sp = lookup("__stack_chk_guard", SNORMAL);
  2844+        q->n_sp = lookup(stack_chk_guard, SNORMAL);
28412845         q = clocal(q);
 28422846 
 28432847         p = block(REG, NIL, NIL, INT, 0, 0);
     
 !
28472851         q = clocal(q);
 28482852 
 28492853         p = block(NAME, NIL, NIL, INT, 0, MKSUE(INT));
<>2850 -        p->n_sp = lookup("__stack_chk_canary", SNORMAL);
  2854+        p->n_sp = lookup(stack_chk_canary, SNORMAL);
28512855         defid(p, AUTO);
 28522856         p = clocal(p);
 28532857 
     
 !
28802884         }
 28812885 
 28822886         p = block(NAME, NIL, NIL, INT, 0, MKSUE(INT));
<>2883 -        p->n_sp = lookup("__stack_chk_canary", SNORMAL);
  2887+        p->n_sp = lookup(stack_chk_canary, SNORMAL);
28842888         p = clocal(p);
 28852889 
 28862890         q = block(REG, NIL, NIL, INT, 0, 0);
     
 !
28892893         q = block(ER, p, q, INT, 0, MKSUE(INT));
 28902894 
 28912895         p = block(NAME, NIL, NIL, INT, 0, MKSUE(INT));
<>2892 -        p->n_sp = lookup("__stack_chk_guard", SNORMAL);
  2896+        p->n_sp = lookup(stack_chk_guard, SNORMAL);
28932897         p = clocal(p);
 28942898 
 28952899         lab = getlab();
 28962900         cbranch(buildtree(EQ, p, q), bcon(lab));
 28972901 
 28982902         p = block(NAME, NIL, NIL, FTN+VOID, 0, MKSUE(VOID));
<>2899 -        p->n_sp = lookup("__stack_chk_fail", SNORMAL);
  2903+        p->n_sp = lookup(stack_chk_fail, SNORMAL);
<_29002904         p = clocal(p);
 29012905 
 29022906         ecomp(buildtree(UCALL, p, NIL));
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-07-10 15:03 +0200