how to prevent gcc from generating GOT references
Alexander Monakov
amonakov@ispras.ru
Tue Jan 22 15:51:00 GMT 2019
On Tue, 22 Jan 2019, David Livshin wrote:
> Doesn't seems to solve the problem - while compiling with '-no-pie' or
> '-fno-pie', gcc still generating @GOT* ( and @PLT ) references ( on Ubuntu ).
Hm, I don't have an easy access to new Ubuntu systems, and indeed it seems
-no-pie might not work; but -fno-pie should work nevertheless.
It would help if you'd show output of 'gcc -v' and a short self-contained
testcase exhibiting the problem.
Alexander
More information about the Gcc-help
mailing list