summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/a29k/portsw/startup/linkcmds
blob: 09f24b6f9a848a1e07a5f930bc718f15b60def79 (plain) (blame)
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
OUTPUT_FORMAT("coff-a29k-big")
 SEARCH_DIR(/opt/a29k-rtems/a29k-rtems/lib);
SECTIONS
{
  .text : {
    *(.text)
     __etext  =  .;
     __CTOR_LIST__ = .;
     LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     *(.ctors)
     LONG(0)
     __CTOR_END__ = .;
     __DTOR_LIST__ = .;
     LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     *(.dtors)
     LONG(0)
     __DTOR_END__ = .;
    *(.lit)
    *(.shdata)
  }
  .shbss SIZEOF(.text) + ADDR(.text) :	{
    *(.shbss)
  } 
  .data  : {
    *(.data)
     __edata  =  .;
  }
  .bss   SIZEOF(.data) + ADDR(.data) :
  { 					
   *(.bss)
   *(COMMON)
      __end = ALIGN(0x8);
  }
}