aarch64: remove optional :pg_hi21: for adrp instruction

Clang's integrated assembler does not support it.
This commit is contained in:
Janne Grunau 2014-06-03 11:24:15 +02:00
parent fd2981ea92
commit 6a0fa4d86f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ ELF .size \name, . - \name
adrp \rd, \val@PAGE adrp \rd, \val@PAGE
add \rd, \rd, \val@PAGEOFF add \rd, \rd, \val@PAGEOFF
#elif CONFIG_PIC #elif CONFIG_PIC
adrp \rd, :pg_hi21:\val adrp \rd, \val
add \rd, \rd, :lo12:\val add \rd, \rd, :lo12:\val
#else #else
ldr \rd, =\val ldr \rd, =\val