summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-01-02 12:16:36 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-01-02 12:16:36 +0000
commit4f326cf2825008ca1b36472028d1020626c5fec8 (patch)
tree6b2d9fff4f220ef42b68697b08c8035a41bc8439 /libexec/ld.so/loader.c
parentc687cfed448255b6460411891ac062c4d070679f (diff)
Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.
ok miod@, deraadt@, jsing@
Diffstat (limited to 'libexec/ld.so/loader.c')
-rw-r--r--libexec/ld.so/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c
index f64f12b3daa..1b577effa47 100644
--- a/libexec/ld.so/loader.c
+++ b/libexec/ld.so/loader.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loader.c,v 1.117 2009/02/04 19:44:51 kettenis Exp $ */
+/* $OpenBSD: loader.c,v 1.118 2010/01/02 12:16:35 kettenis Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -776,7 +776,7 @@ _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynamicp)
}
ra = (Elf_Addr *)(rp->r_offset + loff);
- RELOC_RELA(rp, sp, ra, loff);
+ RELOC_RELA(rp, sp, ra, loff, dynld.dyn.pltgot);
rp++;
}
}