summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 41434f27c4..3c957b40c8 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -921,7 +921,8 @@ int plugin_load(const char* plugin, const void* parameter)
921 return -1; 921 return -1;
922 } 922 }
923#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 923#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
924 plugin_size = hdr->end_addr - pluginbuf; 924 /* tlsf crashes observed on arm with 0x4 aligned addresses */
925 plugin_size = ALIGN_UP(hdr->end_addr - pluginbuf, 0x8);
925#else 926#else
926 plugin_size = 0; 927 plugin_size = 0;
927#endif 928#endif