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

Subversion Repositories open8_urisc

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

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

Line No. Rev Author Line
1 145 khays
# default linker script for c54x, TI COFF(1).
2
# patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
3
test -z "$ENTRY" && ENTRY=_c_int00
4
 
5
cat <
6
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
7
OUTPUT_ARCH("${OUTPUT_ARCH}")
8
 
9
MEMORY
10
{
11
        /*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
12
        /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
13
}
14
 
15
${RELOCATING+ENTRY (${ENTRY})}
16
 
17
SECTIONS
18
{
19
        .text :
20
        {
21
                ___text__ = .;
22
                *(.text)
23
                etext = .;
24
                ___etext__ = .;
25
        } > prog
26
        .data :
27
        {
28
                ___data__ = .;
29
                __data = .;
30
                *(.data)
31
                __edata = .;
32
                edata = .;
33
                ___edata__ = .;
34
        } > prog
35
        /* all other initialized sections should be allocated here */
36
        .cinit :
37
        {
38
                *(.cinit)
39
        } > prog
40
        .bss :
41
        {
42
                ___bss__ = .;
43
                __bss = .;
44
                *(.bss)
45
                *(COMMON)
46
                __ebss = .;
47
                end = .;
48
                ___end__ = .;
49
        } > data
50
        /* all other uninitialized sections should be allocated here */
51
}
52
EOF

powered by: WebSVN 2.1.0

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