Re: [patch] Fixed shared library handling in solib-pa64.c

Randolph Chung
2008-08-06T13:06:26Z

On Tue, Aug 5, 2008 at 3:11 PM, John David Anglin
<dave@hiauly1.hia.nrc.ca> wrote:
> The change below fixes the problem referred to in the NEWS file regarding
> the hppa64-hp-hpux11* target. The problem was a NULL load map pointer was
> being passed in the dlgetmodinfo and dlgetname calls. This was causing
> pa64_target_read_memory() to return 0, and as a result the dlgetmodinfo
> call was failing.
>
> It's not entirely clear why the code to find the load map was failing
> but I believe it is because the dynamic loader had not initialized the
> map at the time the call to find the map was made.

I'm sure this worked at one point, but if we can rely on the OS
libraries to do the read it does seem like the right thing to do.

Please commit.

randolph