aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-12 01:06:30 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-12 01:06:30 +0000
commitb874af999547ee4e7688fc07710786131eef7d1b (patch)
treed80ad2da9cb2dbca21492697f7fe90ad12890a4a /sysdeps/unix
parent32a589b1ea1365c8651b0692d0350403fde7b6ff (diff)
downloadglibc-b874af999547ee4e7688fc07710786131eef7d1b.tar
glibc-b874af999547ee4e7688fc07710786131eef7d1b.tar.gz
glibc-b874af999547ee4e7688fc07710786131eef7d1b.tar.bz2
glibc-b874af999547ee4e7688fc07710786131eef7d1b.zip
Update.
2003-03-11 Ralf Baechle <ralf@linux-mips.org> * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal instead of jalr to invoke subroutine so restoring the $gp register will work properly.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/mips/clone.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/clone.S b/sysdeps/unix/sysv/linux/mips/clone.S
index 1e029687cf..eba4ad9c3d 100644
--- a/sysdeps/unix/sysv/linux/mips/clone.S
+++ b/sysdeps/unix/sysv/linux/mips/clone.S
@@ -1,6 +1,6 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by Ralf Baechle <ralf@gnu.ai.mit.edu>, 1996.
+ Contributed by Ralf Baechle <ralf@linux-mips.org>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -93,7 +93,7 @@ ENTRY(__thread_start)
lw a0,4(sp) /* Argument pointer. */
/* Call the user's function. */
- jalr t9
+ jal t9
/* Call _exit rather than doing it inline for breakpoint purposes. */
move a0,v0