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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [maxqcoff.sc] - Blame information for rev 840

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

Line No. Rev Author Line
1 38 julius
test -z "$ENTRY" && ENTRY=_main
2
cat <
3
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
4
${LIB_SEARCH_DIRS}
5
ENTRY(${ENTRY})
6
MEMORY
7
  {
8
  rom (rx)  : ORIGIN = 0, LENGTH = 0x7FFE
9
  ram (!rx) : org = 0x0A000, l = 0x5FFF
10
  }
11
 
12
SECTIONS
13
{
14
        .text  ${RELOCATING+ 0x0000}:
15
        {
16
                *(.text)
17
        } >rom
18
 
19
        .data ${RELOCATING}:
20
        {
21
                *(.data)
22
                *(.rodata)
23
                *(.bss)
24
                *(COMMON)
25
                ${RELOCATING+ edata  =  .};
26
        }>ram
27
 
28
/*      .bss ${RELOCATING+ SIZEOF(.data) + 0x0000}  :
29
        {
30
                *(.bss)
31
                *(COMMON)
32
        }
33
*/
34
        .stab  0 ${RELOCATING+(NOLOAD)} :
35
        {
36
                [ .stab ]
37
        }
38
        .stabstr  0 ${RELOCATING+(NOLOAD)} :
39
        {
40
                [ .stabstr ]
41
        }
42
}
43
EOF

powered by: WebSVN 2.1.0

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