From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 22 16:12:54 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A38D16A4CE for ; Sun, 22 Feb 2004 16:12:54 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0894243D1D for ; Sun, 22 Feb 2004 16:12:54 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.10/8.12.10) with ESMTP id i1N0CqOE041929; Sun, 22 Feb 2004 16:12:52 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) i1N0CqR6079859; Sun, 22 Feb 2004 16:12:52 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i1N0CqKM079858; Sun, 22 Feb 2004 16:12:52 -0800 (PST) (envelope-from marcel) Date: Sun, 22 Feb 2004 16:12:52 -0800 From: Marcel Moolenaar To: Joseph Fenton Message-ID: <20040223001252.GA79774@dhcp01.pn.xcllnt.net> References: <20040222185212.EB6BE16A4D1@hub.freebsd.org> <40391EC6.7010808@citlink.net> <20040222220210.GA54064@dhcp01.pn.xcllnt.net> <40393010.4090402@citlink.net> <20040222231735.GA79618@dhcp01.pn.xcllnt.net> <40393E7C.2000300@citlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40393E7C.2000300@citlink.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-amd64@freebsd.org Subject: Re: CFLAGS+= -fPIC per default? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 00:12:54 -0000 On Sun, Feb 22, 2004 at 04:42:52PM -0700, Joseph Fenton wrote: > > > >You fail to see the point. PC relative relocations are not > >guaranteed to be without relocation and hence are not by > >definition PIC. > > > That makes no sense. Just not to you. You even use this in your argument by differentiating between intra- and inter-section addressing. The reason my words do not make sense to you is that you map it onto your own point of view as if we're approaching this from the same angle, but all you're seeing is the mismatch between my words and your PoV. I suggest you step away from depicting the final code when you implicitly do away with all the uncertainties that a compiler needs to work with, to which the -fPIC applies anyway and how it affects the behaviour of the compiler. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net