Hi, How to prevent gcc from generating @GOT* references, e.g. instead of movq exit@GOTPCREL(%rip), %rax to generate movq exit(%rip), %rax or, perhaps, something more complicated for 64-bit symbols.It definitely can be done; I am using gcc on Fedora and never saw @GOT* ( and @PLT ) generated. However on Ubinty, gcc often generates these symbols.
Thank you, David