URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [orp/] [orp_soc/] [sw/] [support/] [orp.ld] - Rev 964
Go to most recent revision | Compare with Previous | Blame | View Log
MEMORY
{
vectors : ORIGIN = 0x00000000, LENGTH = 0x00002000
flash : ORIGIN = 0x04000000, LENGTH = 0x00200000
ram : ORIGIN = 0x00002000, LENGTH = 0x001fe000
}
SECTIONS
{
.reset :
{
*(.reset)
} > flash
.text ALIGN(0x04):
{
*(.text)
} > flash
.rodata :
{
*(.rodata)
} > flash
.dummy ALIGN(0x04):
{
_src_beg = .;
} > flash
.vectors :
AT ( ADDR (.dummy) )
{
_vec_start = .;
*(.vectors)
_vec_end = .;
} > vectors
.data :
AT ( ADDR (.dummy) + SIZEOF (.vectors) )
{
_dst_beg = .;
*(.data)
_dst_end = .;
} > ram
.bss :
{
*(.bss)
} > ram
.stack (NOLOAD) :
{
*(.stack)
_src_addr = .;
} > ram
}
Go to most recent revision | Compare with Previous | Blame | View Log