summaryrefslogtreecommitdiff
path: root/libmad-0.15.1b-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libmad-0.15.1b-ppc.patch')
-rw-r--r--libmad-0.15.1b-ppc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libmad-0.15.1b-ppc.patch b/libmad-0.15.1b-ppc.patch
new file mode 100644
index 0000000..fa6ee38
--- /dev/null
+++ b/libmad-0.15.1b-ppc.patch
@@ -0,0 +1,13 @@
+--- libmad-0.15.1b/fixed.h~ 2004-02-17 02:02:03.000000000 +0000
++++ libmad-0.15.1b/fixed.h 2009-07-19 13:03:08.000000000 +0100
+@@ -379,8 +379,8 @@ mad_fixed_t mad_f_mul_inline(mad_fixed_t
+ asm ("addc %0,%2,%3\n\t" \
+ "adde %1,%4,%5" \
+ : "=r" (lo), "=r" (hi) \
+- : "%r" (lo), "r" (__lo), \
+- "%r" (hi), "r" (__hi) \
++ : "0" (lo), "r" (__lo), \
++ "1" (hi), "r" (__hi) \
+ : "xer"); \
+ })
+ # endif