Description[MIPS] Fix syscall clone implementation
After compiling lss with Clang/LLVM, two issues came up:
a) clang complains about named register __r7 being listed both as input
argument and input-output argument, and
b) clang does weird things if input argument is not actually initialized
before asm block.
This change fixes those two issues by removing __r7 from the input argument
list and by moving __v0 initialization out of asm block.
Patch Set 1 #
Messages
Total messages: 11 (2 generated)
|