.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "foo: %p bar: %p\n"
.text
.globl main
.type main, @function
main:
.LFB0:
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
movq %fs:0, %rsi
leaq bar@TPOFF(%rsi), %rdx
addq $foo@TPOFF, %rsi
movl $.LC0, %edi
movl $0, %eax
call printf
movl $0, %eax
call func
movl $0, %eax
leave
ret
.LFE0:
.size main, .-main
.globl foo
.section .rodata.str1.1
.LC1:
.string "foo"
.section .tdata,"awT",@progbits
.align 8
.type foo, @object
.size foo, 8
foo:
.quad .LC1
.globl bar
.section .rodata.str1.1
.LC2:
.string "bar"
.section .tdata
.align 8
.type bar, @object
.size bar, 8
bar:
.quad .LC2