Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.136
 
1.137
 
MAIN:ragge:20110329201115
 
local.c
_>189189         nfree(p);
 190190         return q;
 191191 
<>192 -#elif defined(PECOFFABI)
  192+#else /* defined(PECOFFABI) || defined(AOUTABI) */
193193 
 194194         return p;
 195195 
     
 !
259259         nfree(p);
 260260         return q;
 261261 
<>262 -#elif defined(PECOFFABI)
  262+#else /* defined(PECOFFABI) || defined(AOUTABI) */
263263 
 264264         return p;
 265265 
     
 !
757757 static void
 758758 fixnames(NODE *p, void *arg)
 759759 {
<>760 -#if !defined(PECOFFABI)
  760+#if defined(ELFABI) || defined(MACHOABI)
761761 
 762762         struct symtab *sp;
 763763         struct attr *ap;
     
 !
961961 {
 962962         char *s, *str = sp->sname;
 963963 
<>964 -#if defined(ELFABI) || defined(PECOFFABI)
  964+#if !defined(MACHOABI)
965965 
 966966         defloc(sp);
 967967 
<>968 -#elif defined(MACHOABI)
  968+#else
969969 
 970970         extern int lastloc;
 971971         if (lastloc != STRNG)
     
 !
11781178 char *
 11791179 exname(char *p)
 11801180 {
<>1181 -#if defined(PECOFFABI) || defined(MACHOABI)
  1181+#if !defined(ELFABI)
11821182 
 11831183 #define NCHNAM  256
 11841184         static char text[NCHNAM+1];
     
 !
13571357                 return 1;
 13581358         }
 13591359 #endif
<> 1360+#ifndef AOUTABI
13601361         if (strcmp(str, "constructor") == 0 || strcmp(str, "init") == 0) {
 13611362                 constructor = 1;
 13621363                 return 1;
     
 !
13651366                 destructor = 1;
 13661367                 return 1;
 13671368         }
<> 1369+#endif
13681370         if (strcmp(str, "section") == 0 && a2 != NULL) {
 13691371                 nextsect = section2string(a2, strlen(a2));
 13701372                 return 1;
     
 !
14301432                         else
 14311433                                 printf("\t.destructor\n");
 14321434                 }
<> 1435+#elif defined(AOUTABI)
  1436+                uerror("constructor/destructor are not supported for this target");
<_14331437 #endif
 14341438                 printf("\t.p2align 2\n");
 14351439                 printf("\t.long %s\n", exname(sp->sname));
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-09-03 04:14 +0200