mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
aarch64: Add parentheses around the offset parameter in movrel
This fixes building with clang for linux with PIC enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
82989bd98c
commit
8847eeaa14
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ ELF .size \name, . - \name
|
|||
add \rd, \rd, \val+(\offset)@PAGEOFF
|
||||
.endif
|
||||
#elif CONFIG_PIC
|
||||
adrp \rd, \val+\offset
|
||||
add \rd, \rd, :lo12:\val+\offset
|
||||
adrp \rd, \val+(\offset)
|
||||
add \rd, \rd, :lo12:\val+(\offset)
|
||||
#else
|
||||
ldr \rd, =\val+\offset
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue