[PATCH] Fix hwcap handling in dl

Ulrich Drepper drepper@redhat.com
Sun Feb 2 22:02:00 GMT 2003


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 `---------------------------



More information about the Libc-alpha mailing list