1	.syntax unified
2
3	.data
4	.protected	var
5	.global	var
6	.align	2
7	.type	var, %object
8	.size	var, 4
9var:
10	.word	1
11
12	.text
13	.align	2
14	.global	getaddr
15	.thumb
16	.thumb_func
17	.type	getaddr, %function
18getaddr:
19	ldr	r3, 2f
20	ldr	r2, 2f+4
211:
22	add	r3, pc
23	ldr	r0, [r3, r2]
24	bx	lr
25	.align	2
262:
27	.word	_GLOBAL_OFFSET_TABLE_-(1b+4)
28	.word	var(GOT)
29	.size	getaddr, .-getaddr
30