On Fri, 29 Jun 2012, Mans Rullgard wrote:

This creates proper position independent code when accessing
data symbols if CONFIG_PIC is set.

References to external symbols should now use the movrelx macro.
Some additional code changes are required since this macro may
need a register to hold the GOT pointer.

Signed-off-by: Mans Rullgard <[email protected]>
---
This requires an updated gas-preprocessor for Apple builds.
Get it from https://github.com/mansr/gas-preprocessor
---
libavcodec/arm/ac3dsp_armv6.S   |    4 +--
libavcodec/arm/fft_fixed_neon.S |    2 +-
libavcodec/arm/fft_neon.S       |    4 +--
libavcodec/arm/sbrdsp_neon.S    |    4 +--
libavcodec/arm/vp3dsp_neon.S    |    3 +-
libavcodec/arm/vp8_armv6.S      |    4 +--
libavutil/arm/asm.S             |   73 ++++++++++++++++++++++++++++++++++++++-
7 files changed, 82 insertions(+), 12 deletions(-)

Can't give much comments about the actual code, but I tested this on an ARMv6 iOS device, where it seemed to work.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to