summaryrefslogtreecommitdiff
path: root/libavutil/aarch64
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-05-29 14:37:31 +0300
committerMartin Storsjö <martin@martin.st>2014-05-29 14:47:25 +0300
commit08cd92144e73195eecc28ed0348e66e255516b82 (patch)
treea251d8c773d3ea8f50f24c62b674e676648cae54 /libavutil/aarch64
parent962d63157322466a9a82f9f9d84c1b6f1b582f65 (diff)
aarch64: Use the correct syntax for relocations
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ö <martin@martin.st>
Diffstat (limited to 'libavutil/aarch64')
-rw-r--r--libavutil/aarch64/asm.S4
1 files changed, 2 insertions, 2 deletions
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