public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: binutils@sourceware.org, patches@linaro.org,
	richard.sandiford@linaro.org
Subject: Re: [6/6] Main ARM STT_GNU_IFUNC patch
Date: Fri, 04 Mar 2011 16:53:00 -0000	[thread overview]
Message-ID: <AANLkTin2q9xN0V24j=cczN5J7rnqx9hM1qsAZz+Rzdp+@mail.gmail.com> (raw)
In-Reply-To: <g4r5amu9rj.fsf@linaro.org>

On Fri, Mar 4, 2011 at 8:32 AM, Richard Sandiford
<richard.sandiford@linaro.org> wrote:
> This is the main STT_GNU_IFUNC patch.  I'll try not to write too much
> about it because the explanations ought to be in the code.  A few
> points though:
>
> - The main question was how to record PLT information for local
>  symbools.  One way (used by x86 and x86_64) is to have a fake hash
>  table entry.  Another (used by PPC) is to put the PLT information in
>  the local symbol information.  I tried both ways, but in the end I
>  went for the latter.  It seemed strange to have a hash table entry
>  without a symbol name (which is after all the hash key), so I wasn't
>  happy about having to add !root.root.string tests when using the
>  former approach.  It also seemed to make things more complicated
>  overall.
>

I used fake hash table to handle complex things.  You
may want to take a look at all x86 IFUNC linker tests and
adopt them for ARM.


-- 
H.J.

  reply	other threads:[~2011-03-04 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 16:32 Richard Sandiford
2011-03-04 16:53 ` H.J. Lu [this message]
2011-03-04 17:16   ` Richard Sandiford
2011-03-14 14:27 ` Nick Clifton

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='AANLkTin2q9xN0V24j=cczN5J7rnqx9hM1qsAZz+Rzdp+@mail.gmail.com' \
    --to=hjl.tools@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=patches@linaro.org \
    --cc=richard.sandiford@linaro.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).