summaryrefslogtreecommitdiff
path: root/ldso/libdl/dlib.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-17 04:00:27 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-17 04:00:27 +0000
commit523e75677a8d2aff97136429a1171fc1236cff1e (patch)
tree44252de72c254e27e2460869560409d73b8fc1eb /ldso/libdl/dlib.c
parented2eaae820570da6428c6141f7eb4a6d8011ddda (diff)
Turn off USE_CACHE by default (so ldconfig, by default, isn't
needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
Diffstat (limited to 'ldso/libdl/dlib.c')
-rw-r--r--ldso/libdl/dlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 50b9ff601..2b6000472 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -454,11 +454,11 @@ const char *_dlerror()
}
/* Generate the correct symbols that we need. */
-weak_alias(dlopen, _dlopen);
-weak_alias(dlerror, _dlerror);
-weak_alias(dlclose, _dlclose);
-weak_alias(dlsym, _dlsym);
-weak_alias(dladdr, _dladdr);
+weak_alias(_dlopen, dlopen);
+weak_alias(_dlerror, dlerror);
+weak_alias(_dlclose, dlclose);
+weak_alias(_dlsym, dlsym);
+weak_alias(_dladdr, dladdr);
/* This is a real hack. We need access to the dynamic linker, but we
also need to make it possible to link against this library without any