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

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [common/] [flash.lds] - Blame information for rev 227

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

Line No. Rev Author Line
1 89 ja_rd
/* INCLUDE linkcmds.memory */
2
 
3
MEMORY
4
{
5
    ROM : ORIGIN = 0xb0000000, LENGTH = 1M
6
    RAM : ORIGIN = 0x00000000, LENGTH = 1M
7
}
8
 
9
REGION_ALIAS("REGION_TEXT", ROM);
10
REGION_ALIAS("REGION_RODATA", ROM);
11
REGION_ALIAS("REGION_DATA", RAM);
12
REGION_ALIAS("REGION_BSS", RAM);
13
 
14
 
15
SECTIONS
16
{
17
    .text :
18
    {
19
        *(.text)
20
    } > REGION_TEXT
21
    .rodata :
22
    {
23
        *(.rodata)
24
        *(.rodata.*);
25
        rodata_end = .;
26
    } > REGION_RODATA
27
    .data : AT (rodata_end)
28
    {
29
        data_start = .;
30
        _gp = . + 0x7ff0; /* 0x7ff0 -> middle of 64K area */
31
        *(.data)
32
    } > REGION_DATA
33
 
34
    data_size = SIZEOF(.data);
35
    data_load_start = LOADADDR(.data);
36
    .bss :
37
    {
38
        __bss_start = .;
39
        *(.bss)
40
        _end = .;
41
    } > REGION_BSS
42
}

powered by: WebSVN 2.1.0

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