From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18143 invoked by alias); 23 Mar 2004 22:40:06 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18132 invoked from network); 23 Mar 2004 22:40:04 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 23 Mar 2004 22:40:04 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 15DD11A448A; Tue, 23 Mar 2004 17:33:17 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16480.47916.994031.761792@localhost.redhat.com> Date: Tue, 23 Mar 2004 23:25:00 -0000 To: Stan Shebs Cc: Elena Zannoni , gdb@sources.redhat.com Subject: Re: pie stuff In-Reply-To: <4060B81A.1020209@apple.com> References: <16480.36578.880196.780660@localhost.redhat.com> <4060B81A.1020209@apple.com> X-SW-Source: 2004-03/txt/msg00218.txt.bz2 Stan Shebs writes: > Elena Zannoni wrote: > > >A heads up, I am going to start committing pie support to my old > >branch (which I am bringing up to date) in a few hours. I will then > >merge it piecemeal to mainline. It's not that much code. More details > >later. > > > I must not have gotten the memo - what's pie? (yeah, yeah, filled pastry > that one eats :-) ) > > Stan exactly, next will be gdb brewing your own tea. Tea, earl grey, hot. An appetizing combinations. And who says we never think about the comfort of the poor users? It's position independent executables. Your main exec is just like a shared library. Every time you run it you get a different start address. Not fun, I can tell you. gcc -fpie -pie -g -o blah blah.c elena