mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
Merge commit 'fd2981ea92'
* commit 'fd2981ea92':
aarch64: add darwin style PAGE/PAGEOFF relocations
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ab9afcdf04
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue