On 2014-07-16 19:33:59 +0300, Martin Storsjö wrote: > Hi Ben, > > On Wed, 16 Jul 2014, Ben Avison wrote: > > >>>+ ldr v5, =\costable > >> > >>Should this perhaps use the movrelx macro? > > > >Um, maybe. I must admit to not really understanding what the movrel and > >movrelx macros are for and when to use which. Could I respectfully ask > >for some comments in asm.S to explain this to those of us who aren't > >familiar with the full range of supported ABIs? > > Sure. I'm actually not all that familiar with it myself, hopefully > Janne can fill in the details. > > I noticed this since gas-preprocessor for MS armasm didn't handle > ldr with imported symbols yet - because all the similar cases had > been wrapped in the movrel/movrelx macros, that end up as movw/movt > in the armasm case.
movrel and movrelx are needed for position independent or PC relative loads. External symbols need to be handled differently so there is movrelx for loading X(symbol). Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
