public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: "H. J. Lu" <hjl@lucon.org>
Cc: binutils@sources.redhat.com
Subject: Re: RFC: Fix ia64 visibility
Date: Wed, 07 May 2003 23:19:00 -0000	[thread overview]
Message-ID: <20030507231715.GQ27351@redhat.com> (raw)
In-Reply-To: <20030507161508.A32635@lucon.org>

On Wed, May 07, 2003 at 04:15:08PM -0700, H. J. Lu wrote:
> It is an optimization for calling directly to protected functions. In
> that case, we don't need PLT nor function descriptors. It is the same
> as calling an internal function.

Certainly.

> But we can't do it for function
> descriptors of protected functions. That check is based on relocation
> type, not just symbol alone.

Because ld.so is going to allocate it, correct?

> Another way to do it is to pass reloction type to
> elfNN_ia64_dynamic_symbol_p so that it has enough info to do
> the right thing.

Eh.  I'd prefer a different function.  It can do little else
besides checking the reloc plus calling elfNN_ia64_dynamic_symbol_p.

> I can submit a new patch if it is preferred.

Please.


r~

  reply	other threads:[~2003-05-07 23:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 23:04 H. J. Lu
2003-05-07 18:12 ` Richard Henderson
2003-05-07 18:19   ` H. J. Lu
2003-05-07 22:32     ` Richard Henderson
2003-05-07 23:15       ` H. J. Lu
2003-05-07 23:19         ` Richard Henderson [this message]
2003-05-08  5:51           ` H. J. Lu
2003-05-08  8:04             ` Richard Henderson
2003-05-08 14:16               ` H. J. Lu
2003-05-07 23:19 ` Jim Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030507231715.GQ27351@redhat.com \
    --to=rth@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=hjl@lucon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).