GCC 4.9 workaround in F7 scatter file.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8350 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2015-10-09 13:36:54 +00:00
parent f6f26fc55c
commit 67586c077f
1 changed files with 12 additions and 12 deletions

View File

@ -105,6 +105,18 @@ SECTIONS
. = ALIGN(8);
} > flash_itcm AT > flash
/* Constants are placed in the normal flash (non-ITCM) region because it
is desirable to make them DMA-accessible.*/
.rodata : ALIGN(4)
{
. = ALIGN(4);
PROVIDE(__rodata_base__ = .);
*(.rodata)
*(.rodata.*)
. = ALIGN(4);
PROVIDE(__rodata_end__ = .);
} > flash
. = ALIGN(4);
_etext = .;
_textdata = _etext;
@ -163,18 +175,6 @@ SECTIONS
PROVIDE(_edata = .);
} > DATA_RAM AT > flash
/* Constants are placed in the normal flash (non-ITCM) region because it
is desirable to make them DMA-accessible.*/
.rodata : ALIGN(4)
{
. = ALIGN(4);
PROVIDE(__rodata_base__ = .);
*(.rodata)
*(.rodata.*)
. = ALIGN(4);
PROVIDE(__rodata_end__ = .);
} > flash
.bss : ALIGN(4)
{
. = ALIGN(4);