URL
https://opencores.org/ocsvn/ion/ion/trunk
Subversion Repositories ion
[/] [ion/] [trunk/] [src/] [common/] [bram.lds] - Rev 249
Go to most recent revision | Compare with Previous | Blame | View Log
MEMORY
{
BRAM : ORIGIN = 0xbfc00000, LENGTH = 16K
ROM : ORIGIN = 0xb0000000, LENGTH = 4M
RAM : ORIGIN = 0x00000000, LENGTH = 512K
}
REGION_ALIAS("REGION_TEXT", BRAM);
REGION_ALIAS("REGION_RODATA", BRAM);
REGION_ALIAS("REGION_DATA", RAM);
REGION_ALIAS("REGION_BSS", RAM);
SECTIONS
{
.text :
{
*(.text)
} > REGION_TEXT
.rodata :
{
*(.rodata)
*(.rodata.*);
rodata_end = .;
} > REGION_RODATA
.data : AT (rodata_end)
{
data_start = .;
_gp = . + 0x7ff0; /* 0x7ff0 -> middle of 64K area */
*(.data)
} > REGION_DATA
data_size = SIZEOF(.data);
data_load_start = LOADADDR(.data);
.bss :
{
__bss_start = .;
*(.bss)
_end = .;
} > REGION_BSS
}
Go to most recent revision | Compare with Previous | Blame | View Log