Delivered-To: phcoder@gmail.com
Received: by 10.86.76.11 with SMTP id y11cs26669fga;
        Fri, 13 Mar 2009 13:53:29 -0700 (PDT)
Received: by 10.115.59.4 with SMTP id m4mr1125041wak.37.1236977608372;
        Fri, 13 Mar 2009 13:53:28 -0700 (PDT)
Return-Path: <davem@davemloft.net>
Received: from sunset.davemloft.net ([74.93.104.97])
        by mx.google.com with ESMTP id m29si807404poh.20.2009.03.13.13.53.27;
        Fri, 13 Mar 2009 13:53:28 -0700 (PDT)
Received-SPF: neutral (google.com: 74.93.104.97 is neither permitted nor denied by best guess record for domain of davem@davemloft.net) client-ip=74.93.104.97;
Authentication-Results: mx.google.com; spf=neutral (google.com: 74.93.104.97 is neither permitted nor denied by best guess record for domain of davem@davemloft.net) smtp.mail=davem@davemloft.net
Received: from localhost (localhost [127.0.0.1])
	by sunset.davemloft.net (Postfix) with ESMTP id 9F4D6C8D979
	for <phcoder@gmail.com>; Fri, 13 Mar 2009 13:53:14 -0700 (PDT)
Date: Fri, 13 Mar 2009 13:53:14 -0700 (PDT)
Message-Id: <20090313.135314.142627200.davem@davemloft.net>
To: phcoder@gmail.com
Subject: Re: ELF bugfixes
From: David Miller <davem@davemloft.net>
In-Reply-To: <49BAC6E3.70502@gmail.com>
References: <49BAC506.2030006@gmail.com>
	<20090313.134505.185970759.davem@davemloft.net>
	<49BAC6E3.70502@gmail.com>
X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

From: phcoder <phcoder@gmail.com>
Date: Fri, 13 Mar 2009 21:49:39 +0100

> David Miller wrote:
> > From: phcoder <phcoder@gmail.com>
> > Date: Fri, 13 Mar 2009 21:41:42 +0100
> > 
> >> Actually our segment table is also our table for transforming
> >> between virtual and physical address. I don't see why entry point
> >> would be defined against virtual address of lowest physical segement
> > I would suggest simply looping over the phdrs and remembering
> > which one the e_entry falls into.
> > Won't that make things work in the case you're describing?
> > 
> I thought I have attached new patch. Sorry forgot to do so

This patch looks good to me, FWIW.
