Thread (11 messages) flat view 11 messages, 3 authors, 2014-02-19

[PATCH v2 resend 1/5] ARM: add support for AT_HWCAP2 ELF auxv entry

From: Ard Biesheuvel <hidden>
Date: 2014-01-17 15:26:54
Also in: lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help