* sysdeps/mips/dl-machine.h: Always use $25 as jump register.
authorAndreas Jaeger <aj@suse.de>
Sun, 18 Jun 2000 17:20:01 +0000 (17:20 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 18 Jun 2000 17:20:01 +0000 (17:20 +0000)
Patch by Ralf Baechle <ralf@uni-koblenz.de>.

sysdeps/mips/dl-machine.h

index 322add2..f08afa9 100644 (file)
@@ -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"\
 );