]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- adapted from mplayer-kill-mabi_altivec.patch
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Dec 2006 12:05:26 +0000 (12:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ffmpeg-kill-mabi_altivec.patch -> 1.1

ffmpeg-kill-mabi_altivec.patch [new file with mode: 0644]

diff --git a/ffmpeg-kill-mabi_altivec.patch b/ffmpeg-kill-mabi_altivec.patch
new file mode 100644 (file)
index 0000000..409f02b
--- /dev/null
@@ -0,0 +1,18 @@
+ when compiled with -mabi=altivec gcc saves and restores altivec registers
+ in long jump macro, it's bad, mplayer don't use long jump much, but uses it
+ for returning from sigill catch routine, so the problem was ILL was sent
+ before sigill catch was completely prepared
+ I hope -mabi=altivec is not really needed
+                                       -- Sparky
+
+--- ffmpeg-export-2006-12-04/configure~        2006-12-05 14:03:28.645649333 +0200
++++ ffmpeg-export-2006-12-04/configure 2006-12-05 14:04:21.376838155 +0200
+@@ -1327,7 +1327,7 @@
+         if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
+             add_cflags "-faltivec"
+         else
+-            add_cflags "-maltivec -mabi=altivec"
++            add_cflags "-maltivec"
+         fi
+     fi
+ fi
This page took 0.209654 seconds and 4 git commands to generate.