This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]