From: "Carlos O'Donell" <carlos@redhat.com>
To: Will Newton <will.newton@linaro.org>, libc-ports@sourceware.org
Cc: Patch Tracking <patches@linaro.org>
Subject: Re: [PATCH] aarch64: Enable ifunc support.
Date: Tue, 26 Nov 2013 15:19:00 -0000 [thread overview]
Message-ID: <5294BB3E.70406@redhat.com> (raw)
In-Reply-To: <5294628E.30507@linaro.org>
On 11/26/2013 03:57 AM, Will Newton wrote:
>
> Add support for handling the R_AARCH64_IRELATIVE relocation and
> STT_GNU_IFUNC symbols to the aarch64 port.
>
> ports/ChangeLog.aarch64:
>
> 2013-11-25 Will Newton <will.newton@linaro.org>
>
> * sysdeps/aarch64/dl-irel.h: Include ldsodefs.h.
> (ELF_MACHINE_IRELA): Define. (elf_ifunc_invoke): Pass
> hwcap to ifunc resolver function. (elf_irela): New function.
> * sysdeps/aarch64/dl-machine.h: Include dl-irel.h.
> (elf_machine_rela) Handle STT_GNU_IFUNC symbols and
> R_AARCH64_IRELATIVE relocations. (elf_machine_lazy_rel):
> Handle R_AARCH64_IRELATIVE relocations.
You don't appear to fix elf_ifunc_invoke to pass dl_hwcap to the
resolver which will need this to detect the different kinds of
hardware?
Please see the 32-bit ARM port.
Cheers,
Carlos.
next prev parent reply other threads:[~2013-11-26 15:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 11:14 Will Newton
2013-11-26 15:05 ` Marcus Shawcroft
2013-11-26 15:08 ` Will Newton
2013-11-26 15:17 ` Marcus Shawcroft
2013-11-26 15:19 ` Carlos O'Donell [this message]
2013-11-26 15:24 ` Carlos O'Donell
2013-11-26 15:41 ` Carlos O'Donell
2013-11-26 16:21 ` Will Newton
2013-11-26 16:37 ` Carlos O'Donell
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=5294BB3E.70406@redhat.com \
--to=carlos@redhat.com \
--cc=libc-ports@sourceware.org \
--cc=patches@linaro.org \
--cc=will.newton@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).