From 08cd92144e73195eecc28ed0348e66e255516b82 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 29 May 2014 14:37:31 +0300 Subject: aarch64: Use the correct syntax for relocations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: libav-stable@libav.org Signed-off-by: Martin Storsjö --- libavutil/aarch64/asm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/aarch64') diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S index 6c93d11920..8ac5c180b5 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 -- cgit v1.2.3