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

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [orpmon/] [flash.ld] - Blame information for rev 1771

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

Line No. Rev Author Line
1 809 simons
MEMORY
2
        {
3
        flash   : ORIGIN = 0x04000000, LENGTH = 0x00100000
4
        vectors : ORIGIN = 0x00000000, LENGTH = 0x00002000
5
        ram     : ORIGIN = 0x00002000, LENGTH = 0x00200000 - 0x00002000
6
        }
7
 
8
SECTIONS
9
{
10
        .reset :
11
        {
12
        *(.reset)
13
        } > flash
14
 
15
        .text ALIGN(0x04):
16
        {
17
        *(.text)
18
        } > flash
19
 
20
        .rodata :
21
        {
22
        *(.rodata)
23
        } > flash
24
 
25
        .dummy ALIGN(0x04):
26
        {
27
        _src_beg = .;
28
        }
29
 
30
        .vectors :
31
        AT ( ADDR (.dummy) )
32
        {
33
        _vec_start = .;
34
        *(.vectors)
35
        _vec_end = .;
36
        } > vectors
37
 
38
        .data :
39
        AT ( ADDR (.dummy) + SIZEOF (.vectors) )
40
        {
41
        _dst_beg = .;
42
        *(.data)
43
        _dst_end = .;
44
        } > ram
45
 
46
        .bss :
47
        {
48
        *(.bss)
49
        } > ram
50
 
51
        .stack :
52
        {
53
        *(.stack)
54
        } > ram
55
}

powered by: WebSVN 2.1.0

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