Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
To: axp-list@redhat.com
Subject: Re: BUG: probs with resolving functions in shared library
Date: Mon, 10 Aug 1998 10:52:07 -0700	[thread overview]
Message-ID: <19980810105207.B5898@dot.cygnus.com> (raw)
In-Reply-To: <yv41zqog7d3.fsf@linux-axp.applix.com>; from Eric Ding on Mon, Aug 10, 1998 at 11:54:32AM -0400

On Mon, Aug 10, 1998 at 11:54:32AM -0400, Eric Ding wrote:
> Is this patch broken?  It appears that h->root.plt.offset ought to instead
> by h->root.plt_offset.  I'm patching against binutils-2.9.1.0.4.

Ah yes.  The problem being that the patch was not generated against
binutils 2.9.1, but rather current sources. 

There is another problem as well that affects static linking.  Use
the following definition instead of the one in the patch.

#define alpha_elf_dynamic_symbol_p(h, info)                             \
  ((((info)->shared && !(info)->symbolic)                               \
    || (((h)->elf_link_hash_flags                                       \
         & (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR))     \
        == (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR))     \
    || (h)->root.type == bfd_link_hash_undefweak                        \
    || (h)->root.type == bfd_link_hash_defweak)                         \
   && (h)->dynindx != -1)


r~


  reply	other threads:[~1998-08-10 17:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-05 16:16 BUG: probs with resolving functions in shared library Eric Ding
1998-08-08 22:29 ` Richard Henderson
1998-08-10 15:54   ` Eric Ding
1998-08-10 17:52     ` Richard Henderson [this message]
1998-08-10 19:51       ` Eric Ding
1998-08-12 17:07   ` Eric Ding
1998-08-12 17:31     ` Applix? Port? (was re: BUG...) Keith Baker
1998-08-12 21:08       ` Eric Ding
  -- strict thread matches above, loose matches on Subject: below --
1998-08-05 22:48 BUG: probs with resolving functions in shared library Quant-X Alpha Linux Support
1998-08-06  2:38 ` Eric Ding
1998-08-06 12:59   ` Quant-X Alpha Linux Support
1998-08-06 16:30     ` Eric Ding
1998-08-06 21:24       ` Quant-X Alpha Linux Support
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox