summaryrefslogtreecommitdiff
path: root/gnu/libexec/ld.so/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/libexec/ld.so/config.h')
-rw-r--r--gnu/libexec/ld.so/config.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/gnu/libexec/ld.so/config.h b/gnu/libexec/ld.so/config.h
deleted file mode 100644
index c75c9c292ce..00000000000
--- a/gnu/libexec/ld.so/config.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifdef DEBUG
-# define LDSO_IMAGE "../ld-so/ld.so"
-# define LDSO_CONF "../util/ld.so.conf"
-# define LDSO_CACHE "../util/ld.so.cache"
-#else
-# define LDSO_IMAGE "/lib/ld.so"
-# define LDSO_CONF "/etc/ld.so.conf"
-# define LDSO_CACHE "/etc/ld.so.cache"
-#endif
-
-#define LDD_ARGV0 "__LDD_ARGV0"
-#define DIR_SEP ":, \t\n"
-#define MAX_DIRS 32
-
-#define VERSION "1.0"
-
-typedef void (*loadptr)(int func, ...);
-typedef void (*callbackptr)(int ver, int nlibs, char **libs,
- int nmods, char **mods);
-
-#define CALLBACK_VER 1
-
-#define LIB_DLL 0
-#define LIB_ELF 1
-
-#define FUNC_VERS 0
-#define FUNC_LDD 1
-#define FUNC_LINK 2
-#define FUNC_LINK_AND_CALLBACK 3
-
-#define LDSO_CACHE_MAGIC "ld.so-"
-#define LDSO_CACHE_MAGIC_LEN (sizeof LDSO_CACHE_MAGIC -1)
-#define LDSO_CACHE_VER "1.7.0"
-#define LDSO_CACHE_VER_LEN (sizeof LDSO_CACHE_VER -1)
-
-typedef struct {
- char magic [LDSO_CACHE_MAGIC_LEN];
- char version [LDSO_CACHE_VER_LEN];
- int nlibs;
-} header_t;
-
-typedef struct {
- int flags;
- int sooffset;
- int liboffset;
-} libentry_t;