2 * Copyright (C) 2017 Linaro, Ltd. <ard.biesheuvel@linaro.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 #include <linux/linkage.h>
12 ENTRY(absolute_data64)
16 ENDPROC(absolute_data64)
18 ENTRY(absolute_data32)
22 ENDPROC(absolute_data32)
24 ENTRY(absolute_data16)
28 0: .short sym16_abs, 0
29 ENDPROC(absolute_data16)
32 movz x0, #:abs_g2_s:sym64_abs
33 movk x0, #:abs_g1_nc:sym64_abs
34 movk x0, #:abs_g0_nc:sym64_abs
39 movz x0, #:abs_g3:sym64_abs
40 movk x0, #:abs_g2_nc:sym64_abs
41 movk x0, #:abs_g1_nc:sym64_abs
42 movk x0, #:abs_g0_nc:sym64_abs
44 ENDPROC(unsigned_movw)
50 add x0, x0, #:lo12:sym64_rel
52 ENDPROC(relative_adrp)
56 ENTRY(relative_adrp_far)
57 adrp x0, memstart_addr
58 add x0, x0, #:lo12:memstart_addr
60 ENDPROC(relative_adrp_far)
67 ENTRY(relative_data64)
72 0: .quad sym64_rel - .
73 ENDPROC(relative_data64)
75 ENTRY(relative_data32)
80 0: .long sym64_rel - .
81 ENDPROC(relative_data32)
83 ENTRY(relative_data16)
88 0: .short sym64_rel - ., 0
89 ENDPROC(relative_data16)