I think the below instruction is used for position independent code. Could anyone please help me understand how it works?
call 135b<__x86.get_pc_thunk.ax>
What are the use of the below instructions after it returns?
add eax,0x2d77
mov edx,DWORD PTR [eax-0xc]
mov edx,DWORD PTR [edx]
Is it possible to remove call 135b<__x86.get_pc_thunk.ax> from the assembly when compiling the code using GCC?
Thank you.