On Jul 12, 2016 05:14, "Ronald S. Bultje" <rsbul...@gmail.com> wrote: > > Hi, > > On Mon, Jul 11, 2016 at 9:56 PM, Jing Yu <jingyu-at-google....@ffmpeg.org> > wrote: > > > .macro movrel rd, sym, gp > > +#ifdef __APPLE__ > > + ld \rd, \sym@got(r2) > > +#else > > ld \rd, \sym@got(2) > > +#endif > > .endm > > > Does something like this work? (Looks a little more readable) > > #ifdef __APPLE__ > #define ARG_2 r2 > #else > #define ARG_2 2 > #endif > > and then use ARG_2 instead of 2/r2.
It's not just r2, there is also r1, r12, etc... I've used R(n) macro instead Pavel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel