Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.121
 
1.122
 
MAIN:ragge:20100609060205
 
local.c
_>13741374 void
 13751375 fixdef(struct symtab *sp)
 13761376 {
<> 1377+        struct gcc_attrib *ga;
13771378 #ifdef TLS
 13781379         /* may have sanity checks here */
 13791380         if (gottls)
 13801381                 sp->sflags |= STLS;
 13811382         gottls = 0;
 13821383 #endif
<> 1384+        if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_ALIAS)) != NULL) {
  1385+                char *an = ga->a1.sarg
  1386+                char *sn = sp->soname ? sp->soname : sp->sname;
  1387+                char *v;
  1388+
  1389+                v = gcc_get_attr(sp->ssue, GCC_ATYP_WEAK) ? "weak" : "globl";
  1390+                printf("\t.%s %s\n", v, sn);
  1391+                printf("\t.set %s,%s\n", sn, an);
  1392+        }       
  1393+
<_13831394         if (alias != NULL && (sp->sclass != PARAM)) {
 13841395                 char *name;
 13851396                 if ((name = sp->soname) == NULL)
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-08-28 11:07 +0200