This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 1/21/19 10:26 AM, Alexander Monakov wrote:
On Mon, 21 Jan 2019, David Livshin wrote: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.On Ubuntu GCC is configured to emit PIE code by default (via --enable-default-pie gcc configure option). You can override it with -no-pie command line flag. Alexander
Doesn't seems to solve the problem - while compiling with '-no-pie' or '-fno-pie', gcc still generating @GOT* ( and @PLT ) references ( on Ubuntu ).
David
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |