From 5128c3175507dbc3c508f76b7d0c5a6608ecff08 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 20 Nov 2015 16:40:24 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8516 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'demos/SPC5') diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf index 298121794..6c41a2e33 100644 --- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf +++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf @@ -73,20 +73,21 @@ SECTIONS .code (VLECODE) ALIGN(16): { - *(.text) - *(.text_vle) + *(.text) + *(.text_vle) } .const (CONST) ALIGN(16): { - *(.rodata) + *(.rdata) + *(.rodata) } .sdata2 (CONST) ALIGN(16): { - __sdata2_start__ = . + 0x8000; - *(.sdata2) - *(.sbss2) + __sdata2_start__ = . + 0x8000; + *(.sdata2) + *(.sbss2) } .ctors: {} @@ -98,7 +99,7 @@ SECTIONS GROUP: { - .stacks (BSS) ALIGN(16): + .stacks: { . = ALIGN(8); __irq_stack_base__ = .; @@ -113,27 +114,27 @@ SECTIONS __main_thread_stack_end__ = .; } - .data: + .data (DATA): { . = ALIGN(4); __data_start__ = .; *(.data) } - .sdata: + .sdata (DATA): { __sdata_start__ = . + 0x8000; *(.sdata) __data_end__ = .; } - .sbss: + .sbss (BSS): { __bss_start__ = .; *(.sbss) } - .bss: + .bss (BSS): { *(.bss) __bss_end__ = .; -- cgit v1.2.3