aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-06-18 17:20:01 +0000
committerAndreas Jaeger <aj@suse.de>2000-06-18 17:20:01 +0000
commitfeaff189768381cd8703665cd22411f6ba90bf2b (patch)
tree25e6c63acb6cc1cbb9e8ba35a4d4f29bab5c818c /sysdeps/mips
parent0d1cec93d5578d41e851de82eba97a48740281f1 (diff)
downloadglibc-feaff189768381cd8703665cd22411f6ba90bf2b.tar
glibc-feaff189768381cd8703665cd22411f6ba90bf2b.tar.gz
glibc-feaff189768381cd8703665cd22411f6ba90bf2b.tar.bz2
glibc-feaff189768381cd8703665cd22411f6ba90bf2b.zip
* sysdeps/mips/dl-machine.h: Always use $25 as jump register.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/dl-machine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index 322add2e08..f08afa9c7f 100644
--- a/sysdeps/mips/dl-machine.h
+++ b/sysdeps/mips/dl-machine.h
@@ -403,7 +403,8 @@ _dl_start_user:\n\
# Pass our finalizer function to the user in $2 as per ELF ABI.\n\
la $2, _dl_fini\n\
# Jump to the user entry point.\n\
- jr $17\n"\
+ move $25, $17\n\
+ jr $25\n"\
_RTLD_EPILOGUE(ENTRY_POINT)\
"\n.previous"\
);