aboutsummaryrefslogtreecommitdiff
path: root/targets/corstone-polaris/platform.ld
diff options
context:
space:
mode:
Diffstat (limited to 'targets/corstone-polaris/platform.ld')
-rw-r--r--targets/corstone-polaris/platform.ld8
1 files changed, 4 insertions, 4 deletions
diff --git a/targets/corstone-polaris/platform.ld b/targets/corstone-polaris/platform.ld
index f886283..3880da0 100644
--- a/targets/corstone-polaris/platform.ld
+++ b/targets/corstone-polaris/platform.ld
@@ -200,11 +200,11 @@ SECTIONS
LONG (LOADADDR(.sram))
LONG (ADDR(.sram))
- LONG (SIZEOF(.sram))
+ LONG (SIZEOF(.sram) / 4)
LONG (LOADADDR(.bram))
LONG (ADDR(.bram))
- LONG (SIZEOF(.bram))
+ LONG (SIZEOF(.bram) / 4)
__copy_table_end__ = .;
} > ITCM :rom_exec
@@ -215,10 +215,10 @@ SECTIONS
__zero_table_start__ = .;
LONG (ADDR(.bss))
- LONG (SIZEOF(.bss))
+ LONG (SIZEOF(.bss) / 4)
LONG (ADDR(.sram.bss))
- LONG (SIZEOF(.sram.bss))
+ LONG (SIZEOF(.sram.bss) / 4)
__zero_table_end__ = .;
} > ITCM :rom_exec