Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.81
 
1.82
 
MAIN:ragge:20140818151951
 
local.c
_>6363 
 6464 #define IALLOC(sz)      (isinlining ? permalloc(sz) : tmpalloc(sz))
 6565 
<> 66+#ifdef GCC_COMPAT
6667 /*
 6768  * Make a symtab entry for PIC use.
 6869  */
     
 !
8081         sp->sflags = sp->slevel = 0;
 8182         return sp;
 8283 }
<> 84+#endif
8385 
 8486 int gotnr; /* tempnum for GOT register */
 8587 int argstacksize;
     
 !
194196         return r;
 195197 }
 196198 
<> 199+#ifdef GCC_COMPAT
197200 /*
 198201  * The "initial exec" tls model.
 199202  */
     
 !
226229         tfree(p);
 227230         return r;
 228231 }
<> 232+#endif
229233 
 230234 static NODE *
 231235 tlsref(NODE *p)
 232236 {
<> 237+#ifdef GCC_COMPAT
233238         struct symtab *sp = p->n_sp;
 234239         struct attr *ga;
 235240         char *c;
     
 !
243248                 else
 244249                         werror("unsupported tls model '%s'", c);
 245250         }
<> 251+#endif
246252         return tlspic(p);
 247253 }
 248254 
     
 !
834840 void
 835841 fixdef(struct symtab *sp)
 836842 {
<>837 -        struct attr *ga;
 838 -
839843         /* may have sanity checks here */
 840844         if (gottls)
 841845                 sp->sflags |= STLS;
 842846         gottls = 0;
 843847 
<> 848+#ifdef GCC_COMPAT
  849+        struct attr *ga;
  850+
844851 #ifdef HAVE_WEAKREF
 845852         /* not many as'es have this directive */
 846853         if ((ga = attr_find(sp->sap, GCC_ATYP_WEAKREF)) != NULL) {
     
 !
866873                 printf("\t.%s %s\n", v, sn);
 867874                 printf("\t.set %s,%s\n", sn, an);
 868875         }
<> 876+#endif
869877         if (alias != NULL && (sp->sclass != PARAM)) {
 870878                 printf("\t.globl %s\n", exname(sp->soname));
 871879                 printf("%s = ", exname(sp->soname));
     
 !
878886                 p->n_op = NAME;
 879887                 p->n_sp =
 880888                   (struct symtab *)(constructor ? "constructor" : "destructor");
<> 889+#ifdef GCC_COMPAT
881890                 sp->sap = attr_add(sp->sap, gcc_attr_parse(p));
<> 891+#endif
<_882892                 constructor = destructor = 0;
 883893         }
 884894 }
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-30 14:45 +0100