Misoc/LM32: Changes to get a clean compilation after initial review and commit

This commit is contained in:
Ramtin Amin
2016-11-02 12:07:52 -06:00
committed by Gregory Nutt
parent 19f5a5f49d
commit b5a94e255a
11 changed files with 259 additions and 89 deletions
+4 -13
View File
@@ -36,23 +36,14 @@
OUTPUT_FORMAT("elf32-lm32")
ENTRY(_stext)
/*INCLUDE configs/misoc/include/generated/regions.ld*/
MEMORY
{
rom : ORIGIN = 0x00000000, LENGTH = 0x00008000
sram : ORIGIN = 0x10000000, LENGTH = 0x00004000
main_ram : ORIGIN = 0x40000000, LENGTH = 0x00080000
rom : ORIGIN = 0x00000000, LENGTH = 0x00008000
sram : ORIGIN = 0x10000000, LENGTH = 0x00004000
main_ram : ORIGIN = 0x40000000, LENGTH = 0x00080000
}
/*
MEMORY
{
flash (rxai!w) : ORIGIN = 0x80002000, LENGTH = 256K - 8K
intram (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 32K
userpage : ORIGIN = 0x80800000, LENGTH = 512
factorypage : ORIGIN = 0x80800200, LENGTH = 512
}
*/
SECTIONS
{
.text : {