summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-08-11 18:41:18 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-08-11 18:41:18 +0000
commit7ae1406576732e93c719d29fc612ad481d1b9acb (patch)
tree418f854daf518c2dfbea4d539e42737e8ed7ee1e /libexec/ld.so/loader.c
parentcf12fd91c3ab31fc23c40794cea2a00487bda01e (diff)
The parameter dynp was never used, rather than pass in a dummy on most
archs and a nasty calcuation on others, remove the parameter.
Diffstat (limited to 'libexec/ld.so/loader.c')
-rw-r--r--libexec/ld.so/loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c
index 333a720625c..9fba86b56a2 100644
--- a/libexec/ld.so/loader.c
+++ b/libexec/ld.so/loader.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loader.c,v 1.45 2002/08/11 16:51:04 drahn Exp $ */
+/* $OpenBSD: loader.c,v 1.46 2002/08/11 18:41:17 drahn Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -124,13 +124,13 @@ _dl_dopreload(paths)
* to do is to dig out all information we need to accomplish our task.
*/
unsigned long
-_dl_boot(const char **argv, char **envp, const long loff,
- Elf_Dyn *dynp, long *dl_data)
+_dl_boot(const char **argv, char **envp, const long loff, long *dl_data)
{
struct elf_object *exe_obj; /* Pointer to executable object */
struct elf_object *dyn_obj; /* Pointer to executable object */
struct r_debug **map_link; /* Where to put pointer for gdb */
struct r_debug *debug_map;
+ Elf_Dyn *dynp;
elf_object_t *dynobj;
Elf_Phdr *phdp;
char *us = "";