[llvm-bugs] [Bug 34831] New: Allow to select the segment and offset of the stack canary
llvm-bugs at lists.llvm.org
Wed Oct 4 11:09:26 PDT 2017
Bug ID: 34831
Summary: Allow to select the segment and offset of the stack
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: thgarnie at google.com
CC: llvm-bugs at lists.llvm.org
Mirror the behaviour from gcc:
The Linux and Zircon/Magenta kernel is moving to PIE code generation on x86. It
means using -fPIE and removing -mcmodel=kernel. The problem is that
-mcmodel=kernel is used to switch the TLS segment from fs to gs (for stack
cookie or stack-guard on clang).
Gcc went for this format and using the same would be useful:
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs