1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Index: apps/codecs/libspc/spc_codec.h
===================================================================
--- apps/codecs/libspc/spc_codec.h  (revision 29863)
+++ apps/codecs/libspc/spc_codec.h  (working copy)
@@ -90,7 +90,7 @@
 #endif

 #ifdef CPU_ARM
-
+/*
 #if CONFIG_CPU != PP5002
     #undef  ICODE_ATTR
     #define ICODE_ATTR
@@ -104,7 +104,7 @@
     #undef  IBSS_ATTR
     #define IBSS_ATTR
 #endif
-
+*/
 #if SPC_DUAL_CORE
     #undef SHAREDBSS_ATTR
     #define SHAREDBSS_ATTR __attribute__ ((section(".ibss")))
Index: apps/codecs/libspc/spc_dsp.c
===================================================================
--- apps/codecs/libspc/spc_dsp.c  (revision 29863)
+++ apps/codecs/libspc/spc_dsp.c  (working copy)
@@ -767,7 +767,7 @@
         #if !SPC_NOINTERP
             /* Interleved gauss table (to improve cache coherency). */
             /* gauss [i * 2 + j] = normal_gauss [(1 - j) * 256 + i] */
-            static short const gauss [512] =
+            static short const gauss [512] ICONST_ATTR =
             {
 370,1305, 366,1305, 362,1304, 358,1304, 354,1304, 351,1304, 347,1304, 343,1303,
 339,1303, 336,1303, 332,1302, 328,1302, 325,1301, 321,1300, 318,1300, 314,1299,