summaryrefslogtreecommitdiff
path: root/libexec/ld.so/resolve.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-08-11 19:14:57 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-08-11 19:14:57 +0000
commit790e0511d8b6629c85ac959d63eac9fe4c7caacc (patch)
treea773d637df2fb3bf669f7ff2c16983fc3344e417 /libexec/ld.so/resolve.h
parentfec58ae8c4bc4002d602ce897ee4f88767e23679 (diff)
add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt
Diffstat (limited to 'libexec/ld.so/resolve.h')
-rw-r--r--libexec/ld.so/resolve.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h
index 1f949b7e7e3..32bc4fa06ba 100644
--- a/libexec/ld.so/resolve.h
+++ b/libexec/ld.so/resolve.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.h,v 1.31 2004/07/05 00:47:40 kjell Exp $ */
+/* $OpenBSD: resolve.h,v 1.32 2004/08/11 19:14:56 drahn Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -213,6 +213,8 @@ extern char *_dl_debug;
#define DL_NO_SYMBOL 6
#define DL_INVALID_HANDLE 7
#define DL_INVALID_CTL 8
+#define DL_NO_OBJECT 9
+#define DL_CANT_FIND_OBJ 10
#define ELF_ROUND(x,malign) (((x) + (malign)-1) & ~((malign)-1))
#define ELF_TRUNC(x,malign) ((x) & ~((malign)-1))