Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.16
 
1.17
 
MAIN:ragge:20100609092745
 
local.c
_>10541054                 sp->sflags |= STLS;
 10551055         gottls = 0;
 10561056 #endif
<>1057 -        if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_ALIAS)) != NULL) {
  1057+#ifdef HAVE_WEAKREF
  1058+        /* not many as'es have this directive */
  1059+        if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_WEAKREF)) != NULL) {
  1060+                char *wr = ga->a1.sarg;
  1061+                char *sn = sp->soname ? sp->soname : sp->sname;
  1062+                if (wr == NULL) {
  1063+                        if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_ALIAS))) {
  1064+                                wr = ga->a1.sarg;
  1065+                        }
  1066+                }
  1067+                if (wr == NULL)
  1068+                        printf("\t.weak %s\n", sn);
  1069+                else
  1070+                        printf("\t.weakref %s,%s\n", sn, wr);
  1071+        } else
  1072+#endif
  1073+               if ((ga = gcc_get_attr(sp->ssue, GCC_ATYP_ALIAS)) != NULL) {
<_10581074                 char *an = ga->a1.sarg;
 10591075                 char *sn = sp->soname ? sp->soname : sp->sname;
 10601076                 char *v;
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-22 09:54 +0200