[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debootstrapping m68k-coldfire



On Tue, 4 Mar 2008, Wouter Verhelst wrote:

> - AIUI, with a working TLS implementation it is possible to compile an
>   optimized library, and store it under /lib/tls/<something> so that the
>   dynamic linker will pick it up depending on the subarchitecture you're
>   running on. This will not make the optimization problem go away, but
>   will at least mitigate it.

I don't think you need TLS for this; you should be able to do this for 
whatever hardware capabilities the kernel communicates to userspace and 
libc lists in HWCAP_IMPORTANT, "tls" just being something extra that's 
also treated much like such a capability.

-- 
Joseph S. Myers
joseph@codesourcery.com


Reply to: