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

Subversion Repositories open8_urisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
cat <
2
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3
${LIB_SEARCH_DIRS}
4
 
5
SECTIONS
6
{
7
  .text : {
8
    *(.text)
9
    ${RELOCATING+ __etext  =  .};
10
    ${CONSTRUCTING+ __CTOR_LIST__ = .;}
11
    ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
12
    ${CONSTRUCTING+ *(.ctors)}
13
    ${CONSTRUCTING+ LONG(0)}
14
    ${CONSTRUCTING+ __CTOR_END__ = .;}
15
    ${CONSTRUCTING+ __DTOR_LIST__ = .;}
16
    ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
17
    ${CONSTRUCTING+ *(.dtors)}
18
    ${CONSTRUCTING+ LONG(0)}
19
    ${CONSTRUCTING+ __DTOR_END__ = .;}
20
    *(.lit)
21
    *(.shdata)
22
  }
23
  .shbss SIZEOF(.text) + ADDR(.text) :  {
24
    *(.shbss)
25
  }
26
  .data  : {
27
    *(.data)
28
    ${RELOCATING+ __edata  =  .};
29
  }
30
  .bss   SIZEOF(.data) + ADDR(.data) :
31
  {
32
   *(.bss)
33
   *(COMMON)
34
     ${RELOCATING+ __end = ALIGN(0x8)};
35
  }
36
}
37
EOF

powered by: WebSVN 2.1.0

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