URL
https://opencores.org/ocsvn/potato/potato/trunk
[/] [potato/] [trunk/] [benchmarks/] [benchmark.ld] - Diff between revs 13 and 58
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 13 |
Rev 58 |
/*
|
/*
|
* Linker Script for the Potato Processor benchmark applications
|
* Linker Script for the Potato Processor benchmark 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 is intended to be used with the "official" test platform,
|
* The linker script is intended to be used with the "official" test platform,
|
* described in platform.h.
|
* described in platform.h.
|
*/
|
*/
|
|
|
ENTRY(_start);
|
ENTRY(_start);
|
|
|
SECTIONS
|
SECTIONS
|
{
|
{
|
.text 0x0 :
|
.text 0x100 :
|
{
|
{
|
*(.init*)
|
*(.init)
|
*(.text*)
|
*(.text*)
|
__text_end = .;
|
__text_end = .;
|
}
|
}
|
|
|
.data 0x2000 : AT(ADDR(.text) + SIZEOF(.text))
|
.data 0x2000 : AT(ADDR(.text) + SIZEOF(.text))
|
{
|
{
|
__data_begin = .;
|
__data_begin = .;
|
*(.rodata*)
|
*(.rodata*)
|
*(.data*)
|
*(.data*)
|
__data_end = ALIGN(4);
|
__data_end = ALIGN(4);
|
}
|
}
|
|
|
.bss ALIGN(4):
|
.bss ALIGN(4):
|
{
|
{
|
__bss_begin = .;
|
__bss_begin = .;
|
*(.bss*)
|
*(.bss*)
|
__bss_end = ALIGN(4);
|
__bss_end = ALIGN(4);
|
}
|
}
|
|
|
__stack_top = 0x4000;
|
__stack_top = 0x4000;
|
}
|
}
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.