On 05/13/2011 06:31 PM, Xinliang David Li wrote:
> 1) add a new TLS model -ftls-model=none and make the kernel uses it. The
> model would simply force targetm.have_tls to false.
>
This is a good idea.
> 2) as Richi mentioned, gcov-io and libgcov changes then can move to the
> kernel, and GCC needs no change at all here.
In fact -- reuse gcc code profiling machinery for FDO is the KEY
objective in this effort
Ok, removing in_kernel_build is already fixing 99% of what is
undesirable with this patch IMO!
Paolo