summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index bb2778164b..ad726d61bf 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -974,9 +974,9 @@ struct plugin_header {
974extern unsigned char plugin_start_addr[]; 974extern unsigned char plugin_start_addr[];
975extern unsigned char plugin_end_addr[]; 975extern unsigned char plugin_end_addr[];
976#define PLUGIN_HEADER \ 976#define PLUGIN_HEADER \
977 const struct plugin_api *rb DATA_ATTR; \ 977 const struct plugin_api *rb DATA_ATTR USED_ATTR; \
978 const struct plugin_header __header \ 978 const struct plugin_header __header \
979 __attribute__ ((section (".header")))= { \ 979 __attribute__ ((section (".header"))) USED_ATTR = { \
980 { PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \ 980 { PLUGIN_MAGIC, TARGET_ID, PLUGIN_API_VERSION, \
981 plugin_start_addr, plugin_end_addr }, plugin__start, &rb }; 981 plugin_start_addr, plugin_end_addr }, plugin__start, &rb };
982#else /* PLATFORM_HOSTED */ 982#else /* PLATFORM_HOSTED */