From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27519 invoked by alias); 12 Sep 2003 18:52:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27486 invoked from network); 12 Sep 2003 18:52:41 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 12 Sep 2003 18:52:41 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 5251B2B89; Fri, 12 Sep 2003 14:52:39 -0400 (EDT) Message-ID: <3F6215F7.7060108@redhat.com> Date: Fri, 12 Sep 2003 18:52:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc;rfa:symtab] Deprecate inside_entry_file References: <3F5E5FDC.5020504@redhat.com> <3F5F65CB.4070605@redhat.com> <16225.2845.592851.597277@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00267.txt.bz2 > In particular note that the function: > symfile.c:init_entry_point_info() which sets up all the > objfile->ei.deprecated_entry_file* is seriously screwed up for PIE > files anyway. > > In such a case we need to figure out where the program got loaded, > just like a shlib, the main executable is not marked as EXEC in the > elf header anymore, and lots of other fun stuff. Anyway, the way the > entry file/entry point stuff is handled now won't work for PIE. Hmm, yes. Since this one is deprecated, you can at least cross it off your list of PIE problems :-) > I am currently working on PIE support, BTW. I'll post something as > soon as I have some coherent story. ok, committed, thanks, Andrew