OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [scripttempl/] [m68klynx.sc] - Blame information for rev 252

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

Line No. Rev Author Line
1 205 julius
test -z "$ENTRY" && ENTRY=_start
2
cat <
3
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
4
${LIB_SEARCH_DIRS}
5
 
6
${RELOCATING+ENTRY (${ENTRY})}
7
 
8
SECTIONS
9
{
10
  .text ${RELOCATING+ SIZEOF_HEADERS} : {
11
    *(.init)
12
    *(.text)
13
    ${RELOCATING+ etext  =  .;}
14
    ${CONSTRUCTING+ ___CTOR_LIST__ = .;}
15
    ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)}
16
    ${CONSTRUCTING+ *(.ctors)}
17
    ${CONSTRUCTING+ LONG(0)}
18
    ${CONSTRUCTING+ ___CTOR_END__ = .;}
19
    ${CONSTRUCTING+ ___DTOR_LIST__ = .;}
20
    ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)}
21
    ${CONSTRUCTING+ *(.dtors)}
22
    ${CONSTRUCTING+ LONG(0)}
23
    ${CONSTRUCTING+ ___DTOR_END__ = .;}
24
    *(.fini)
25
    ${RELOCATING+ etext  =  .};
26
  }
27
  .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
28
    *(.data .data2)
29
    ${RELOCATING+ edata  =  .};
30
  }
31
  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
32
  {
33
    *(.bss)
34
    *(COMMON)
35
    ${RELOCATING+ end = .};
36
  }
37
  .stab  0 ${RELOCATING+(NOLOAD)} :
38
  {
39
    [ .stab ]
40
  }
41
  .stabstr  0 ${RELOCATING+(NOLOAD)} :
42
  {
43
    [ .stabstr ]
44
  }
45
}
46
EOF

powered by: WebSVN 2.1.0

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