[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.

Review URL: https://codereview.chromium.org/913723002/


git-svn-id: http://linux-syscall-support.googlecode.com/svn/trunk/lss@34 829466d3-f3f5-3ae4-62ad-de35cf9bba21
1 file changed
tree: 1987ea19443b30c56658f5406786155eb2e52e87
  1. linux_syscall_support.h