diff options
| author | Roland McGrath <roland@gnu.org> | 2006-01-31 01:25:58 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 2006-01-31 01:25:58 +0000 |
| commit | 3fd1052d4b8ba54421cb1e3d85fb8a700df0509b (patch) | |
| tree | 6c66945e823f1ee60e50142bc56d495de16e3396 | |
| parent | ab2abd53195a48adc5bed338f3c825ca5d2505c4 (diff) | |
| download | glibc-3fd1052d4b8ba54421cb1e3d85fb8a700df0509b.tar.xz glibc-3fd1052d4b8ba54421cb1e3d85fb8a700df0509b.zip | |
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
N64.
| -rw-r--r-- | sysdeps/mips/dl-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index aa2cef83bc..c04609f9bc 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -266,13 +266,13 @@ do { \ " STRINGXP(PTR_ADDU) " $7, $7, " STRINGXP (PTRSIZE) " \n\ # Make sure the stack pointer is aligned for _dl_init_internal.\n\ and $2, $29, -2 * " STRINGXP(SZREG) "\n\ - " STRINGXP(PTR_S) " $29, -4($2)\n\ + " STRINGXP(PTR_S) " $29, -" STRINGXP(SZREG) "($2)\n\ " STRINGXP(PTR_SUBIU) " $29, $2, 32\n\ " STRINGXP(SAVE_GP(16)) "\n\ # Call the function to run the initializers.\n\ jal _dl_init_internal\n\ # Restore the stack pointer for _start.\n\ - " STRINGXP(PTR_L) " $29, 28($29)\n\ + " STRINGXP(PTR_L) " $29, 32-" STRINGXP(SZREG) "($29)\n\ # Pass our finalizer function to the user in $2 as per ELF ABI.\n\ " STRINGXP(PTR_LA) " $2, _dl_fini\n\ # Jump to the user entry point.\n\ |
