From: Josef Weidendorfer Date: Thu, 29 Jun 2006 09:58:26 GMT Subject: Re: [PATCH] Makefile: set USE_PIC on Linux x86_64 for linking with Git.pm Message-ID: <200606291158.27172.Josef.Weidendorfer@gmx.de> In-Reply-To: <20060629130400.c280de67.vsu@altlinux.ru> On Thursday 29 June 2006 11:04, Sergey Vlasov wrote: > And the effect of -fPIC on x86_64 is smaller than on i386, because > x86_64 has 2x more registers than i386, therefore loss of one register > is less noticeable. According to the x86_64 ABI, x86_64 has no explicit GOT pointer. Meaning: no additional register needed at all, as x86_64 has IP-relative addressing. Thus, compiling with -fPIC on x86_64 probably has no negative implications at all (?). Josef