1 .file "nopic-weak-global.c"
4 .file 1 "nopic-weak-global.c"
18 .cfi_def_cfa_offset 16
26 pcalau12i $
r12,%got_pc_hi20
(g_nopic
)
27 ld.d $
r12,$
r12,%got_pc_lo12
(g_nopic
)
31 lu12i.w $
r12,305418240>>12 # 0x12345000
35 pcalau12i $
r12,%got_pc_hi20
(g_nopic
)
36 ld.d $
r12,$
r12,%got_pc_lo12
(g_nopic
)
39 pcalau12i $
r12,%pc_hi20
(.LC0)
40 addi.d $
r4,$
r12,%pc_lo12
(.LC0)
56 .cfi_def_cfa_register 3
63 .file 2 "/usr/include/stdlib.h"
64 .file 3 "/usr/include/stdio.h"
65 .section .debug_info,"",@progbits
71 .4byte
.Ldebug_abbrev0
78 .8byte
.Letext0-.Ltext0
162 .section .debug_abbrev,"",@progbits
322 .section .debug_aranges,"",@progbits
331 .8byte
.Letext0-.Ltext0
334 .section .debug_line,"",@progbits
336 .section .debug_str,"MS",@progbits,1
338 .ascii "long long int\000"
340 .ascii "unsigned int\000"
344 .ascii "long unsigned int\000"
346 .ascii "long long unsigned int\000"
348 .ascii "GNU C17 13.0.0 20220512 (experimental) -mabi=lp64d -marc"
349 .ascii "h=loongarch64 -mfpu=64 -mcmodel=normal -mtune=la464 -g -"
352 .ascii "unsigned char\000"
354 .ascii "/home/liuzhensong/test/ld/nopic/test/global_var\000"
358 .ascii "long int\000"
362 .ascii "short unsigned int\000"
368 .ascii "short int\000"
370 .ascii "nopic-weak-global.c\000"
372 .ascii "signed char\000"
373 .ident "GCC: (GNU) 13.0.0 20220512 (experimental)"
374 .section .note.GNU-stack,"",@progbits