]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/alpha/dl-machine.h
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[thirdparty/glibc.git] / sysdeps / alpha / dl-machine.h
index 29c9a1dd1290befb17674374e167d76d0157ea17..f23efe7fcb9721cb20666a88bbf7c49ed6524825 100644 (file)
@@ -307,10 +307,8 @@ _dl_runtime_resolve:
        /* Set up the arguments for _dl_runtime_resolve. */
        /* $16 = link_map out of plt0 */
        ldq     $16, 8($27)
-       /* $17 = (($28 - 4) - ($27 + 16)) / 12 * sizeof(Elf_Rela) */
-       subq    $28, $27, $28
-       subq    $28, 20, $28
-       addq    $28, $28, $17
+       /* $17 = offset of reloc entry */
+       mov     $28, $17
        /* Do the fixup */
        bsr     $26, fixup..ng
        /* Move the destination address to a safe place.  */