xtensa: cavs: fix linker warnings on cAVS 2.0 and 2.5
Add the missing .cached section on cAVS 2.0 and 2.5 to fix compiler warnings. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
f5b261db7d
commit
03f097b178
2 changed files with 8 additions and 0 deletions
|
@ -440,6 +440,10 @@ SECTIONS
|
||||||
*(.gnu.linkonce.lit4.*)
|
*(.gnu.linkonce.lit4.*)
|
||||||
_lit4_end = ABSOLUTE(.);
|
_lit4_end = ABSOLUTE(.);
|
||||||
} >ram :ram_phdr
|
} >ram :ram_phdr
|
||||||
|
.cached :
|
||||||
|
{
|
||||||
|
*(.cached .cached.*)
|
||||||
|
} >ram :ram_phdr
|
||||||
#include <linker/common-ram.ld>
|
#include <linker/common-ram.ld>
|
||||||
|
|
||||||
.bss (NOLOAD) : ALIGN(4096)
|
.bss (NOLOAD) : ALIGN(4096)
|
||||||
|
|
|
@ -485,6 +485,10 @@ SECTIONS
|
||||||
*(.gnu.linkonce.lit4.*)
|
*(.gnu.linkonce.lit4.*)
|
||||||
_lit4_end = ABSOLUTE(.);
|
_lit4_end = ABSOLUTE(.);
|
||||||
} >ram :ram_phdr
|
} >ram :ram_phdr
|
||||||
|
.cached :
|
||||||
|
{
|
||||||
|
*(.cached .cached.*)
|
||||||
|
} >ram :ram_phdr
|
||||||
#include <linker/common-ram.ld>
|
#include <linker/common-ram.ld>
|
||||||
|
|
||||||
.AltBootManifest : ALIGN(8)
|
.AltBootManifest : ALIGN(8)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue