URL
https://opencores.org/ocsvn/s6soc/s6soc/trunk
[/] [s6soc/] [trunk/] [sw/] [dev/] [cmod.ld] - Diff between revs 20 and 45
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 20 |
Rev 45 |
Line 32... |
Line 32... |
|
|
ENTRY(_start)
|
ENTRY(_start)
|
|
|
MEMORY
|
MEMORY
|
{
|
{
|
blkram (wx) : ORIGIN = 0x002000, LENGTH = 0x001000
|
blkram (wx) : ORIGIN = 0x0004000, LENGTH = 0x0004000
|
flash (rx) : ORIGIN = 0x400000, LENGTH = 0x400000
|
flash (rx) : ORIGIN = 0x1000000, LENGTH = 0x1000000
|
}
|
}
|
|
|
_top_of_stack = ORIGIN(blkram) + LENGTH(blkram) - 1;
|
_top_of_stack = ORIGIN(blkram) + LENGTH(blkram) - 4;
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
. = 0x0480000;
|
. = 0x1200000;
|
.rocode 0x0480000 : { *(.start) *(.text)
|
.rocode 0x1200000 : { *(.start) *(.text*)
|
*(.rodata)
|
*(.rodata*)
|
*(.strings) } > flash
|
*(.strings*) } > flash
|
.data : { *(.fixdata) *(.data) *(COMMON) *(.bss) } > blkram
|
.data : { *(.fixdata*) *(.data*) *(COMMON*) *(.bss*) } > blkram
|
_top_of_heap = .;
|
_top_of_heap = .;
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.