diff options
author | Richard Henderson <rth@redhat.com> | 2004-03-13 05:29:45 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-03-13 05:29:45 +0000 |
commit | dacf785541dd3484fdcbdf2867657f6c4999f17b (patch) | |
tree | 51cf49492aadb1ace3dad888b02f211426706155 /sysdeps/unix/sysv/linux/alpha/select.S | |
parent | 841153fa02afb1e115bfc3dd504c2ee7354c1f56 (diff) | |
download | glibc-dacf785541dd3484fdcbdf2867657f6c4999f17b.tar.gz glibc-dacf785541dd3484fdcbdf2867657f6c4999f17b.tar.xz glibc-dacf785541dd3484fdcbdf2867657f6c4999f17b.zip |
* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate oldvalue from CENABLE to CDISABLE.
2004-03-12 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate oldvalue from CENABLE to CDISABLE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/select.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/select.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/select.S b/sysdeps/unix/sysv/linux/alpha/select.S index 4a0594cbe9..458cda9246 100644 --- a/sysdeps/unix/sysv/linux/alpha/select.S +++ b/sysdeps/unix/sysv/linux/alpha/select.S @@ -53,6 +53,8 @@ LEAF(SELECT, 64) jsr AT, (AT), _mcount .set at #endif + stq ra, 40(sp) + .mask 0x4000000, 40-64 .prologue 1 #ifdef CENABLE @@ -131,9 +133,9 @@ $do_cancel: stq a1, 16(sp) stq a2, 24(sp) stq a3, 32(sp) - stq ra, 40(sp) CENABLE + mov v0, ra ldl t0, __libc_missing_axp_tv64 bne t0, $do_cancel32 @@ -147,6 +149,8 @@ $do_cancel: ldi v0, SYS_ify(select) callsys + + mov ra, a0 bne a3, $cancel_err64 stq v0, 8(sp) @@ -184,6 +188,8 @@ $do_cancel32: 1: ldi v0, SYS_ify(osf_select) callsys + + mov ra, a0 bne a3, $cancel_error /* ... and bounce the remaining timeout back. */ |