[Top] [All Lists]

Re: backwards compatible patch

To: Ryan Murray <>
Subject: Re: backwards compatible patch
From: Ralf Baechle <>
Date: Mon, 14 May 2001 17:36:55 -0300
In-reply-to: <>; from on Sun, May 13, 2001 at 11:54:31AM -0700
References: <>
User-agent: Mutt/1.2.5i
On Sun, May 13, 2001 at 11:54:31AM -0700, Ryan Murray wrote:

> Attached is a patch that changes the MAP_BASE_ADDR macro to one that Dan
> mentioned in his question about a backwards-compatible change to
> that allows both new and old shlibs to run.
> This seems to work -- I've run perl (with an old-binutils, with
> a new-binutils built and, and it works fine.  The comment above
> the change should probably be updated to indicate the new state of things,
> as well...
> Comments?

Wrong.  You're replacing a hack with something even more evil.

Right thing would be to make sure that the dynamic table is loaded before
MAP_BASE_ADDR gets dereferenced; then you can reactivate the commented out


<Prev in Thread] Current Thread [Next in Thread>