1 .section .text 2 .globl _text_pointer 3 .section .data.rel 4 .type _text_pointer, @object 5_text_pointer: 6 .long _text_address@c 7 .section .text 8 .globl _main 9 .type _main, @function 10_main: 11 ###################### 12 # Data symbol with GOT 13 ###################### 14 loadd _text_pointer@GOT(r12), (r1,r0) 15 ###################### 16 # Code symbol with cGOT 17 ###################### 18 loadd _text_address_1@cGOT(r12), (r1,r0) 19 20 .globl _text_address_1 21 .type _text_address_1, @function 22_text_address_1: 23 jump (ra) 24