diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-22 18:22:53 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-22 18:22:53 +0000 |
commit | b0901909361c24b35bad1611d9308b9f65a9d305 (patch) | |
tree | 97ed694cf05b7a301dc7d5e3addaeda5528fcb0c | |
parent | cf09f76844693a1c6940806eda40559a0bf20723 (diff) | |
download | mpv-b0901909361c24b35bad1611d9308b9f65a9d305.tar.bz2 mpv-b0901909361c24b35bad1611d9308b9f65a9d305.tar.xz |
Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
patch by Alexander Strange, astrange ithinksw com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26270 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libswscale/swscale.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 82533b494e..a74963f32c 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1399,14 +1399,14 @@ static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *fil // End "9: \n\t" // "int $3 \n\t" - "lea 0b, %0 \n\t" - "lea 1b, %1 \n\t" - "lea 2b, %2 \n\t" + "lea " LOCAL_MANGLE(0b) ", %0 \n\t" + "lea " LOCAL_MANGLE(1b) ", %1 \n\t" + "lea " LOCAL_MANGLE(2b) ", %2 \n\t" "dec %1 \n\t" "dec %2 \n\t" "sub %0, %1 \n\t" "sub %0, %2 \n\t" - "lea 9b, %3 \n\t" + "lea " LOCAL_MANGLE(9b) ", %3 \n\t" "sub %0, %3 \n\t" @@ -1437,14 +1437,14 @@ static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *fil // End "9: \n\t" // "int $3 \n\t" - "lea 0b, %0 \n\t" - "lea 1b, %1 \n\t" - "lea 2b, %2 \n\t" + "lea " LOCAL_MANGLE(0b) ", %0 \n\t" + "lea " LOCAL_MANGLE(1b) ", %1 \n\t" + "lea " LOCAL_MANGLE(2b) ", %2 \n\t" "dec %1 \n\t" "dec %2 \n\t" "sub %0, %1 \n\t" "sub %0, %2 \n\t" - "lea 9b, %3 \n\t" + "lea " LOCAL_MANGLE(9b) ", %3 \n\t" "sub %0, %3 \n\t" |