From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26891 invoked by alias); 4 Feb 2002 22:33:45 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 26828 invoked from network); 4 Feb 2002 22:33:43 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 4 Feb 2002 22:33:43 -0000 Received: from redhat.com (IDENT:root@tooth.toronto.redhat.com [172.16.14.29]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g14MXdI24675; Mon, 4 Feb 2002 17:33:40 -0500 Message-ID: <3C5F0C59.ED518142@redhat.com> Date: Mon, 04 Feb 2002 14:33:00 -0000 From: Dave Brolley X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: sid@sources.redhat.com Subject: Re: SID ELF loader using wrong load address? References: <3C5EEF5F.77116D06@redhat.com> <20020204154227.J10856@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00024.txt.bz2 "Frank Ch. Eigler" wrote: > Hi - > > brolley wrote: > > [...] > > This is a section of code which should be loaded at the end of the .text > > section and is intended to be copied (by the application itself) to > > address 0x1000 before being executed. However, the SID ELF loader > > currently loads this section at address 0x1000 (the VMA) instead of at > > the given LMA. [...] > > Good catch, thanks! Looking at include/elf/external.h, I guess we want > Elf32_External_Phdr.p_paddr instead of p_vaddr. Yes -- that makes sense. Can I consider this approval to commit? Dave