diff options
author | Mans Rullgard <mans@mansr.com> | 2011-09-25 12:53:44 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-09-25 17:27:48 +0100 |
commit | 6e4a35ced96cdf31a9d3bd82fd147554750af839 (patch) | |
tree | 6c6c4ca05858757f2f5e1047f91e76a2bf45d591 /libavcodec/rv30data.h | |
parent | 4568c2bf975e51d843bf1ff6ac06060a8a6291b3 (diff) | |
download | ffmpeg-6e4a35ced96cdf31a9d3bd82fd147554750af839.tar.gz |
ppc: fix 32-bit PIC build
On 32-bit ppc, the GOT pointer must be loaded manually.
This adds a "get_got" assembler macro to compute the
GOT address. The "movrel" macro is updated to take an
additional parameter containing the GOT address since
no register is reserved for this purpose on ppc32.
These changes have no effect on ppc64 builds.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/rv30data.h')
0 files changed, 0 insertions, 0 deletions