URL
https://opencores.org/ocsvn/potato/potato/trunk
[/] [potato/] [trunk/] [tests.ld] - Diff between revs 2 and 3
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
/*
|
/*
|
* Linker Script for the Potato Processor test applications.
|
* Linker Script for the Potato Processor test applications.
|
* (c) Kristian Klomsten Skordal 2014 - 2015
|
* (c) Kristian Klomsten Skordal 2014 - 2015
|
* Report bugs and issues on
|
* Report bugs and issues on
|
*/
|
*/
|
|
|
/*
|
/*
|
* The linker script assumes that default testbench settings are used, that is,
|
* The linker script assumes that default testbench settings are used, that is,
|
* 2048 bytes (each) of separate instruction and data memory.
|
* 2048 bytes (each) of separate instruction and data memory.
|
*/
|
*/
|
|
|
ENTRY(_start);
|
ENTRY(_start);
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
.text 0x0 :
|
.text 0x0 :
|
{
|
{
|
*(.init*)
|
*(.init*)
|
*(.text*)
|
*(.text*)
|
}
|
}
|
|
|
.data 0x800 :
|
.data 0x800 :
|
{
|
{
|
__data_begin = .;
|
__data_begin = .;
|
*(.data*)
|
*(.data*)
|
}
|
}
|
|
|
.bss :
|
.bss :
|
{
|
{
|
__bss_begin = .;
|
__bss_begin = .;
|
*(.bss*)
|
*(.bss*)
|
__bss_end = .;
|
__bss_end = .;
|
}
|
}
|
__data_end = .;
|
__data_end = .;
|
|
|
__stack_top = 0x1000;
|
__stack_top = 0x1000;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.