blob: 5a323ae5e8f2cdd378b977b32480a60deb9b0046 [file] [log] [blame]
#include "config.h"
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(task_entry)
SECTIONS
{
. = CONFIG_RAM_BASE;
.text :
{
*task_entry.o (.text)
*(.text .text*)
*(.ARM.*)
}
.common :
{
*(.commo*)
}
.data :
{
*(.bss .data .rodata*)
}
. = ALIGN(4);
_bssstart = . ;
.bss : { *(.bss) }
. = ALIGN(4);
_bssend = . ;
. = CONFIG_RAM_END - 3*CONFIG_TASK_STACK_SIZE - 128;
.bss_stack : { *(.bss_stack.usr_stack) }
}
ASSERT(_bssend <= (CONFIG_RAM_END - 3*CONFIG_TASK_STACK_SIZE - 128), "Data is too big. Please fine-tune start address and LENGTH!");