summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/clone.S
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-13 23:55:40 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-13 23:55:40 +0000
commit490a9ab75c787cf06cd43a1d4c5dfe74ff4a7907 (patch)
tree553375e9190076d7d574156024f875d657834577 /sysdeps/unix/sysv/linux/mips/clone.S
parent44a202c059d42b91585115ec5bb16a637b63e934 (diff)
Update.
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol versioning. 2000-04-13 Andreas Jaeger <aj@suse.de>
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/mips/clone.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/clone.S b/sysdeps/unix/sysv/linux/mips/clone.S
index 1bb5c29d3c..0398ba348e 100644
--- a/sysdeps/unix/sysv/linux/mips/clone.S
+++ b/sysdeps/unix/sysv/linux/mips/clone.S
@@ -86,12 +86,13 @@ error:
At this point we have s0=arg, s1=fn. */
-NESTED(__thread_start,FRAMESZ,sp)
+ENTRY(__thread_start)
/* cp is already loaded. */
+ .cprestore 16
/* The stackframe has been created on entry of clone(). */
/* Resort the arg for user's function. */
- move a0,0(sp) /* Function pointer. */
- move t9,4(sp) /* Argument pointer. */
+ lw t9,0(sp) /* Function pointer. */
+ lw a0,4(sp) /* Argument pointer. */
/* Call the user's function. */
jalr t9