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.

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to