• R
    alpha-linux-user: Fix sigprocmask. · a5b3b13b
    Richard Henderson 提交于
    Alpha passes oldset by value in a register, and returns the newset
    as the return value; as compared to the standard implementation in
    which both are passed by reference.  This requires being able to
    distinguish negative return values that are not errors.  Do this in
    the same way as the Alpha Linux kernel, by storing a zero in V0 in
    the implementation of the syscall.
    
    At the same time, fix a think-o in the regular sigprocmask path in
    which we passed the target, rather than the host, HOW value.
    Signed-off-by: NRichard Henderson <rth@twiddle.net>
    Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
    a5b3b13b
syscall.c 224.5 KB