mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
aarch64: add darwin style PAGE/PAGEOFF relocations
This commit is contained in:
parent
880e2aa236
commit
fd2981ea92
@ -57,7 +57,10 @@ ELF .size \name, . - \name
|
||||
.endm
|
||||
|
||||
.macro movrel rd, val
|
||||
#if CONFIG_PIC
|
||||
#if CONFIG_PIC && defined(__APPLE__)
|
||||
adrp \rd, \val@PAGE
|
||||
add \rd, \rd, \val@PAGEOFF
|
||||
#elif CONFIG_PIC
|
||||
adrp \rd, :pg_hi21:\val
|
||||
add \rd, \rd, :lo12:\val
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user