[MPlayer-cvslog] r29834 - trunk/configure

attila subversion at mplayerhq.hu
Fri Nov 6 15:06:59 CET 2009


Author: attila
Date: Fri Nov  6 15:06:58 2009
New Revision: 29834

Log:
PPC: make inline asm xform address test work with Apple tools
original from mru, ffmpeg commit r20466
adapted to mplayer by Emanuele Giaquinta (exg)

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Nov  6 13:30:56 2009	(r29833)
+++ trunk/configure	Fri Nov  6 15:06:58 2009	(r29834)
@@ -2681,7 +2681,7 @@ def_xform_asm='#define HAVE_XFORM_ASM 0'
 xform_asm=no
 echocheck "XFORM ASM support"
   cat > $TMPC << EOF
-int main(void) { __asm__ volatile ("lwzx 0, %y0" :: "Z"(*(int*)0)); return 0; }
+int main(void) { __asm__ volatile ("lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)); return 0; }
 EOF
 cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1'
 echores "$xform_asm"


More information about the MPlayer-cvslog mailing list