Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.51
 
1.52
 
MAIN:ragge:20110419171902
 
code.c
_>6767 static NODE *movtoreg(NODE *p, int rno);
 6868 void varattrib(char *name, struct attr *sap);
 6969 
<> 70+static char *sectail;
  71+
7072 /*
 7173  * Define everything needed to print out some data (or text).
 7274  * This means segment, alignment, visibility, etc.
     
 !
113115         varattrib(name, sp->sap);
 114116 
 115117         if (nextsect) {
<>116 -                printf("        .section %s\n", nextsect);
 117 -                nextsect = NULL;
  118+                printf("        .section %s%s\n", nextsect, sectail);
  119+                sectail = nextsect = NULL;
118120                 s = -1;
 119121         } else if (s != lastloc)
 120122                 printf("        .%s\n", loctbl[s]);
     
 !
146148         extern char *nextsect;
 147149         struct attr *ga;
 148150 
<>149 -        if ((ga = attr_find(sap, GCC_ATYP_SECTION)) != NULL)
  151+        if ((ga = attr_find(sap, GCC_ATYP_SECTION)) != NULL) {
150152                 nextsect = ga->sarg(0);
<> 153+                sectail = ",\"aw\",@progbits";
  154+        }
<_151155         if ((ga = attr_find(sap, GCC_ATYP_WEAK)) != NULL)
 152156                 printf("        .weak %s\n", name);
 153157         if (attr_find(sap, GCC_ATYP_DESTRUCTOR)) {
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-27 12:51 +0200