projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
880e2aa
)
aarch64: add darwin style PAGE/PAGEOFF relocations
author
Janne Grunau
<janne-libav@jannau.net>
Sun, 1 Jun 2014 13:50:42 +0000
(15:50 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Tue, 3 Jun 2014 12:23:01 +0000
(14:23 +0200)
libavutil/aarch64/asm.S
patch
|
blob
|
history
diff --git
a/libavutil/aarch64/asm.S
b/libavutil/aarch64/asm.S
index
8ac5c18
..
fb635d0
100644
(file)
--- a/
libavutil/aarch64/asm.S
+++ b/
libavutil/aarch64/asm.S
@@
-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