Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.65
 
1.66
 
MAIN:ragge:20110623134125
 
code.c
_>2929 
 3030 # include "pass1.h"
 3131 
<>32 -int lastloc = -1;
3332 
 3433 /*
 3534  * Print out assembler segment name.
     
 !
4140         case PROG: name = ".text"; break;
 4241         case DATA:
 4342         case LDATA: name = ".data"; break;
<> 43+        case STRNG:
  44+        case RDATA: name = ".section .rodata"; break;
4445         case UDATA: break;
<> 46+        case PICLDATA:
  47+        case PICDATA: name = ".section .data.rel.rw,\"aw\",@progbits"; break;
  48+        case PICRDATA: name = ".section .data.rel.ro,\"aw\",@progbits"; break;
  49+        case TLSDATA: name = ".section .tdata,\"awT\",@progbits"; break;
  50+        case TLSUDATA: name = ".section .tbss,\"awT\",@nobits"; break;
  51+        case CTORS: name = ".section\t.ctors,\"aw\",@progbits"; break;
  52+        case DTORS: name = ".section\t.dtors,\"aw\",@progbits"; break;
  53+        case NMSEG:
  54+                printf("\t.section %s,\"aw\",@progbits\n", name);
  55+                return;
  56+        }
  57+        printf("\t%s\n", name);
  58+}
  59+
  60+/*
  61+ * Print out assembler segment name.
  62+ */
  63+void
  64+setseg(int seg, char *name)
  65+{
  66+        switch (seg) {
  67+        case PROG: name = ".text"; break;
  68+        case DATA:
  69+        case LDATA: name = ".data"; break;
  70+        case UDATA: break;
<_4571 #ifdef MACHOABI
 4672         case PICLDATA:
 4773         case PICDATA: name = ".section .data.rel.rw,\"aw\""; break;
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 17:10 +0200