Option: Use GS instead of FS for TLS

svk via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 5 14:57:29 PDT 2017


I missed the second part.


Am 05.07.2017 um 23:38 schrieb svk:
> Hello,
>
> the attached patch introduces a -mtls-gs command line option for clang 
> for the x86_64 target.
> This option will force the usage of the GS instead of the FS register 
> for TLS references and
> stack canary references.
> This is particularly useful for low-level kernel-side development.
>
> Best regards,
> Sven Konietzny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-tls-gs.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170705/85e1eac8/attachment.bin>


More information about the cfe-commits mailing list