Whee! __stxncpy works now.
The patch also fixes OSF1-compatibe readv/writev.
Ivan.
* The system call table.
*/
+#include <linux/config.h> /* CONFIG_OSF4_COMPAT */
#include <asm/unistd.h>
.data
stq_u t0, -8(a0) # U : save the current word
beq a2, $u_eoc # U :
- ldq_u t2, 0(a1) # U : Latency=3 load high word for next time
+ ldq_u t2, 8(a1) # U : Latency=3 load high word for next time
addq a1, 8, a1 # E :
extqh t2, a1, t0 # U : extract low bits (2 cycle stall)
addq a0, 8, a0 # .. e1 :
extql t2, a1, t1 # e0 : extract high bits for next time
beq a2, $u_eoc # .. e1 :
- ldq_u t2, 0(a1) # e0 : load high word for next time
+ ldq_u t2, 8(a1) # e0 : load high word for next time
addq a1, 8, a1 # .. e1 :
nop # e0 :
cmpbge zero, t2, t8 # e1 : test new word for eos (stall)