diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2014-04-03 08:45:16 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2014-04-03 08:45:16 +0000 |
commit | 92e0fc0484440984358b048b8f05177509ce629a (patch) | |
tree | 5c1944b2eee3655dc01fbf12f1525490c9ca718f /llvm/lib/Target/ARM/ARMFrameLowering.cpp | |
parent | da97149f568a84982013048e2cb639c06b20e164 (diff) | |
download | llvm-92e0fc0484440984358b048b8f05177509ce629a.zip llvm-92e0fc0484440984358b048b8f05177509ce629a.tar.gz llvm-92e0fc0484440984358b048b8f05177509ce629a.tar.bz2 |
ARM: Use __STACK_LIMIT symbol for segmented stacks
We cannot use STACK_LIMIT, as it is not reserved for the compiler
by the C spec.
llvm-svn: 205516
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFrameLowering.cpp b/llvm/lib/Target/ARM/ARMFrameLowering.cpp index c685d3e..36ecfca 100644 --- a/llvm/lib/Target/ARM/ARMFrameLowering.cpp +++ b/llvm/lib/Target/ARM/ARMFrameLowering.cpp @@ -1783,7 +1783,7 @@ void ARMFrameLowering::adjustForSegmentedStacks(MachineFunction &MF) const { if (Thumb && ST->isThumb1Only()) { unsigned PCLabelId = ARMFI->createPICLabelUId(); ARMConstantPoolValue *NewCPV = ARMConstantPoolSymbol::Create( - MF.getFunction()->getContext(), "STACK_LIMIT", PCLabelId, 0); + MF.getFunction()->getContext(), "__STACK_LIMIT", PCLabelId, 0); MachineConstantPool *MCP = MF.getConstantPool(); unsigned CPI = MCP->getConstantPoolIndex(NewCPV, MF.getAlignment()); |