Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.15
 
1.16
 
MAIN:ragge:20100609060302
 
local.c
_>10471047 void
 10481048 fixdef(struct symtab *sp)
 10491049 {
<> 1050+        struct gcc_attrib *ga;
10501051 #ifdef TLS
 10511052         /* may have sanity checks here */
 10521053         if (gottls)
 10531054                 sp->sflags |= STLS;
 10541055         gottls = 0;
 10551056 #endif
<> 1057+        if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_ALIAS)) != NULL) {
  1058+                char *an = ga->a1.sarg;
  1059+                char *sn = sp->soname ? sp->soname : sp->sname;
  1060+                char *v;
  1061+
  1062+                v = gcc_get_attr(sp->ssue, GCC_ATYP_WEAK) ? "weak" : "globl";
  1063+                printf("\t.%s %s\n", v, sn);
  1064+                printf("\t.set %s,%s\n", sn, an);
  1065+        }
<_10561066         if (alias != NULL && (sp->sclass != PARAM)) {
 10571067                 printf("\t.globl %s\n", exname(sp->soname));
 10581068                 printf("%s = ", exname(sp->soname));
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 07:57 +0100