1 .text 2 .p2align 4,,15 3 .globl get_protected 4 .type get_protected, @function 5get_protected: 6 call __x86.get_pc_thunk.ax 7 addl $_GLOBAL_OFFSET_TABLE_, %eax 8 movl protected@GOTOFF(%eax), %eax 9 ret 10 .size get_protected, .-get_protected 11 .p2align 4,,15 12 .globl get_protected_p 13 .type get_protected_p, @function 14get_protected_p: 15 call __x86.get_pc_thunk.ax 16 addl $_GLOBAL_OFFSET_TABLE_, %eax 17 leal protected@GOTOFF(%eax), %eax 18 ret 19 .size get_protected_p, .-get_protected_p 20 .protected protected 21 .globl protected 22 .data 23 .align 4 24 .type protected, @object 25 .size protected, 4 26protected: 27 .long 1 28 .section .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat 29 .globl __x86.get_pc_thunk.ax 30 .hidden __x86.get_pc_thunk.ax 31 .type __x86.get_pc_thunk.ax, @function 32__x86.get_pc_thunk.ax: 33 movl (%esp), %eax 34 ret 35 .section .note.GNU-stack,"",@progbits 36