]> git.pld-linux.org Git - packages/gstreamer.git/commitdiff
- (googled) ppc fix (compilation without -mregnames)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Nov 2003 01:37:34 +0000 (01:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gstreamer-ppc.patch -> 1.1

gstreamer-ppc.patch [new file with mode: 0644]

diff --git a/gstreamer-ppc.patch b/gstreamer-ppc.patch
new file mode 100644 (file)
index 0000000..8bb4801
--- /dev/null
@@ -0,0 +1,17 @@
+--- gstreamer-0.6.4/gst/gstarch.h.orig 2003-09-23 00:12:34.000000000 +0000
++++ gstreamer-0.6.4/gst/gstarch.h      2003-11-10 01:31:50.000000000 +0000
+@@ -46,11 +46,11 @@
+ #elif defined (HAVE_CPU_PPC) && defined(__GNUC__)
+ #define GST_ARCH_SET_SP(stackpointer) \
+-    __asm__("lwz r1,%0" : : "m"(stackpointer) )
++    __asm__("lwz 1,%0" : : "m"(stackpointer) )
+   
+ #define GST_ARCH_CALL(target) \
+-    __asm__( "mr r0,%0\n\t" \
+-             "mtlr r0\n\t" \
++    __asm__( "mr 0,%0\n\t" \
++             "mtlr 0\n\t" \
+              "blrl" : : "r"(target) : "r0" );
+   
+ struct minimal_ppc_stackframe {
This page took 0.141335 seconds and 4 git commands to generate.