From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31727 invoked by alias); 4 Feb 2002 20:42:33 -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 31624 invoked from network); 4 Feb 2002 20:42:29 -0000 Received: from unknown (HELO toenail.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 4 Feb 2002 20:42:29 -0000 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.11.6/8.11.6) id g14KgR623014; Mon, 4 Feb 2002 15:42:27 -0500 Date: Mon, 04 Feb 2002 12:42:00 -0000 From: "Frank Ch. Eigler" To: Dave Brolley Cc: sid@sources.redhat.com Subject: Re: SID ELF loader using wrong load address? Message-ID: <20020204154227.J10856@redhat.com> References: <3C5EEF5F.77116D06@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LiQwW4YX+w4axhAx" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C5EEF5F.77116D06@redhat.com>; from brolley@redhat.com on Mon, Feb 04, 2002 at 03:30:23PM -0500 X-SW-Source: 2002-q1/txt/msg00023.txt.bz2 --LiQwW4YX+w4axhAx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 468 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. - FChE --LiQwW4YX+w4axhAx Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8XvIzVZbdDOm/ZT0RArhLAJ4veqjtEIDcTkZboVBQI/HbPK5bGwCfeK+P xNYBdVvYr38+Hq9DKdlqCx0= =S2IM -----END PGP SIGNATURE----- --LiQwW4YX+w4axhAx--