diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-10-10 14:43:40 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-10-10 14:43:40 +0000 |
| commit | bf301fdbb6cc7858d3b53a31d08c06b83c7f10c8 (patch) | |
| tree | 5cb580d188f398d1787522400187a1a3f0bbcd9d /apps/plugins/lib | |
| parent | 462771066bac5f75d3e6507ea275d182ecaaebf4 (diff) | |
| download | rockbox-bf301fdbb6cc7858d3b53a31d08c06b83c7f10c8.zip rockbox-bf301fdbb6cc7858d3b53a31d08c06b83c7f10c8.tar.gz rockbox-bf301fdbb6cc7858d3b53a31d08c06b83c7f10c8.tar.bz2 rockbox-bf301fdbb6cc7858d3b53a31d08c06b83c7f10c8.tar.xz | |
Fix a few div0 cases forgotten in r27684 to enable enabling asm optimizations for android builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
| -rw-r--r-- | apps/plugins/lib/gcc-support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/gcc-support.c b/apps/plugins/lib/gcc-support.c index 4ea9cfd..09a08fa 100644 --- a/apps/plugins/lib/gcc-support.c +++ b/apps/plugins/lib/gcc-support.c @@ -22,7 +22,7 @@ ****************************************************************************/ #include "plugin.h" -#ifdef CPU_ARM +#if defined(CPU_ARM) && (CONFIG_PLATFORM & PLATFORM_NATIVE) void __attribute__((naked)) __div0(void) { asm volatile("bx %0" : : "r"(rb->__div0)); |