Honour LD_HWCAP_MASK in ldconfig

Ulrich Drepper drepper@redhat.com
Tue Jul 17 11:12:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> following your suggestions, here is a patch for ldconfig.  Now
> ldconfig looks into directories specified by LD_HWCAP_MASK.

Good.

> The only question I have is whether LD_HWCAP_MASK should override
> HWCAP_IMPORTANT (as it does currently) or if we should 'or' them.

It should IMO behave just like ld.so.  And there LD_HWCAP_MASK
overwrites HWCAP_IMPORTANT.  This gives the user all the flexibility.

> Ok to commit?

I'll do it now.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list