diff options
author | Phil Blundell <philb@gnu.org> | 2008-10-27 14:45:16 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2008-10-27 14:45:16 +0000 |
commit | 54a436a3b781a5daa6afa51f022ca3ceb263f55f (patch) | |
tree | dd4ccf408264744bc572aee6ab1ddcf4b579221c /packages/bluez/bluez-utils/sbc-thumb.patch | |
parent | a9d0016a420aa6f55db6261db86d85f0fe92efbe (diff) |
bluez-utils: avoid inline asm when compiling for thumb
Diffstat (limited to 'packages/bluez/bluez-utils/sbc-thumb.patch')
-rw-r--r-- | packages/bluez/bluez-utils/sbc-thumb.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/bluez/bluez-utils/sbc-thumb.patch b/packages/bluez/bluez-utils/sbc-thumb.patch new file mode 100644 index 0000000000..3505426053 --- /dev/null +++ b/packages/bluez/bluez-utils/sbc-thumb.patch @@ -0,0 +1,11 @@ +--- bluez/sbc/sbc_math.h~ 2008-03-05 20:18:03.000000000 +0000 ++++ bluez/sbc/sbc_math.h 2008-10-27 13:39:27.000000000 +0000 +@@ -59,7 +59,7 @@ + + #define SBC_FIXED_0(val) { val = 0; } + #define MUL(a, b) ((a) * (b)) +-#ifdef __arm__ ++#if defined(__arm__) && !defined(__thumb__) + #define MULA(a, b, res) ({ \ + int tmp = res; \ + __asm__( \ |