Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Francis Litterio <franl@world.std.com>
Subject: Re: What is rebase and why did I need to run it on a fresh re-install?
Date: Thu, 13 Jan 2005 14:43:22 -0500
Lines: 24
Message-ID: <u6521yutx.fsf@world.std.com>
References: <41E5EB15.5090203@sneakemail.com> <20050113130558.GA1960@tishler.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: brick.estc.com
X-Draft-From: ("nntp+news.gmane.org:gmane.os.cygwin" 59140)
Gcc: nnfolder:sent-usenet
X-Random-Quote: It is impossible to enjoy idling thoroughly unless one has plenty of work to do. -- Jerome K. Jerome
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)
X-IsSubscribed: yes

Jason Tishler wrote:

> Peter,
>
> On Thu, Jan 13, 2005 at 04:29:25AM +0100, Peter Valdemar M?rch wrote:
>> * What does rebase do?
>
> As its name implies, rebase rebases (i.e., changes) the base address of
> DLLs.  See the following for more details:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/rebase.asp

Why on Earth are virtual addresses hardcoded into DLLs?  Do UNIX systems
do this for shared libraries?  I've never heard of such a thing under
UNIX.

Shouldn't the NT kernel's page tables allow DLL text and data sections
to be loaded at any virtual address without requiring a copy of the DLL
to be made (i.e., rebasing)?

Just curious.
--
Francis Litterio
franl <at> world . std . com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

