summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/codec_crt0.c2
-rw-r--r--apps/plugin.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/codec_crt0.c b/apps/codecs/codec_crt0.c
index 09b6982246..ed313634e3 100644
--- a/apps/codecs/codec_crt0.c
+++ b/apps/codecs/codec_crt0.c
@@ -22,7 +22,7 @@
22#include "config.h" 22#include "config.h"
23#include "codeclib.h" 23#include "codeclib.h"
24 24
25struct codec_api *ci __attribute__ ((section (".data"))); 25struct codec_api *ci DATA_ATTR;
26 26
27extern unsigned char iramcopy[]; 27extern unsigned char iramcopy[];
28extern unsigned char iramstart[]; 28extern unsigned char iramstart[];
diff --git a/apps/plugin.h b/apps/plugin.h
index 84c3d25654..1c8682f43b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -805,14 +805,14 @@ struct plugin_header {
805extern unsigned char plugin_start_addr[]; 805extern unsigned char plugin_start_addr[];
806extern unsigned char plugin_end_addr[]; 806extern unsigned char plugin_end_addr[];
807#define PLUGIN_HEADER \ 807#define PLUGIN_HEADER \
808 const struct plugin_api *rb __attribute__ ((section (".data"))); \ 808 const struct plugin_api *rb DATA_ATTR; \
809 const struct plugin_header __header \ 809 const struct plugin_header __header \
810 __attribute__ ((section (".header")))= { \ 810 __attribute__ ((section (".header")))= { \
811 PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \ 811 PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \
812 plugin_start_addr, plugin_end_addr, plugin_start, &rb }; 812 plugin_start_addr, plugin_end_addr, plugin_start, &rb };
813#else /* SIMULATOR */ 813#else /* SIMULATOR */
814#define PLUGIN_HEADER \ 814#define PLUGIN_HEADER \
815 const struct plugin_api *rb __attribute__ ((section (".data"))); \ 815 const struct plugin_api *rb DATA_ATTR; \
816 const struct plugin_header __header \ 816 const struct plugin_header __header \
817 __attribute__((visibility("default"))) = { \ 817 __attribute__((visibility("default"))) = { \
818 PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \ 818 PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \