diff options
author | Xerxes Ranby <xerxes@zafena.se> | 2010-03-02 13:26:18 +0000 |
---|---|---|
committer | Xerxes Ranby <xerxes@zafena.se> | 2010-03-02 13:26:18 +0000 |
commit | b1baf6583e0cfe681eb77d1eef87946c797f4fd1 (patch) | |
tree | 1f0e0893ba9757f69ad5785a784b5573f986b340 /llvm/lib/Target/ARM/ARMJITInfo.cpp | |
parent | d90d594e46ffeb646aac25cc37968384159ab8a2 (diff) | |
download | bcm5719-llvm-b1baf6583e0cfe681eb77d1eef87946c797f4fd1.tar.gz bcm5719-llvm-b1baf6583e0cfe681eb77d1eef87946c797f4fd1.zip |
Unbreak llvm-arm-linux buildbot and fix PR5309.
llvm-svn: 97564
Diffstat (limited to 'llvm/lib/Target/ARM/ARMJITInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMJITInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMJITInfo.cpp b/llvm/lib/Target/ARM/ARMJITInfo.cpp index 1aa1d47c1e1..10e22b10368 100644 --- a/llvm/lib/Target/ARM/ARMJITInfo.cpp +++ b/llvm/lib/Target/ARM/ARMJITInfo.cpp @@ -60,7 +60,7 @@ extern "C" { // whole compilation callback doesn't exist as far as the caller is // concerned, so we can't just preserve the callee saved regs. "stmdb sp!, {r0, r1, r2, r3, lr}\n" -#ifdef __VFP_FP__ +#if defined(__VFP_FP__) && !defined(__SOFTFP__)) "fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" #endif // The LR contains the address of the stub function on entry. @@ -83,7 +83,7 @@ extern "C" { // 6-20 | D0..D7 | Saved VFP registers // +--------+ // -#ifdef __VFP_FP__ +#if defined(__VFP_FP__) && !defined(__SOFTFP__)) // Restore VFP caller-saved registers. "fldmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" #endif |