HomeFreeBSD

MFC r356327-r356328: mips: csu: fix compilation w/ LLVM

Description

MFC r356327-r356328: mips: csu: fix compilation w/ LLVM

r356327:
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.

r356328:
mips !o32: fix csu build

Details

Provenance
kevansAuthored on
Parents
rS356593: MFC r356279: libbe(3): promote dependent clones when destroying a BE
Branches
Unknown
Tags
Unknown