On 17 January 2014 16:07, Will Deacon [off-list ref] wrote:
Hi Ard,
On Fri, Jan 17, 2014 at 09:23:07AM +0000, Ard Biesheuvel wrote:
quoted
This enables AT_HWCAP2 for ARM. The generic support for this
new ELF auxv entry was added in commit 2171364d1a9 (powerpc:
Add HWCAP2 aux entry)
Does this require a corresponding change in libc so that the entry is
actually used by the dynamic linker?
The auxv entry itself is already wired up [this includes getauxval()]
https://sourceware.org/git/?p=glibc.git;a=commit;h=1ae8bfe07c1a
The only thing that is lacking is a way to hook up ifunc relocation,
as the current prototype passes a single 32-bit quantity.
So either we change the prototype to (hwcap, hwcap2) or we need to
rely on getauxval() in ifunc selectors if they need to inspect hwcap2
--
Ard.