Darren J Moffat wrote:

> What we would like to be able to do is something like what we have in 
> userland with $HWCAP, for example:
>     
>     /kernel/crypto/aes/aes_hwcap1
>     /kernel/crypto/aes/aes_hwcap2 [VIA_C7]
>     /kernel/crypto/rsa/rsa_hwcap1
>     /kernel/crypto/rsa/rsa_hwcap2 [SSE MMX CMOV SEP FPU]
> 
> Would this be possible to have implemented with krtld ?  Or is there a 
> better/existing way to provide $HWCAP like functionality for kernel 
> modules ?

tools-linking at opensolaris.org probably isn't the right alias for kernel
requests.  Even though krtld is a link-editor, it falls outside the realm
of the link-editors (ld(1) and ld.so.1(1)) we discuss on this alias.
krtld was designed, and has been maintained with different rules and goals
that the user-land components.

Having said that, I'm not sure what alias would be better for your request.

Sorry.

-- 

Rod.

Reply via email to