You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
aarch64: Add parentheses around the offset parameter in movrel
This fixes building with clang for linux with PIC enabled.
This is cherrypicked from libav commit
8847eeaa14
.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -83,8 +83,8 @@ ELF .size \name, . - \name
|
|||||||
add \rd, \rd, \val+(\offset)@PAGEOFF
|
add \rd, \rd, \val+(\offset)@PAGEOFF
|
||||||
.endif
|
.endif
|
||||||
#elif CONFIG_PIC
|
#elif CONFIG_PIC
|
||||||
adrp \rd, \val+\offset
|
adrp \rd, \val+(\offset)
|
||||||
add \rd, \rd, :lo12:\val+\offset
|
add \rd, \rd, :lo12:\val+(\offset)
|
||||||
#else
|
#else
|
||||||
ldr \rd, =\val+\offset
|
ldr \rd, =\val+\offset
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user