OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [scripttempl/] [moxie.sc] - Blame information for rev 145

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
TORS=".tors :
2
  {
3
    ___ctors = . ;
4
    *(.ctors)
5
    ___ctors_end = . ;
6
    ___dtors = . ;
7
    *(.dtors)
8
    ___dtors_end = . ;
9
  } > ram"
10
 
11
cat <
12
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
13
OUTPUT_ARCH(${ARCH})
14
 
15
SECTIONS
16
{
17
  .text :
18
  {
19
    *(.text)
20
      .init : { KEEP (*(.init)) } =0
21
      .fini : { KEEP (*(.fini)) } =0
22
    *(.strings)
23
    ${RELOCATING+ _etext = . ; }
24
  } ${RELOCATING+ > ram}
25
  ${CONSTRUCTING+${TORS}}
26
  .data :
27
  {
28
    *(.data)
29
    ${RELOCATING+ _edata = . ; }
30
  } ${RELOCATING+ > ram}
31
  .bss :
32
  {
33
    ${RELOCATING+ _bss_start = . ; }
34
    *(.bss)
35
    *(COMMON)
36
    ${RELOCATING+ _end = . ;  }
37
  } ${RELOCATING+ > ram}
38
  .stack ${RELOCATING+ 0x30000 }  :
39
  {
40
    ${RELOCATING+ _stack = . ; }
41
    *(.stack)
42
  } ${RELOCATING+ > ram}
43
  .stab 0 ${RELOCATING+(NOLOAD)} :
44
  {
45
    *(.stab)
46
  }
47
  .stabstr 0 ${RELOCATING+(NOLOAD)} :
48
  {
49
    *(.stabstr)
50
  }
51
}
52
EOF

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.