git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8516 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2015-11-20 16:40:24 +00:00
parent 4d483752a8
commit 5128c31755
1 changed files with 12 additions and 11 deletions

View File

@ -79,6 +79,7 @@ SECTIONS
.const (CONST) ALIGN(16): .const (CONST) ALIGN(16):
{ {
*(.rdata)
*(.rodata) *(.rodata)
} }
@ -98,7 +99,7 @@ SECTIONS
GROUP: GROUP:
{ {
.stacks (BSS) ALIGN(16): .stacks:
{ {
. = ALIGN(8); . = ALIGN(8);
__irq_stack_base__ = .; __irq_stack_base__ = .;
@ -113,27 +114,27 @@ SECTIONS
__main_thread_stack_end__ = .; __main_thread_stack_end__ = .;
} }
.data: .data (DATA):
{ {
. = ALIGN(4); . = ALIGN(4);
__data_start__ = .; __data_start__ = .;
*(.data) *(.data)
} }
.sdata: .sdata (DATA):
{ {
__sdata_start__ = . + 0x8000; __sdata_start__ = . + 0x8000;
*(.sdata) *(.sdata)
__data_end__ = .; __data_end__ = .;
} }
.sbss: .sbss (BSS):
{ {
__bss_start__ = .; __bss_start__ = .;
*(.sbss) *(.sbss)
} }
.bss: .bss (BSS):
{ {
*(.bss) *(.bss)
__bss_end__ = .; __bss_end__ = .;