1 .cpu generic 2 .global ff 3 .section .tdata,"awT",%progbits 4 .align 2 5 .type ff, %object 6 # Maximum 12bit - 16byte TCB header is the upper limit 7 # for tprel_add_lo12 8 .size ff, 4096 - 16 9ff: 10 .zero 4096 - 16 11 .global i 12 .type i, %object 13 .size i, 4 14i: 15 .zero 4 16 .text 17 .align 2 18 .global main 19 .type main, %function 20main: 21 add x0, x0, #:tprel_lo12:i 22 ret 23 .size main, .-main 24