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

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [common/] [xram.lds] - Blame information for rev 244

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 244 ja_rd
/* INCLUDE linkcmds.memory */
2
 
3
MEMORY
4
{
5
    ROM : ORIGIN = 0xb0000000, LENGTH = 1M
6
    RAM : ORIGIN = 0x00000000, LENGTH = 1M
7
}
8
 
9
/*
10
    Put everything in XRAM area (16-bit SRAM in the DE-1 board).
11
    This means the program will have to be 'bootloaded' onto XRAM. See the
12
    sdboot demo for an example.
13
*/
14
REGION_ALIAS("REGION_TEXT", RAM);
15
REGION_ALIAS("REGION_RODATA", RAM);
16
REGION_ALIAS("REGION_DATA", RAM);
17
REGION_ALIAS("REGION_BSS", RAM);
18
 
19
 
20
SECTIONS
21
{
22
    .text :
23
    {
24
        *(.text)
25
    } > REGION_TEXT
26
    .rodata :
27
    {
28
        *(.rodata)
29
        *(.rodata.*);
30
        rodata_end = .;
31
    } > REGION_RODATA
32
    .data : AT (rodata_end)
33
    {
34
        data_start = .;
35
        _gp = . + 0x7ff0; /* 0x7ff0 -> middle of 64K area */
36
        *(.data)
37
    } > REGION_DATA
38
 
39
    data_size = SIZEOF(.data);
40
    data_load_start = LOADADDR(.data);
41
    .bss :
42
    {
43
        __bss_start = .;
44
        *(.bss)
45
        _end = .;
46
    } > REGION_BSS
47
}

powered by: WebSVN 2.1.0

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