* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate

oldvalue from CENABLE to CDISABLE.
This commit is contained in:
Richard Henderson 2004-03-13 05:29:24 +00:00
parent 24a4e2b0c9
commit a5e72ef81a

View File

@ -63,9 +63,14 @@ __LABEL($pseudo_cancel) \
SAVE_ARGS_##args; \
CENABLE; \
LOAD_ARGS_##args; \
/* Save the CENABLE return value in RA. That register \
is preserved across syscall and the real return \
address is saved on the stack. */ \
mov v0, ra; \
lda v0, SYS_ify(syscall_name); \
call_pal PAL_callsys; \
stq v0, 8(sp); \
mov ra, a0; \
bne a3, $multi_error; \
CDISABLE; \
ldq ra, 0(sp); \