[PATCH][aarch64] Fix hpwcap argument passed to ifunc resolvers

Steve Ellcey sellcey@cavium.com
Thu Aug 31 16:12:00 GMT 2017


On Thu, 2017-08-31 at 16:19 +0100, Szabolcs Nagy wrote:
> 
> i'm not yet convinced that LD_HWCAP_MASK should be
> applied to ifunc resolvers: glibc might be interested
> in different hwcap flags than external users and the
> important hwcaps mask has other effect in glibc that
> i need to review.

Personally, I like the idea that LD_HWCAP_MASK can affect ifunc
resolvers.  It gives users a single method to turn off some hardware
capability across all libraries.  I can see where finer grain control
might also be useful but I think that in general we are going to have
situations where a particular hardware capability is just not working
the way it should and so we want to turn off its use everywhere in an
executable.

> please do the type change and the masking in separate
> patches (the libatomic change should work without masking
> it's just not possible to opt out using an envvar).

OK, I have sent this off in a seperate thread.

https://sourceware.org/ml/libc-alpha/2017-08/msg01355.html

Steve Ellcey
sellcey@cavium.com



More information about the Libc-alpha mailing list