diff options
author | Martin Storsjö <martin@martin.st> | 2014-05-29 14:37:31 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-05-29 14:48:13 +0300 |
commit | 34fb994d9340313b0d247899a4a7a97cc010df92 (patch) | |
tree | 83ad97485be7911aafdca38a3575f52efba1af95 | |
parent | e780c3daafe0588e035e752c771ebfcd2201746a (diff) | |
download | ffmpeg-34fb994d9340313b0d247899a4a7a97cc010df92.tar.gz |
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>
(cherry picked from commit 08cd92144e73195eecc28ed0348e66e255516b82)
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavutil/aarch64/asm.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S index 94e5a84583..66084726a6 100644 --- a/libavutil/aarch64/asm.S +++ b/libavutil/aarch64/asm.S @@ -55,8 +55,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 |