• R
    fix possible clobbering of syscall return values on mips · 25748db3
    Rich Felker 提交于
    depending on the compiler's interpretation of __asm__ register names
    for register class objects, it may be possible for the return value in
    r2 to be clobbered by the function call to __stat_fix. I have not
    observed any such breakage in normal builds and suspect it only
    happens with -O0 or other unusual build options, but since there's an
    ambiguity as to the semantics of this feature, it's best to use an
    explicit temporary to avoid the issue.
    
    based on reporting and patch by Eugene.
    25748db3
syscall_arch.h 4.4 KB