From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19095 invoked by alias); 24 Mar 2004 14:44:38 -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 19086 invoked from network); 24 Mar 2004 14:44:36 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 24 Mar 2004 14:44:36 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1ECAA2B92; Wed, 24 Mar 2004 09:44:36 -0500 (EST) Message-ID: <40619ED3.2090201@gnu.org> Date: Wed, 24 Mar 2004 15:07:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Eli Zaretskii Cc: Elena Zannoni , shebs@apple.com, gdb@sources.redhat.com Subject: Re: pie stuff References: <16480.36578.880196.780660@localhost.redhat.com> <4060B81A.1020209@apple.com> <16480.47916.994031.761792@localhost.redhat.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00232.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... ;-) (I'm not going there) Anyway, I think this is something for PROBLEMS - broken in 6.1, fixes available for mainline. Andrew