On 2014-05-29 14:39:12 +0300, Martin Storsjö wrote: > This fixes building in PIC mode with gas. The examples in the gas > manual showed using a # here even though gas itself actually didn't > support that syntax (and the gas test suite only tests it without > the extra hash sign). > > CC: [email protected] > --- > libavutil/aarch64/asm.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S > index 6c93d11..8ac5c18 100644 > --- a/libavutil/aarch64/asm.S > +++ b/libavutil/aarch64/asm.S > @@ -58,8 +58,8 @@ ELF .size \name, . - \name > > .macro movrel rd, val > #if CONFIG_PIC > - adrp \rd, #:pg_hi21:\val > - add \rd, \rd, #:lo12:\val > + adrp \rd, :pg_hi21:\val > + add \rd, \rd, :lo12:\val > #else > ldr \rd, =\val > #endif
ok Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
