You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ppc32: Fix movrel
Fixes ticket272
This commit is contained in:
committed by
Michael Niedermayer
parent
093768c9a4
commit
2d16394f97
@@ -67,7 +67,11 @@ X(\name):
|
|||||||
|
|
||||||
.macro movrel rd, sym
|
.macro movrel rd, sym
|
||||||
#if CONFIG_PIC
|
#if CONFIG_PIC
|
||||||
lwz \rd, \sym@got(r2)
|
bcl 20, 31, lab_pic_\@
|
||||||
|
lab_pic_\@:
|
||||||
|
mflr \rd
|
||||||
|
addis \rd, \rd, (\sym - lab_pic_\@)@ha
|
||||||
|
addi \rd, \rd, (\sym - lab_pic_\@)@l
|
||||||
#else
|
#else
|
||||||
lis \rd, \sym@ha
|
lis \rd, \sym@ha
|
||||||
la \rd, \sym@l(\rd)
|
la \rd, \sym@l(\rd)
|
||||||
|
Reference in New Issue
Block a user