summaryrefslogtreecommitdiff
path: root/libexec/ld.so/resolve.h
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2008-05-05 02:29:03 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2008-05-05 02:29:03 +0000
commitad4c4a19f3244639fc47e7c3f573d916bb887d76 (patch)
tree7d146f91b712efe1f36bdc997c66c8517d8dbe06 /libexec/ld.so/resolve.h
parentd99b64f3f763942797bb5d8c17c19e084487877d (diff)
Constantly fill in the program header pointer and count in elf_object_t
for all objects which simplifies phdr usage in a few places. "go for it" drahn@
Diffstat (limited to 'libexec/ld.so/resolve.h')
-rw-r--r--libexec/ld.so/resolve.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h
index ac27d79a274..29eb09f3dcc 100644
--- a/libexec/ld.so/resolve.h
+++ b/libexec/ld.so/resolve.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.h,v 1.56 2008/04/09 21:45:26 kurt Exp $ */
+/* $OpenBSD: resolve.h,v 1.57 2008/05/05 02:29:02 kurt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -152,7 +152,8 @@ void _dl_rt_resolve(void);
void _dl_add_object(elf_object_t *object);
elf_object_t *_dl_finalize_object(const char *objname, Elf_Dyn *dynp,
- const long *, const int objtype, const long lbase, const long obase);
+ Elf_Phdr *phdrp, int phdrc, const int objtype, const long lbase,
+ const long obase);
void _dl_remove_object(elf_object_t *object);
void _dl_cleanup_objects(void);