--- Comment #11 from UroŇ° Bizjak <ubizjak at gmail dot com> ---
(In reply to H. Peter Anvin from comment #8)
> How about simply letting the user enter an assembly expression of neither of
> the standard ABI options are suitable?  Also, shouldn't the user space
> default on 64 bits be an offset into the TLS using %fs, or is there
> something magic about how the kernel is compiled that changes it to %gs:?

-mcmodel=kernel switches TLS reg to %gs.

You can use mstack-protector-guard-reg=%gs with other code models.

Reply via email to