Re: Option: Use GS instead of FS for TLS

2017-07-05 Thread svk via cfe-commits
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 pa

Option: Use GS instead of FS for TLS

2017-07-05 Thread svk via cfe-commits
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 re