Commit 6a0fa4d8 authored by Janne Grunau's avatar Janne Grunau

aarch64: remove optional :pg_hi21: for adrp instruction

Clang's integrated assembler does not support it.
parent fd2981ea
......@@ -61,7 +61,7 @@ ELF .size \name, . - \name
adrp \rd, \val@PAGE
add \rd, \rd, \val@PAGEOFF
#elif CONFIG_PIC
adrp \rd, :pg_hi21:\val
adrp \rd, \val
add \rd, \rd, :lo12:\val
#else
ldr \rd, =\val
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment