HomeFreeBSD

mips: csu: fix compilation w/ LLVM

Description

mips: csu: fix compilation w/ LLVM

GCC issues the warning, but with LLVM it is fatal- no matching .cprestore
with .cpload. Reserve some place on the stack and and add the proper
.cprestore to pair it with.

nop added in the !o32 branch to fill out delay slot instruction, just in
case.

Reviewed by: arichardson
Differential Revision: https://reviews.freebsd.org/D21697

Details

Provenance
kevansAuthored on
Reviewer
arichardson
Differential Revision
D21697: Fix MIPS CSU compilation w/ LLVM
Parents
rS356326: Fix a page leak in the md(4) swap I/O path.
Branches
Unknown
Tags
Unknown