[FFmpeg-devel] Patch for Mac OS X assembly-language support in trunk/libavcodec/fft_altivec_s.S
Måns Rullgård
mans
Mon Jul 19 01:52:53 CEST 2010
Don't top-post.
Paul Sterne <make4ppc at gmail.com> writes:
> The following features of the current fft_altivec_s.S code are incompatible
> with Mac OS X:
>
> -- attempt to reference external symbol ff_cos_tab without a leading
> underscore.
It does not.
> -- attempt to load r6 with address of locally defined symbol fft_data
> through the global offset table.
> -- attempt to load r12 with address of externally defined symbol ff_cos_tabs
> through the global offset table.
Are you forcing PIC or using ppc64? I couldn't find a ppc64 osx
machine to test on, and 32-bit doesn't use PIC (and hence not the GOT)
by default.
> gas-preprocessor.pl doesn't address these issues, and they can't easily be
> addressed by gas-preprocessor.pl because the mach-o binary format requires
> section-difference calculations instead of using the global offset table.
Can you point me at some documentation for how this should be done?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list