File: ptx_ifile

package info (click to toggle)
mpich 1.1.0-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 22,116 kB
  • ctags: 27,349
  • sloc: ansic: 193,435; sh: 11,172; fortran: 6,545; makefile: 5,801; cpp: 5,020; tcl: 3,548; asm: 3,536; csh: 1,079; java: 614; perl: 183; awk: 168; sed: 70; f90: 62
file content (40 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Note: the value 0x400000 used in this file can be changed
to specify
 * more or less space, but it must always be a multiple of
0x1000.
 */
SECTIONS
{
     /* Leave enough room for headers before starting .text */
     .text 0x200 BLOCK(0x200) : { *(.init) *(.text) }

     /* .data and .bss are just like the default */
     GROUP BIND (NEXT(0x1000) + ((SIZEOF(.text) + ADDR(.text)) % 0x1000)) :
     {
          .data     : { }
          .bss : { }
     }

     /* All this just to say 0x400000 (4 MB) beyond the end .bss,
      * then align to the next page.
      */
     GROUP BIND
         ( 0x400000  /* <-- Adjust this to change .bss to .shdata gap */

           /* end of .bss */
           + NEXT(0x1000) + ( ( SIZEOF(.text) + ADDR(.text) ) % 0x1000 )
           + SIZEOF(.data) + SIZEOF(.bss)

           /* align to next page */
           + 0x1000
           -  ( ( ( ( SIZEOF(.text) + ADDR(.text) ) % 0x1000 )
                    + SIZEOF(.data) + SIZEOF(.bss) ) % 0x1000 )
         ) BLOCK (0x1000) :
     {
          .shdata   : { }
          .shbss  : { }
     }

     /* Like the default */
     .comment BLOCK(0x1000) : { *(.comment) }
}