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

Carlos O'Donell carlos@redhat.com
Fri Sep 1 18:56:00 GMT 2017


On 09/01/2017 12:30 PM, Steve Ellcey wrote:
> I think I found my problem,  tunable_is_name returns true if it matches
> and false if it does not but the use of it
> in sysdeps/unix/sysv/linux/aarch64/cpu-features.c is:
> 
> if (tunable_is_name (mcpu, cpu_list[i].name) == 0)
> 
> It should just be:
> 
> if (tunable_is_name (mcpu, cpu_list[i].name))
> 
> I will send a patch for this once I have tested it.
Thanks. This code is quite new. I expect this was just an oversight of
using the new API.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list