1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2017 Linaro, Ltd. <ard.biesheuvel@linaro.org>
6 #include <linux/linkage.h>
12 ENDPROC(absolute_data64)
14 ENTRY(absolute_data32)
18 ENDPROC(absolute_data32)
20 ENTRY(absolute_data16)
24 0: .short sym16_abs, 0
25 ENDPROC(absolute_data16)
28 movz x0, #:abs_g2_s:sym64_abs
29 movk x0, #:abs_g1_nc:sym64_abs
30 movk x0, #:abs_g0_nc:sym64_abs
35 movz x0, #:abs_g3:sym64_abs
36 movk x0, #:abs_g2_nc:sym64_abs
37 movk x0, #:abs_g1_nc:sym64_abs
38 movk x0, #:abs_g0_nc:sym64_abs
40 ENDPROC(unsigned_movw)
46 add x0, x0, #:lo12:sym64_rel
48 ENDPROC(relative_adrp)
52 ENTRY(relative_adrp_far)
53 adrp x0, memstart_addr
54 add x0, x0, #:lo12:memstart_addr
56 ENDPROC(relative_adrp_far)
63 ENTRY(relative_data64)
68 0: .quad sym64_rel - .
69 ENDPROC(relative_data64)
71 ENTRY(relative_data32)
76 0: .long sym64_rel - .
77 ENDPROC(relative_data32)
79 ENTRY(relative_data16)
84 0: .short sym64_rel - ., 0
85 ENDPROC(relative_data16)