summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-09-11 18:31:55 +0000
committerdfr <dfr@FreeBSD.org>1998-09-11 18:31:55 +0000
commite7ebeff9f3d69a9a9a23261f2181c18aeda4ce1b (patch)
tree1cd815b903979c040dd36b8476518e76d5274bb3 /libexec
parent206d048a70f68604b135903872db6b08a8523337 (diff)
downloadFreeBSD-src-e7ebeff9f3d69a9a9a23261f2181c18aeda4ce1b.zip
FreeBSD-src-e7ebeff9f3d69a9a9a23261f2181c18aeda4ce1b.tar.gz
Update to the binutils-2.9.1 PLT format.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/alpha/rtld_start.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/rtld-elf/alpha/rtld_start.S b/libexec/rtld-elf/alpha/rtld_start.S
index e93829f..8c665d6 100644
--- a/libexec/rtld-elf/alpha/rtld_start.S
+++ b/libexec/rtld-elf/alpha/rtld_start.S
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: rtld_start.S,v 1.1 1998/09/04 19:03:57 dfr Exp $ */
/* From: NetBSD: rtld_start.S,v 1.1 1996/12/16 20:38:09 cgd Exp */
/*
@@ -129,8 +129,10 @@ _rtld_bind_start:
$100: ldgp gp, 0(gp)
.prologue 1
/* Set up the arguments for _rtld_bind. */
+ subq at_reg, t12, a1 /* calculate reloc offset */
ldq a0, 8(t12) /* object structure */
- mov at_reg, a1 /* offset of reloc entry */
+ subq a1, 20, a1 /* = (at - t11 - 20) / 12 * 24 */
+ addq a1, a1, a1
CALL(_rtld_bind)
/* Move the destination address into position. */
OpenPOWER on IntegriCloud