blob: 57ad053edfa806162901daa3f8440fe296e382a7 [file] [log] [blame]
.text
# PIC function call
.L0:
leaq .L0(%rip), %rax
movabsq $_GLOBAL_OFFSET_TABLE_-.L0, %rcx
addq %rax, %rcx
movabsq $_Z1gv@GOTOFF, %rax
addq %rcx, %rax
jmpq *%rax
# PIC global variable load.
.L0$pb:
leaq .L0$pb(%rip), %rax
movabsq $_GLOBAL_OFFSET_TABLE_-.L0$pb, %rcx
addq %rax, %rcx
movabsq $h@GOT, %rax
movq (%rcx,%rax), %rax
movl (%rax), %eax
retq
# Non-PIC function call. Not yet handled. Doesn't appear to be used in
# configurations that we care about.
#
# movabsq $_Z1gv, %rax
# jmpq *%rax