From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21051 invoked by alias); 24 Mar 2004 07:12:19 -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 21043 invoked from network); 24 Mar 2004 07:12:18 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 24 Mar 2004 07:12:18 -0000 Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1B62Xn-0005VO-38; Wed, 24 Mar 2004 02:11:19 -0500 Date: Wed, 24 Mar 2004 11:48:00 -0000 Message-Id: From: Eli Zaretskii To: Elena Zannoni CC: shebs@apple.com, gdb@sources.redhat.com In-reply-to: <16480.47916.994031.761792@localhost.redhat.com> (message from Elena Zannoni on Tue, 23 Mar 2004 17:33:16 -0500) Subject: Re: pie stuff Reply-to: Eli Zaretskii References: <16480.36578.880196.780660@localhost.redhat.com> <4060B81A.1020209@apple.com> <16480.47916.994031.761792@localhost.redhat.com> X-SW-Source: 2004-03/txt/msg00225.txt.bz2 > From: Elena Zannoni > Date: Tue, 23 Mar 2004 17:33:16 -0500 > > 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 Whoever came up with that monstrous idea, I wonder... ;-)