Sean McGovern <[email protected]> writes: > On Sat, Sep 24, 2011 at 9:09 AM, Mans Rullgard <[email protected]> wrote: >> 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 registers is reserved for this purpose on ppc32. >> These changes have no effect on ppc64 builds. >> >> Signed-off-by: Mans Rullgard <[email protected]> >> --- >> libavcodec/ppc/asm.S | 17 ++++++++++++++--- >> libavcodec/ppc/fft_altivec_s.S | 7 ++++--- >> 2 files changed, 18 insertions(+), 6 deletions(-) > > Cool. This seems to jive with what I was reading last night. I thought > r2 was supposed to be already set up as the GOT pointer though? This > code appears to suggest otherwise.
Only on ppc64, as evidenced by the crashing. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
