[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overloaded shared-library functions on hppa-linux
From: |
Alan Modra |
Subject: |
Re: Overloaded shared-library functions on hppa-linux |
Date: |
Sat, 20 Apr 2002 14:28:06 +0930 |
User-agent: |
Mutt/1.3.25i |
On Fri, Apr 19, 2002 at 11:36:12PM -0400, John David Anglin wrote:
> > > Looks like I set up the .plt entries properly. Uh oh, hppa_type_of_stub
> > > looks decidedly dodgy. plt entries, but no stubs to use them. :-(
>
> One other thing I have noticed--the test whether an export stub can
> reach its target seems too pessimistic on a PA2.0 machine. The test
> is:
>
> if (sym_value - 8 + 0x40000 >= 0x80000)
>
> Maybe we need to add a flag "has_22bit_branch" to improve this?
It's certainly easy enough to do, and I've just done so in my local
tree.
--
Alan Modra
IBM OzLabs - Linux Technology Centre