This is the mail archive of the libc-alpha@sources.redhat.com 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] Fix hwcap handling in dl


GOTO Masanori wrote:

> Currently, hwcap check routine uses below code:
> 
>      if (hwcap 
> 	 && ((lib->hwcap & *hwcap & ~_DL_HWCAP_PLATFORM) > *hwcap))
> 
> But this condition does not always fulfill, because left equation does
> not exceed by right equation.  My fix is if lib->hwcap has a value and
> it does not match the current hwcap, then continue and use an another
> library.

>From your desription I don't get what you think is the problem

Please provide a concrete example.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------


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