3 .globl protected_func_1b
4 .type protected_func_1b, @function
12 .size protected_func_1b, .-protected_func_1b
13 .section .rodata.str1.8,"aMS",@progbits,1
16 .string "'protected_func_1a' in main and shared library doesn't have same address"
19 .string "'protected_func_1a' doesn't return the correct value"
22 .string "'protected_func_1b' in main and shared library has same address"
23 .section .rodata.str1.1,"aMS",@progbits,1
26 .section .text.startup,"ax",@progbits
34 .cfi_def_cfa_offset 16
37 call protected_func_1a_p
38 cmpq protected_func_1a@GOTPCREL(%rip), %rax
44 call protected_func_1a
47 call protected_func_1b_p
48 leaq protected_func_1b(%rip), %rdx
64 call protected_func_1b_p
65 leaq protected_func_1b(%rip), %rdx
83 .section .note.GNU-stack,"",@progbits