[bsp] update gcc nocache section

This commit is contained in:
liang yongxiang 2018-03-13 16:59:45 +08:00
parent ddaa61fcc5
commit 005b9da3d5
1 changed files with 2 additions and 2 deletions

View File

@ -218,14 +218,14 @@ SECTIONS
*(NonCacheable.init)
. = ALIGN(4);
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
} > m_dtcm
} > m_nocache
. = __noncachedata_init_end__;
.ncache :
{
*(NonCacheable)
. = ALIGN(4);
__noncachedata_end__ = .; /* define a global symbol at ncache data end */
} > m_dtcm
} > m_nocache
__DATA_END = __NDATA_ROM + (__noncachedata_init_end__ - __noncachedata_start__);
text_end = ORIGIN(m_text) + LENGTH(m_text);