This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fix hwcap handling in dl
- From: Ulrich Drepper <drepper at redhat dot com>
- To: GOTO Masanori <gotom at debian dot or dot jp>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 02 Feb 2003 14:02:56 -0800
- Subject: Re: [PATCH] Fix hwcap handling in dl
- Organization: Red Hat, Inc.
- References: <80adhfd701.wl@oris.opensource.jp>
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 `---------------------------