mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Unbreak llvm-arm-linux buildbot and fix PR5309.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97564 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -60,7 +60,7 @@ extern "C" {
|
|||||||
// whole compilation callback doesn't exist as far as the caller is
|
// whole compilation callback doesn't exist as far as the caller is
|
||||||
// concerned, so we can't just preserve the callee saved regs.
|
// concerned, so we can't just preserve the callee saved regs.
|
||||||
"stmdb sp!, {r0, r1, r2, r3, lr}\n"
|
"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"
|
"fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||||
#endif
|
#endif
|
||||||
// The LR contains the address of the stub function on entry.
|
// The LR contains the address of the stub function on entry.
|
||||||
@@ -83,7 +83,7 @@ extern "C" {
|
|||||||
// 6-20 | D0..D7 | Saved VFP registers
|
// 6-20 | D0..D7 | Saved VFP registers
|
||||||
// +--------+
|
// +--------+
|
||||||
//
|
//
|
||||||
#ifdef __VFP_FP__
|
#if defined(__VFP_FP__) && !defined(__SOFTFP__))
|
||||||
// Restore VFP caller-saved registers.
|
// Restore VFP caller-saved registers.
|
||||||
"fldmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
"fldmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user