Added ARM32 support

This commit is contained in:
alejo committed 2026-11-03 15:22:24 -03:00
1 parent df792729ef
commit 1212cb9dbe
36 files changed
+2381 -783

No files matched your search

@@ -26,7 +26,16 @@ int plugin_new_feature(int input)
return result;
}
#if defined(__GNUC__) || defined(__clang__)
#if defined(__arm__) || defined(_M_ARM)
// See Shared/PluginApi.h's doc comment on plugin_tiny_function for why ARM32 needs this, rather
// than the plain empty body every other architecture uses below.
__asm__(
".global plugin_tiny_function\n"
".type plugin_tiny_function, %function\n"
"plugin_tiny_function:\n"
"\tbx lr\n"
".size plugin_tiny_function, . - plugin_tiny_function\n");
#elif defined(__GNUC__) || defined(__clang__)
void plugin_tiny_function(void)
{
}